1 2011-03-09 Tom Tromey <tromey@redhat.com>
3 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8 argument to gdb_continue_to_end.
9 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
10 argument to gdb_continue_to_end.
11 * gdb.cp/annota3.exp: Fix regex.
12 * gdb.cp/annota2.exp: Fix regex.
13 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
15 * gdb.base/call-signal-resume.exp: Revert earlier patch.
16 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
19 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
21 * gdb.server/ext-run.exp
22 (load new file without any gdbserver inferior): New test.
24 2011-03-07 Tom Tromey <tromey@redhat.com>
26 * Makefile.in (TAGS): Rewrite.
28 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
30 * gdb.trace/report.exp (12.1: trace report #1): New match for the
31 initial commands echo. New match for `Found trace'. Anchor all the
32 other matches. Anchor and match for `No trace frame found' the final
35 2011-03-07 Tom Tromey <tromey@redhat.com>
37 * Makefile.in (TAGS): New target.
39 2011-03-07 Tom Tromey <tromey@redhat.com>
41 * lib/opencl.exp (skip_opencl_tests): Update for exit message
43 * lib/mi-support.exp (mi_gdb_test): Update for exit message
45 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
47 (skip_altivec_tests): Update for exit message change.
48 (skip_vsx_tests): Likewise.
49 (gdb_continue_to_end): Likewise. Add 'command' argument.
50 * lib/cell.exp (skip_cell_tests): Update for exit message change.
51 * gdb.threads/tls.exp: Update for exit message change.
52 * gdb.threads/thread-unwindonsignal.exp: Use
54 * gdb.threads/step.exp (step_it): Update for exit message change.
55 (continue_all): Likewise.
56 * gdb.threads/print-threads.exp (test_all_threads): Update for
58 * gdb.threads/interrupted-hand-call.exp: Use
60 * gdb.threads/execl.exp: Use gdb_continue_to_end.
61 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
63 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
64 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
65 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
66 * gdb.cp/method.exp: Update for exit message change.
67 * gdb.cp/mb-templates.exp: Update for exit message change.
68 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
69 * gdb.cp/annota3.exp: Update for exit message change.
70 * gdb.cp/annota2.exp: Update for exit message change.
71 * gdb.cell/fork.exp: Use gdb_continue_to_end.
72 * gdb.base/term.exp: Update for exit message change.
73 * gdb.base/step-test.exp (test_i): Update for exit message change.
74 * gdb.base/sigstep.exp (advance): Update for exit message change.
76 * gdb.base/siginfo.exp: Update for exit message change.
77 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
78 * gdb.base/reread.exp: Use gdb_continue_to_end.
79 * gdb.base/langs.exp: Use gdb_continue_to_end.
80 * gdb.base/interrupt.exp: Update for exit message change.
81 * gdb.base/gdb1555.exp: Update for exit message change.
82 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
83 * gdb.base/ending-run.exp: Update for exit message change.
84 * gdb.base/chng-syms.exp: Update for exit message change.
85 * gdb.base/checkpoint.exp: Update for exit message change.
86 * gdb.base/catch-syscall.exp (check_for_program_end): Use
88 (test_catch_syscall_with_wrong_args): Likewise.
89 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
90 * gdb.base/break-interp.exp (test_ld): Update for exit message
92 * gdb.base/bang.exp: Update for exit message change.
93 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
94 (do_call_attach_tests): Likewise.
95 * gdb.base/a2-run.exp: Update for exit message change.
96 * gdb.arch/ppc-dfp.exp: Update for exit message change.
97 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
98 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
100 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
102 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
104 2011-03-03 Tom Tromey <tromey@redhat.com>
106 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
107 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
108 * gdb.hp/gdb.aCC/configure.ac: Remove.
109 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
110 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
111 * gdb.hp/gdb.base-hp/configure.ac: Remove.
112 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
113 * gdb.hp/gdb.compat/configure (Makefile): Remove.
114 * gdb.hp/gdb.compat/configure.ac: Remove.
115 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
116 * gdb.hp/gdb.defects/configure (Makefile): Remove.
117 * gdb.hp/gdb.defects/configure.ac: Remove.
118 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
119 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
120 * gdb.hp/gdb.objdbg/configure.ac: Remove.
121 * gdb.hp/configure.ac: Remove.
122 * gdb.hp/configure: Remove.
123 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
125 (Makefile): Remove rule.
126 * gdb.cell/configure.ac: Remove.
127 * gdb.cell/configure: Remove.
128 * gdb.stabs/Makefile.in (Makefile): Remove.
129 (distclean): Don't remove config.status or config.log.
130 * gdb.stabs/configure (Makefile): Remove.
131 * gdb.stabs/configure.ac: Remove.
132 * configure: Rebuild.
133 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
134 Remove stabs- and cell-specific logic. Test for existence of
135 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
136 subdirectories, gdb.cell, and and gdb.stabs.
137 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
139 2011-03-03 Joel Brobecker <brobecker@adacore.com>
141 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
144 2011-03-02 Joel Brobecker <brobecker@adacore.com>
146 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
147 gdb_test when running a test where we expected no output back.
149 2011-02-28 Michael Snyder <msnyder@vmware.com>
151 * gdb.cp/overload.cc: Change initializer value to integer.
153 2011-02-27 Michael Snyder <msnyder@vmware.com>
155 * gdb.multi/base.exp: Add test for remove-inferiors.
157 2011-02-26 Joel Brobecker <brobecker@adacore.com>
159 * gdb.python/py-frame.exp: Simplify the initialization phase
160 using prepare_for_testing.
162 2011-02-25 Michael Snyder <msnyder@vmware.com>
164 * gdb.multi/base.exp: Add tests for info inferiors with args.
166 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
168 * gdb.dwarf2/dw2-ranges.S: Rename to ...
169 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
170 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
171 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
172 asmfile3. Comment the STABS (#3) file compilation. Compile
173 everything through assembler. Provide KFAIL for symtab/12497.
174 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
175 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
176 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
177 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
179 2011-02-24 Michael Snyder <msnyder@vmware.com>
181 * gdb.base/break.exp: Add tests for delete breakpoints using
182 convenience variables and value history references.
184 2011-02-24 Michael Snyder <msnyder@vmware.com>
186 * gdb.base/break.exp: Remove debugging 'printf' accidentally
187 left behind in previous check-in.
189 2011-02-23 Michael Snyder <msnyder@vmware.com>
191 * gdb.base/break.exp: Add tests for "info break" with arguments.
192 * gdb.trace/infotrace.exp: Update patterns for error and help.
193 * gdb.base/completion.exp: Update pattern.
194 * gdb.base/ena-dis-br.exp: Update pattern.
195 * gdb.base/help.exp: Update patterns.
197 2011-02-23 Michael Snyder <msnyder@vmware.com>
199 * gdb.base/memattr.exp: New test.
200 * gdb.base/memattr.c: Test load for memattr.exp.
202 2011-02-22 Doug Evans <dje@google.com>
204 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
206 2011-02-22 Michael Snyder <msnyder@vmware.com>
208 * Makefile.in: Make more clean.
209 * gdb.ada/Makefile.in: Ditto.
210 * gdb.arch/Makefile.in: Ditto.
211 * gdb.asm/Makefile.in: Ditto.
212 * gdb.base/Makefile.in: Ditto.
213 * gdb.cp/Makefile.in: Ditto.
214 * gdb.dwarf2/Makefile.in: Ditto.
215 * gdb.java/Makefile.in: Ditto.
216 * gdb.mi/Makefile.in: Ditto.
217 * gdb.modula2/Makefile.in: Ditto.
218 * gdb.python/Makefile.in: Ditto.
219 * gdb.server/Makefile.in: Ditto.
220 * gdb.stabs/Makefile.in: Ditto.
221 * gdb.threads/Makefile.in: Ditto.
222 * gdb.trace/Makefile.in: Ditto.
224 2011-02-22 Michael Snyder <msnyder@vmware.com>
226 * gdb.threads/thread-find.exp: Add tests for bad input to
229 2011-02-22 Joel Brobecker <brobecker@adacore.com>
231 * gdb.python/py-breakpoint.exp: Fix the expected output of
232 one of the "maint info breakpoints" tests to accept the output
233 generated on platforms that do not have hardware watchpoints.
235 2011-02-22 Joel Brobecker <brobecker@adacore.com>
237 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
238 clean_restart. Be a little stricter in the expected output
239 for one of the tests. Fix a typo in one of the comments.
241 2011-02-22 Joel Brobecker <brobecker@adacore.com>
243 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
244 Delete variable binfile, no longer use. Add or modify test
245 comments to make them unique.
247 2011-02-21 Michael Snyder <msnyder@vmware.com>
249 * Makefile.in: Update for make clean.
250 * gdb.ada/Makefile.in: Ditto.
251 * gdb.arch/Makefile.in: Ditto.
252 * gdb.asm/Makefile.in: Ditto.
253 * gdb.base/Makefile.in: Ditto.
254 * gdb.cp/Makefile.in: Ditto.
255 * gdb.dwarf2/Makefile.in: Ditto.
256 * gdb.java/Makefile.in: Ditto.
257 * gdb.mi/Makefile.in: Ditto.
258 * gdb.modula2/Makefile.in: Ditto.
259 * gdb.python/Makefile.in: Ditto.
260 * gdb.server/Makefile.in: Ditto.
261 * gdb.stabs/Makefile.in: Ditto.
262 * gdb.threads/Makefile.in: Ditto.
263 * gdb.trace/Makefile.in: Ditto.
265 2011-02-21 Michael Snyder <msnyder@vmware.com>
267 * gdb.threads/thread-find.exp: Update patterns for changes in
268 output of "info threads" command.
270 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
271 Ulrich Weigand <uweigand@de.ibm.com>
273 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
274 (skip_hw_watchpoint_tests): Likewise.
275 (skip_hw_watchpoint_multi_tests): Likewise.
277 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
279 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
280 (skip_hw_watchpoint_tests): Likewise.
281 (skip_hw_watchpoint_multi_tests): Likewise.
282 (skip_hw_watchpoint_access_tests): Likewise.
284 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
285 * gdb.base/pr11022.exp: Likewise.
286 * gdb.base/watch-read.exp: Likewise.
287 * gdb.base/watch_thread_num.exp: Likewise.
288 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
289 * gdb.base/watchpoint-hw.exp: Likewise.
290 * gdb.base/watchpoint.exp: Likewise.
291 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
292 * gdb.threads/watchthreads-reorder.exp: Likewise.
293 * gdb.threads/watchthreads.exp: Likewise.
294 * gdb.threads/watchthreads2.exp: Likewise.
296 2011-02-21 Joel Brobecker <brobecker@adacore.com>
298 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
299 the debugger is unable to find the array bounds.
301 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
303 * gdb.cp/typedef-operator.exp: New file.
304 * gdb.cp/typedef-operator.cc: New file.
306 2011-02-17 Michael Snyder <msnyder@vmware.com>
308 * gdb.threads/thread-find.exp: Fix regular expressions.
310 2011-02-17 Joel Brobecker <brobecker@adacore.com>
312 * gdb.ada/packed_array: Expand testcase to test printing of
313 unconstrained packed array.
315 2011-02-17 Joel Brobecker <brobecker@adacore.com>
317 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
319 2011-02-16 Pedro Alves <pedro@codesourcery.com>
321 * gdb.trace/collection.c (globalarr3): New global.
322 (main): Initialize it before collecting, and and clear it
324 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
325 collecting with '{type} addr', where the addr expression is not an
328 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
330 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
331 a bool variable. Expect correct OpenCL names for vector types. Use the
332 uc3 variable name instead of referring to the uchar3 built-in type.
333 Escape the asterisk at the half pointer test.
335 2011-02-16 Pedro Alves <pedro@codesourcery.com>
337 * gdb.trace/collection.c (globalarr2): New global.
338 (main): Initialize it before collecting, and and clear it
340 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
341 collecting overlapping memory ranges.
343 2011-02-15 Michael Snyder <msnyder@vmware.com>
345 * gdb.base/default.exp: Add tests for thread commands.
346 * gdb.base/help.exp: Add tests for thread commands.
347 * gdb.threads/thread-find.exp: New test for thread find command.
349 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
351 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
353 2011-02-15 Yao Qi <yao@codesourcery.com>
356 * gdb.arch/arm-disp-step.S : New test for str instruction.
357 * gdb.arch/arm-disp-step.exp : Likewise.
359 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
361 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
362 "vector_register2_vr" test strings. Test the extended floating
363 point registers (F32~F63).
364 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
365 IBM XL C compiler. Make the test program use a register provided
366 by the compiler for the lxvd2x instruction.
368 2011-02-14 Pedro Alves <pedro@codesourcery.com>
370 * gdb.trace/unavailable.cc (class Base, class Middle, class
372 (derived_unavail, derived_partial, derived_whole): New globals.
373 (virtual_partial): New global.
374 (virtualp): Point at virtual_partial.
375 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
376 related to unavailable vptr.
378 2011-02-14 Pedro Alves <pedro@codesourcery.com>
380 * gdb.trace/unavailable.cc (a, b, c): New globals.
381 (main): Set and clear them.
382 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
383 `a' and `c', and check that `b' isn't collected, although `a' and
386 2011-02-14 Pedro Alves <pedro@codesourcery.com>
388 * gdb.trace/unavailable.cc (struct Virtual): New.
389 (virtualp): New global pointer.
390 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
391 printing a pointer to an object whose type has a vtable, with
394 2011-02-14 Pedro Alves <pedro@codesourcery.com>
396 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
397 value repeat handles unavailableness.
399 2011-02-14 Pedro Alves <pedro@codesourcery.com>
401 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
402 tests for building arrays from unavailable values, subscripting
403 non-memory rvalue unvailable arrays, and accessing fields or
404 baseclasses of non-lazy unavailable values,
405 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
407 (g_smallstruct, g_smallstruct_b): New globals.
409 2011-02-14 Pedro Alves <pedro@codesourcery.com>
411 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
413 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
415 Fix const/volatile qualifiers of C++ types, PR c++/12328.
416 * gdb.cp/overload-const.exp: New file.
417 * gdb.cp/overload-const.cc: New file.
419 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
421 * gdb.opencl/callfuncs.cl: New file.
422 * gdb.opencl/callfuncs.exp: New test.
423 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
425 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
427 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
428 when computing result.
429 * gdb.arch/altivec-abi.exp: Update expected results.
431 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
433 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
434 * gdb.base/jit.exp: Likewise.
435 * gdb.base/pie-execl.exp: Likewise.
436 * gdb.base/solib-nodir.exp: Likewise.
437 * gdb.base/solib-overlap.exp: Likewise.
439 2011-02-07 Pedro Alves <pedro@codesourcery.com>
441 * gdb.trace/collection.c (global_pieces): New.
442 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
444 (gdb_trace_collection_test): Call it.
446 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
448 * gdb.python/py-evthreads.c: New file.
449 * gdb.python/py-evthreads.exp: New file.
450 * gdb.python/py-events.py: New file.
451 * gdb.python/py-events.exp: New file.
452 * gdb.python/py-events.c: New file.
454 2011-02-04 David Daney <ddaney@caviumnetworks.com>
456 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
458 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
460 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
461 gdb.base/disasm-end-cu.exp: New test for disassembling over the
462 boundary between two compilation units.
464 2011-02-02 Pedro Alves <pedro@codesourcery.com>
466 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
467 (Virtual): New structs.
468 (virtual_o, virtual_middle_b): New globals.
469 * gdb.cp/virtbase.exp: New tests.
471 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
473 * gdb.base/jit.exp: New file.
474 * gdb.base/jit-main.c: New file.
475 * gdb.base/jit-solib.c: New file.
477 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
479 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
480 proceed to initial kernel entry point.
481 * gdb.opencl/datatypes.exp: Likewise.
482 * gdb.opencl/operators.exp: Likewise.
483 * gdb.opencl/vec_comps.exp: Likewise.
485 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
487 * gdb.cp/nsnested.cc: New.
488 * gdb.cp/nsnested.exp: New.
489 * gdb.cp/nsnoimports.exp: New.
490 * gdb.cp/nsnoimports.cc: New.
492 2011-01-31 Joel Brobecker <brobecker@adacore.com>
494 * gdb.base/interact.exp: Add extra tests that verify that
495 the value of the interactive-mode setting does not change
496 after the script is sourced.
498 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
500 * gdb.cp/noparam.exp: New file.
501 * gdb.cp/noparam.cc: New file.
503 2011-01-28 Pedro Alves <pedro@codesourcery.com>
505 * gdb.trace/tfile.exp: Test that with no traceframe selected,
506 there's no stack or registers.
508 2011-01-26 Tom Tromey <tromey@redhat.com>
510 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
511 space before string output. Add test for "set print pretty off"
514 2011-01-25 Pedro Alves <pedro@codesourcery.com>
516 * gdb.base/frame-args.exp: Adjust.
517 * gdb.dwarf2/dw2-noloc.exp: Adjust.
518 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
519 * gdb.dwarf2/pieces.exp: Adjust.
520 * gdb.opt/clobbered-registers-O2.exp: Adjust.
521 * gdb.opt/inline-locals.exp: Adjust.
522 * gdb.threads/fork-child-threads.exp: Adjust.
524 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
526 * gdb.opencl/convs_casts.cl: Move program scope variables into the
527 OpenCL kernel function. Add a comment as marker. Add address space
528 qualifiers for the remaining program scope variables.
529 * gdb.opencl/datatypes.cl: Likewise.
530 * gdb.opencl/operators.cl: Likewise.
531 * gdb.opencl/vec_comps.cl: Likewise.
532 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
533 Add breakpoint at the marker comment.
534 * gdb.opencl/datatypes.exp: Likewise.
535 * gdb.opencl/operators.exp: Likewise.
536 * gdb.opencl/vec_comps.exp: Likewise.
538 2011-01-24 Pedro Alves <pedro@codesourcery.com>
540 * gdb.base/printcmds.c (some_struct): New struct and instance.
541 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
543 <global scope>: Call it.
545 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
547 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
548 argument to the gdb_compile_opencl_hostapp call.
550 2011-01-19 Yao Qi <yao@codesourcery.com>
552 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
555 2011-01-19 Yao Qi <yao@codesourcery.com>
557 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
560 * gdb.xml/tdesc-regs.exp: Likewise.
561 * gdb.python/py-section-script.exp: Replace ARM target triplet
563 Match arm*-*-symbianelf*.
564 * gdb.base/dup-sect.exp: Likewise.
565 * lib/dwarf.exp: New.
566 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
568 * gdb.dwarf2/dup-psym.exp: Likewise.
569 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
570 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
571 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
572 * gdb.dwarf2/dw2-basic.exp: Likewise.
573 * gdb.dwarf2/dw2-compressed.exp: Likewise.
574 * gdb.dwarf2/dw2-const.exp: Likewise.
575 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
576 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
577 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
578 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
579 * gdb.dwarf2/dw2-filename.exp: Likewise.
580 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
581 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
582 * gdb.dwarf2/dw2-intercu.exp: Likewise.
583 * gdb.dwarf2/dw2-intermix.exp: Likewise.
584 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
585 * gdb.dwarf2/dw2-noloc.exp: Likewise.
586 * gdb.dwarf2/dw2-op-call.exp: Likewise.
587 * gdb.dwarf2/dw2-producer.exp: Likewise.
588 * gdb.dwarf2/dw2-ranges.exp: Likewise.
589 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
590 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
591 * gdb.dwarf2/dw2-strp.exp: Likewise.
592 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
593 * gdb.dwarf2/implptr.exp: Likewise.
594 * gdb.dwarf2/mac-fileno.exp: Likewise.
595 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
596 * gdb.dwarf2/pieces.exp: Likewise.
597 * gdb.dwarf2/pr11465.exp: Likewise.
598 * gdb.dwarf2/valop.exp: Likewise.
599 * gdb.dwarf2/watch-notconst.exp: Likewise.
600 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
602 2011-01-19 Tom Tromey <tromey@redhat.com>
604 * gdb.python/py-infthread.exp: Add thread tests.
606 2011-01-14 Joel Brobecker <brobecker@adacore.com>
608 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
610 2011-01-14 Joel Brobecker <brobecker@adacore.com>
612 * gdb.ada/widewide: New testcase.
614 2011-01-13 Joel Brobecker <brobecker@adacore.com>
616 * gdb.base/interact.exp: New testcase.
618 2011-01-12 Tom Tromey <tromey@redhat.com>
620 * gdb.mi/gdb2549.exp: Update for error message changes.
621 * gdb.mi/mi-cli.exp: Likewise.
622 * gdb.mi/mi-disassemble.exp: Likewise.
623 * gdb.mi/mi-pthreads.exp: Likewise.
624 * gdb.mi/mi-regs.exp: Likewise.
625 * gdb.mi/mi-stack.exp: Likewise.
626 * gdb.mi/mi-var-block.exp: Likewise.
627 * gdb.mi/mi-var-cmd.exp: Likewise.
628 * gdb.mi/mi2-cli.exp: Likewise.
629 * gdb.mi/mi2-disassemble.exp: Likewise.
630 * gdb.mi/mi2-pthreads.exp: Likewise.
631 * gdb.mi/mi2-regs.exp: Likewise.
632 * gdb.mi/mi2-stack.exp: Likewise.
633 * gdb.mi/mi2-var-block.exp: Likewise.
634 * gdb.mi/mi2-var-cmd.exp: Likewise.
636 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
637 Jan Kratochvil <jan.kratochvil@redhat.com>
639 PR fortran/11104 and DWARF unbound arrays detection.
640 * gdb.fortran/multi-dim.exp: New file.
641 * gdb.fortran/multi-dim.f90: New file.
643 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
645 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
646 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
647 add new tests for opcode dumping.
649 2011-01-11 Tom Tromey <tromey@redhat.com>
651 * gdb.python/py-infthread.exp: Load gdb-python.exp.
653 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
655 Convert hardware watchpoints to use breakpoint_ops.
656 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
657 type is not supported.
658 * gdb.base/foll-fork.exp: Likewise.
659 * gdb.base/foll-vfork.exp: Likewise.
661 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
663 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
664 Use load_lib gdb-python.exp.
665 * gdb.python/python.exp: Ditto.
666 * gdb.python/py-function.exp: Ditto.
668 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
670 * gdb.threads/tls.exp ("info address me"): Fix expected output.
672 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
674 * configure: Regenerate.
676 2011-01-06 Tom Tromey <tromey@redhat.com>
678 * gdb.python/py-frame.exp: Test gdb.newest_frame.
680 2011-01-06 Joel Brobecker <brobecker@adacore.com>
682 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
683 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
684 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
685 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
686 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
687 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
688 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
689 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
690 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
691 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
692 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
693 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
694 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
695 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
696 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
697 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
698 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
699 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
700 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
701 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
702 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
703 gdb.ada/uninitialized_vars.exp,
704 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
705 Simplify by using clean_restart.
707 2011-01-06 Joel Brobecker <brobecker@adacore.com>
709 Add marker to be used as anchor for inserting breakpoints.
710 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
711 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
714 Remove uses of gdb_start_cmd.
715 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
716 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
718 Do not run testcase if testing with GDBserver.
719 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
720 if testing with GDBserver.
722 2011-01-06 Joel Brobecker <brobecker@adacore.com>
724 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
725 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
728 2011-01-05 Joel Brobecker <brobecker@adacore.com>
730 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
731 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
732 testsuite/gdb.fortran/complex.f,
733 testsuite/gdb.fortran/derived-type.f90,
734 testsuite/gdb.fortran/library-module-lib.f90,
735 testsuite/gdb.fortran/library-module-main.f90,
736 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
737 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
738 Copyright year update.
740 2011-01-05 Joel Brobecker <brobecker@adacore.com>
742 * gdb.base/langs1.f: Add copyright header.
744 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
746 * gdb.base/morestack.exp: New file.
747 * gdb.base/morestack.c: New file.
749 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
751 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
753 2010-12-29 Joel Brobecker <brobecker@adacore.com>
755 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
756 * gdb.ada/arrayptr.exp: Add test printing that new variable.
758 2010-12-29 Joel Brobecker <brobecker@adacore.com>
760 * gdb.ada/lang_switch.exp: Correct expected parameter value.
762 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
764 * gdb.threads/tls.exp: Fix typo.
766 * gdb.threads/thread-specific.exp (get_thread_list): Update.
767 * gdb.threads/execl.exp: Update.
769 2010-12-23 Yao Qi <yao@codesourcery.com>
771 * gdb.arch/arm-disp-step.exp: New.
772 * gdb.arch/arm-disp-step.S: New.
774 2010-12-21 Tom Tromey <tromey@redhat.com>
776 * gdb.threads/execl.exp: Update.
777 * gdb.threads/linux-dp.exp: Update.
778 * gdb.threads/manythreads.exp: Update.
779 * gdb.threads/tls.exp: Update.
781 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
783 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
784 (NextOverThrowDerivates) <resumebpt>: New.
785 (resumebpt_test): New.
786 (main): Call resumebpt_test.
787 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
789 2010-12-12 Stan Shebs <stan@codesourcery.com>
791 * gdb.trace/tsv.exp: Test print command on trace state variables.
793 2010-12-09 Tom Tromey <tromey@redhat.com>
795 * gdb.base/interp.exp: Add regression test.
797 2010-12-09 Tom Tromey <tromey@redhat.com>
799 * gdb.java/jnpe.java: New file.
800 * gdb.java/jnpe.exp: New file.
801 * gdb.cp/nextoverthrow.exp: New file.
802 * gdb.cp/nextoverthrow.cc: New file.
804 2010-12-07 Doug Evans <dje@google.com>
806 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
808 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
810 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
812 2010-11-29 Michael Snyder <msnyder@vmware.com>
814 * gdb.base/callfuncs.exp: Test for skip_float_tests.
815 * gdb.base/call-sc.exp: Ditto.
816 * gdb.base/finish.exp: Ditto.
817 * gdb.base/return.exp: Ditto.
818 * gdb.base/return2.exp: Ditto.
820 2010-11-30 Doug Evans <dje@google.com>
822 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
823 (gdb_expect_list): Fix spelling errors in comments.
824 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
825 send_gdb/gdb_expect_list where applicable.
826 * gdb.base/call-ar-st.exp: Ditto.
827 * gdb.base/funcargs.exp: Ditto.
828 * gdb.base/gcore.exp: Ditto.
829 * gdb.base/page.exp: Ditto.
830 * gdb.base/sigaltstack.exp: Ditto.
831 * gdb.base/siginfo.exp: Ditto.
832 * gdb.base/sigstep.exp: Ditto.
833 * gdb.base/trace-commands.exp: Ditto.
835 2010-11-29 Doug Evans <dje@google.com>
837 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
838 printer-name;subprinter-name.
840 2010-11-29 Tom Tromey <tromey@redhat.com>
842 * gdb.dwarf2/implptr.exp: New file.
843 * gdb.dwarf2/implptr.c: New file.
844 * gdb.dwarf2/implptr.S: New file.
846 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
850 * gdb.python/py-breakpoint.exp: Test the delete method.
852 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
854 Fix step_resume_breakpoint unsaved during an infcall.
855 * gdb.base/step-resume-infcall.exp: New file.
856 * gdb.base/step-resume-infcall.c: New file.
858 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
860 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
862 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
864 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
865 on ppc64's symbols; "finish" and "return" commands must accept to
866 show the caller line again as well as the line after.
867 * gdb.asm/powerpc64.inc: New file.
869 2010-11-23 Doug Evans <dje@google.com>
871 * lib/gdb.exp (gdb_test_sequence): New function.
872 (gdb_expect_list): Add verbose -log call for each pattern.
873 * gdb.base/signals.exp (test_handle_all_print): Call it.
874 Reduce timeout increment from 6 minutes to 1 minute.
875 * gdb.server/ext-run.exp: Call it.
877 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
881 * gdb.python/python.exp: Check that selected_thread raises an
882 error when no inferior is loaded.
884 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
886 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
887 * gdb.dwarf2/dw2-stack-boundary.S: New file.
889 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
891 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
892 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
894 2010-11-18 Doug Evans <dje@google.com>
896 * gdb.server/ext-run.exp: Fix intermittent failures.
898 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
900 * gdb.stabs/gdb11479.exp: Use runto_main.
902 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
904 * gdb.base/break-entry.exp: Skip if using a stub.
906 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
908 * gdb.python/py-inferior.exp: Pack values in target endianness.
910 2010-11-12 Tom Tromey <tromey@redhat.com>
912 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
913 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
915 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
917 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
919 (test_subscript_regression): Update exception type.
921 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
923 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
926 2010-11-09 Pedro Alves <pedro@codesourcery.com>
928 * gdb.base/watchpoint.exp: Test "watch -location" with an
929 innacessible location.
931 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
932 Luis Machado <luisgpm@br.ibm.com>
934 * gdb.base/maint.exp: Expect "." prefix.
935 * gdb.base/nodebug.exp: Expect "." Likewise.
936 * gdb.base/sepsymtab.exp: Expect "." Likewise.
937 * gdb.base/watchpoint-cond-gone.exp: Likewise.
938 * gdb.base/watchpoint.exp: Expect a software watch to be created for
939 POWER server processors.
941 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
942 Luis Machado <luisgpm@br.ibm.com>
944 * gdb.base/break-entry.exp: convert entry point for
945 ppc64 and expect leading `.' on ppc64's symbols
947 2010-11-05 Doug Evans <dje@google.com>
949 * gdb.base/help.exp: Update expected output.
950 * gdb.python/py-param.exp: Delete, contents moved to ...
951 * gdb.python/py-parameter.exp: ... here. New file.
952 Add test for gdb.parameter ("directories").
954 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
956 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
957 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
958 * configure: Regenerate.
959 * gdb.opencl/Makefile.in: New File.
960 * gdb.opencl/datatypes.exp: Likewise.
961 * gdb.opencl/datatypes.cl: Likewise.
962 * gdb.opencl/operators.exp: Likewise.
963 * gdb.opencl/operators.cl: Likewise.
964 * gdb.opencl/vec_comps.exp: Likewise.
965 * gdb.opencl/vec_comps.cl: Likewise.
966 * gdb.opencl/convs_casts.exp: Likewise.
967 * gdb.opencl/convs_casts.cl: Likewise.
968 * lib/opencl.exp: Likewise.
969 * lib/opencl_hostapp.c: Likewise.
970 * lib/opencl_kernel.cl: Likewise.
971 * lib/cl_util.c: Likewise.
972 * lib/cl_util.c: Likewise.
973 * gdb.base/default.exp (set language): Add "opencl" to the list of
976 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
978 * gdb.cp/overload.exp: Added test for inheritance overload.
979 * gdb.cp/overload.cc: Ditto.
980 * gdb.cp/oranking.exp: Removed releveant kfails.
982 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
983 Joel Brobecker <brobecker@adacore.com>
985 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
986 check test_compiler_info.
988 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
990 * gdb.base/gnu_vector.exp: Adjust expect messages.
992 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
994 * gdb.base/gnu_vector.exp: Add unary operator tests.
996 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
998 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1000 2010-11-02 Doug Evans <dje@google.com>
1002 * gdb.python/py-pp-maint.c: New file.
1003 * gdb.python/py-pp-maint.exp: New file.
1004 * gdb.python/py-pp-maint.py: New file.
1006 2010-11-02 Tom Tromey <tromey@redhat.com>
1008 * gdb.base/default.exp: Remove "scheme" from language list.
1010 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1013 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1014 * gdb.threads/sigstep-threads.exp: New file.
1015 * gdb.threads/sigstep-threads.c: New file.
1017 2010-10-20 Michael Snyder <msnyder@vmware.com>
1019 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1021 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1023 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1024 Skip test completely if gdb,no_hardware_watchpoints.
1026 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1028 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1029 strict, but do not check for any particular function name within libc.
1031 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1033 * gdb.cp/smartp.exp: New test.
1034 * gdb.cp/smartp.cc : New test.
1036 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1038 * gdb.cp/converts.exp: Test pointer to bool conversion.
1039 Test pointer to long conversion.
1040 * gdb.cp/oranking.exp: Removed relevant kfail.
1042 2010-10-18 Tom Tromey <tromey@redhat.com>
1044 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1045 argument to lazy_string.
1046 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1047 (pp_ls.to_string): Use it.
1048 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1049 Add "estring2" local.
1051 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1053 Fix s390x compatibility.
1054 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1055 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1057 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1059 * gdb.threads/sigstep-threads.exp: New file.
1060 * gdb.threads/sigstep-threads.c: New file.
1062 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1064 * gdb.base/pie-execl.exp: New file.
1065 * gdb.base/pie-execl.c: New file.
1067 2010-10-13 Doug Evans <dje@google.com>
1068 Jan Kratochvil <jan.kratochvil@redhat.com>
1071 * gdb.cp/ptype-cv-cp.cc: New file.
1072 * gdb.cp/ptype-cv-cp.exp: New file.
1074 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1076 * gdb.cp/converts.cc: New test program.
1077 * gdb.cp/converts.exp: New test.
1078 * gdb.cp/overload.exp: Added test for void* vs int*.
1079 * gdb.cp/overload.exp: Ditto.
1080 * gdb.cp/oranking.exp: Removed related kfail.
1082 2010-10-13 Doug Evans <dje@google.com>
1084 * lib/gdb-python.exp (gdb_check_python_config): New function.
1085 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1086 * gdb.python/lib-types.cc: New file.
1087 * gdb.python/lib-types.exp: New file.
1089 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1091 * gdb.python/py-error.exp: New file.
1092 * gdb.python/py-error.py: New file.
1094 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1096 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1099 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1101 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1102 * gdb.base/prelink.exp: Likewise.
1103 * gdb.base/solib-nodir.exp: Likewise.
1104 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1105 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1106 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1108 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1110 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1111 for the "info files" test to avoid timeouts on slow machines.
1113 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1115 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1116 (main): Make openlib dummy call.
1118 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1120 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1121 * break-interp.exp (reach): Move the core body ...
1122 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1123 (test_ld): Provide always real argument, even to the linker. Replace
1124 dl_main by _dl_debug_state.
1126 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1128 Fix results of prelinked PIEs on ppc*.
1129 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1130 Accept also DISPLACEMENT "PRESENT".
1131 (main): Replace "ZERO" displacements by "PRESENT".
1133 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1135 * gdb.cp/oranking.exp: New test.
1136 * gdb.cp/oranking.cc: New test program.
1138 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1140 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1141 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1143 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1145 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1146 lush, lynx) New constant.
1147 * gdb.base/constvars.exp: Test const array types.
1148 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1150 2010-10-06 Doug Evans <dje@google.com>
1152 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1153 of syscall staging area.
1155 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1157 * gdb.base/gnu_vector.c: Add variable c4.
1158 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1159 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1161 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1163 * gdb.arch/altivec-abi.exp: Fix a typo.
1165 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1167 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1168 to match a thread ID.
1170 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1172 Fix s390x testcase compatibility.
1173 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1175 2010-10-01 Doug Evans <dje@google.com>
1177 * lib/gdb-python.exp: New file.
1178 * gdb.python/py-block.exp: Use it.
1179 * gdb.python/py-breakpoint.exp: Ditto.
1180 * gdb.python/py-frame.exp: Ditto.
1181 * gdb.python/py-inferior.exp: Ditto.
1182 * gdb.python/py-param.exp: Ditto.
1183 * gdb.python/py-prettyprint.exp: Ditto.
1184 * gdb.python/py-shared.exp: Ditto.
1185 * gdb.python/py-symbol.exp: Ditto.
1186 * gdb.python/py-symtab.exp: Ditto.
1187 * gdb.python/py-type.exp: Ditto.
1188 * gdb.python/py-value.exp: Ditto.
1189 * gdb.python/python.exp: Ditto.
1191 2010-09-30 Tom Tromey <tromey@redhat.com>
1193 * gdb.base/anon.exp: New file.
1194 * gdb.base/anon.c: New file.
1196 2010-09-30 Tom Tromey <tromey@redhat.com>
1198 * gdb.base/completion.exp: Test completion through anonymous
1200 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1202 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1204 Fix printing parameters of inlined functions.
1205 * gdb.dwarf2/dw2-inline-param.exp: New file.
1206 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1207 * gdb.dwarf2/dw2-inline-param.S: New file.
1209 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1212 * gdb.base/corefile.exp (quit with a process, no question: load core)
1213 (quit with a core file): New tests.
1215 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1217 Fix GDB crash on inferior calls with self-referencing classes.
1218 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1219 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1220 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1222 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1224 Fix lost siginfo_t for inferior calls.
1225 * gdb.base/siginfo-infcall.exp: New file.
1226 * gdb.base/siginfo-infcall.c: New file.
1228 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1230 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1232 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1234 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1236 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1238 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1240 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1241 type of our const type.
1243 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1245 * gdb.cp/pr12028.cc: New.
1246 * gdb.cp/pr12028.exp: New.
1248 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1250 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1252 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1253 Jan Kratochvil <jan.kratochvil@redhat.com>
1256 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1257 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1258 * gdb.mi/dw2-ref-missing-frame.S New File.
1259 * gdb.mi/dw2-ref-missing-frame.exp New File.
1261 2010-09-14 Tom Tromey <tromey@redhat.com>
1264 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1266 2010-09-14 Tom Tromey <tromey@redhat.com>
1269 * gdb.threads/tls.exp: Use C++.
1270 (check_thread_local): Use K::another_thread_local.
1271 * gdb.threads/tls.c (class K): New.
1272 (another_thread_local): Now a member of K.
1273 (spin): Update. No longer K&R C.
1275 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1277 * gdb.cp/koenig.cc: created class for testing member lookup.
1278 * gdb.cp/koenig.exp: Added test for member lookup.
1280 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1282 Fix false FAILs on sourcetree topdir directory containing "kill".
1283 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1284 source line matching regexp.
1286 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1288 * gdb.python/python.exp (set height 0, collect help from uiout)
1289 (verify help to uiout): New tests.
1291 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1293 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1294 is_lp64_target to check 64bit target.
1296 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1298 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1299 (test_ld) <powerpc64-*>: New.
1301 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1303 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1305 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1307 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1308 (FunctionArg::method): New function.
1309 (empty, arg): New variables.
1310 (main): Call arg.method.
1311 * gdb.cp/templates.exp (test_template_args): New function.
1312 (do_tests): Call it.
1314 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1316 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1317 of "next" to proceed over pthread_exit call.
1319 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1321 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1322 "maint print statistics" output to prevent expect timeouts.
1324 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1326 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1327 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1328 (test_float_rejected): ... here.
1329 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1330 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1331 (test_float_rejected): ... here.
1332 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1333 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1334 (test_float_rejected): ... here.
1335 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1336 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1337 (test_float_rejected): ... here.
1339 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1341 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1342 before disabling hardware watchpoints.
1343 (test_inaccessible_watchpoint): Check that hardware watchpoints
1344 are used. Test for watchpoints on a constant address.
1346 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 * gdb.base/ui-redirect.exp: New file.
1350 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1351 Joel Brobecker <brobecker@adacore.com>
1353 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1355 2010-08-31 Doug Evans <dje@google.com>
1357 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1359 2010-08-30 Tom Tromey <tromey@redhat.com>
1362 * gdb.python/py-value.exp (test_subscript_regression): Add
1365 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1367 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1368 instead of running to main. Do not test the main function.
1369 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1372 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1374 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1377 2010-08-24 Doug Evans <dje@google.com>
1380 * gdb.dwarf2/dw4-sig-types.cc: New file.
1381 * gdb.dwarf2/dw4-sig-types.h: New file.
1382 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1383 * gdb.dwarf2/dw4-sig-types.exp: New file.
1385 2010-08-23 Tom Tromey <tromey@redhat.com>
1388 * gdb.python/py-value.c (Base, Derived): New types.
1390 * gdb.python/py-value.exp (test_subscript_regression): Add
1393 2010-08-23 Tom Tromey <tromey@redhat.com>
1396 * gdb.python/py-type.exp (test_fields): Add tests for type
1399 2010-08-23 Tom Tromey <tromey@redhat.com>
1402 * gdb.python/py-type.exp (test_fields): Add tests for array.
1404 2010-08-23 Keith Seitz <keiths@redhat.com>
1406 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1407 have any children. Create a new abbrev for it.
1408 Add missing terminal sequence to .debug_abbrev.
1410 2010-08-20 Keith Seitz <keiths@redhat.com>
1413 * gdb.dwarf2/pr11465.exp: New test.
1414 * gdb.dwarf2/pr11465.S: New file.
1415 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1416 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1418 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1420 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1421 registers. Update data sets with the new v2_double element in the
1422 VSX register union. Add vector_register3_vr data set for the AltiVec
1423 registers. Use gdb_test_no_output instead of send_gdb.
1425 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1427 * gdb.python/py-shared.exp: New file, factored out from
1429 * gdb.python/py-shared.c: New file.
1430 * gdb.python/py-shared-sl.c: New file.
1431 * gdb.python/python-1.c: New file.
1432 * gdb.python/python-sl.c: Delete.
1433 * gdb.python/python.c: Mention python-1.c.
1434 * gdb.python/python.exp: Move shared library tests to
1436 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1437 (MISCELLANEOUS): New.
1438 (clean mostlyclean): Also remove $MISCELLANEOUS.
1440 2010-08-19 Doug Evans <dje@google.com>
1443 * gdb.base/printcmds.exp (test_float_accepted): New function.
1444 Move existing float tests there. Add tests for floats with suffixes.
1445 (test_float_rejected): New function.
1446 * gdb.java/jv-print.exp (test_float_accepted): New function.
1447 (test_float_rejected): New function.
1448 * gdb.objc/print.exp: New file.
1449 * gdb.pascal/print.exp: New file.
1450 * lib/objc.exp: New file.
1452 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1454 * gdb.base/default.exp (info set): Avoid full buffer error and force
1455 reading up to final gdb prompt.
1458 2010-08-18 Tom Tromey <tromey@redhat.com>
1461 * gdb.base/completion.exp: Add test.
1463 2010-08-18 Doug Evans <dje@google.com>
1465 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1466 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1467 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1468 Simplify, early exit if runto_main fails.
1469 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1470 (set_lang_fortran): Moved to lib/fortran.exp.
1471 * gdb.fortran/types.exp: load_lib fortran.exp.
1472 (set_lang_fortran): Moved to lib/fortran.exp.
1473 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1474 * gdb.java/jprint.exp (set_lang_java): Ditto.
1475 * gdb.java/jv-exp.exp: load_lib java.exp.
1476 If set_lang_java fails, issue a warning instead of failure to be
1477 consistent with other set_lang_foo uses.
1478 (set_lang_java): Moved to lib/java.exp.
1479 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1480 If set_lang_java fails, issue a warning instead of failure to be
1481 consistent with other set_lang_foo uses.
1482 * gdb.pascal/types.exp: load_lib pascal.exp.
1483 (set_lang_pascal): Moved to lib/pascal.exp.
1484 * lib/fortran.exp: New file.
1485 * lib/java.exp (set_lang_java): New function.
1486 * lib/pascal.exp (set_lang_pascal): New function.
1488 2010-08-18 Yao Qi <yao@codesourcery.com
1490 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1491 func_nofb_start and func_loopfb_start, so that address of functions
1492 is equal to these labels on Thumb.
1494 2010-08-18 Yao Qi <yao@codesourcery.com>
1496 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1497 to reflect latest c source file.
1499 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1501 * gdb.cp/infcall-dlopen.exp: New file.
1502 * gdb.cp/infcall-dlopen.cc: New file.
1503 * gdb.cp/infcall-dlopen-lib.cc: New file.
1505 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1506 Pedro Alves <pedro@codesourcery.com>
1508 PR breakpoints/11371
1510 * gdb.base/watch-cond-infcall.exp: New file.
1511 * gdb.base/watch-cond-infcall.c: New file.
1513 2010-08-16 Tom Tromey <tromey@redhat.com>
1515 * gdb.base/help.exp: Update.
1516 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1518 (test_watch_location): New proc.
1519 (test_watchpoint_in_big_blob): Delete watchpoint.
1520 * gdb.base/watchpoint.c (func5): New function.
1523 2010-08-16 Doug Evans <dje@google.com>
1525 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1527 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1529 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1532 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1534 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1535 * gdb.base/gnu_vector.c: New File.
1536 * gdb.base/gnu_vector.exp: Likewise.
1538 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1540 * gdb.python/python.c: New File.
1541 * gdb.python/python-sl.c: New File.
1542 * gdb.python/python.exp: Test solib_address and decode_line
1545 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1547 * gdb.python/python.exp (show height, set height 10)
1548 (verify pagination beforehand, verify pagination beforehand: q)
1549 (gdb.execute does not page, verify pagination afterwards)
1550 (verify pagination afterwards: q): New.
1552 2010-08-02 Doug Evans <dje@google.com>
1554 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1555 because of an older gcc, change test2
1556 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1559 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1561 * gdb.base/break-always.exp: Do not expect full paths to file
1563 * gdb.base/commands.exp: Likewise.
1565 2010-07-30 Doug Evans <dje@google.com>
1567 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1568 xfail them when run with older gccs.
1570 * lib/gdb.exp (build_executable): Forward "c++" option to
1573 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1574 "python print ttype.template_argument(1)" and
1575 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1576 if using gcc 4.4 or earlier.
1578 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1579 attach-to-debugger handling.
1581 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1583 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1584 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1585 (main): Use copyreloc.
1586 * gdb.base/prelink.exp (split debug of executable)
1587 (.dynbss vs. .bss address shift): New tests.
1589 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1591 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1592 in gdb_test_multiple.
1594 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1596 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1599 2010-07-28 Tom Tromey <tromey@redhat.com>
1602 * gdb.python/py-type.c (Temargs): New template.
1603 (temvar): New variable.
1604 * gdb.python/py-type.exp (test_template): New proc.
1606 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1608 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1609 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1611 2010-07-28 Tom Tromey <tromey@redhat.com>
1614 * gdb.cp/temargs.exp: New file.
1615 * gdb.cp/temargs.cc: New file.
1617 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1619 * gdb.base/help.exp (help disassemble): Update the content.
1621 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1623 * gdb.threads/ia64-sigill.exp: New file.
1624 * gdb.threads/ia64-sigill.c: New file.
1626 2010-07-27 Tom Tromey <tromey@redhat.com>
1628 * gdb.opt/inline-cmds.c (ATTR): New define.
1632 (outer_inline1): Likewise.
1633 (outer_inline2): Likewise.
1634 * gdb.opt/inline-bt.c (ATTR): New define.
1637 * gdb.opt/inline-locals.c (ATTR): New define.
1641 2010-07-27 Tom Tromey <tromey@redhat.com>
1643 * gdb.stabs/gdb11479.c (hack): New function.
1646 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1647 (int32_search_buf, int64_search_buf): No longer static.
1649 * gdb.base/relocate.c (hack): New function.
1651 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1653 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1654 * gdb.python/py-value.c (func1): New function.
1657 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1659 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1660 as not to clash with .data section.
1662 2010-07-26 Jerome Guitton <guitton@adacore.com>
1664 * gdb.base/code_elim.exp: New file.
1665 * gdb.base/code_elim1.c: New file.
1666 * gdb.base/code_elim2.c: New file.
1668 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1672 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1673 (some_volatile_enum): New variable.
1674 * gdb.base/printcmds.exp (test_print_enums): New.
1675 <top level>: Call it.
1677 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1679 * gdb.cp/fpointer.cc: New test.
1680 * gdb.cp/fpointer.exp: New test.
1682 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1684 * gdb.base/solib-nodir.exp: New file.
1685 * lib/gdb.exp (runto): New case for a GDB internal error.
1687 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1688 Ulrich Weigand <uweigand@de.ibm.com>
1689 Tom Tromey <tromey@redhat.com>
1691 * gdb.base/charset-malloc.c: New file.
1692 * gdb.base/charset.c (malloc_stub): New prototype.
1693 (main): Call it instead of malloc itself.
1694 * gdb.base/charset.exp: Use only prepare_for_testing.
1695 (binfile): Remove the variable.
1697 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1699 Make core files the process_stratum.
1700 * gdb.base/corefile.exp (run: load core again)
1701 (run: sanity check we see the core file, run: with core)
1702 (run: core file is cleared, attach: load core again)
1703 (attach: sanity check we see the core file, attach: with core)
1704 (attach: core file is cleared): New tests.
1705 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1707 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1709 * gdb.arch/altivec-abi.exp: New tests.
1711 2010-07-13 Tom Tromey <tromey@redhat.com>
1713 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1715 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1717 2010-07-13 Tom Tromey <tromey@redhat.com>
1719 * gdb.base/label.exp: New file.
1720 * gdb.base/label.c: New file.
1722 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1723 H.J. Lu <hongjiu.lu@intel.com>
1725 * lib/gdb.exp (is_ilp32_target): New.
1726 (is_lp64_target): Likewise.
1728 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1730 * gdb.arch/amd64-disp-step.exp: Likewise.
1731 * gdb.arch/amd64-dword.exp: Likewise.
1732 * gdb.arch/amd64-i386-address.exp: Likewise.
1733 * gdb.arch/amd64-word.exp: Likewise.
1735 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1737 * gdb.arch/i386-bp_permanent.exp: Likewise.
1738 * gdb.arch/i386-byte.exp: Likewise.
1739 * gdb.arch/i386-disp-step.exp: Likewise.
1740 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1741 * gdb.arch/i386-prologue.exp: Likewise.
1742 * gdb.arch/i386-size-overlap.exp: Likewise.
1743 * gdb.arch/i386-size.exp: Likewise.
1744 * gdb.arch/i386-sse.exp: Likewise.
1745 * gdb.arch/i386-unwind.exp: Likewise.
1746 * gdb.arch/i386-word.exp: Likewise.
1748 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1749 test only when building 64-bit executables. Do not hard-code
1752 2010-07-07 Doug Evans <dje@google.com>
1754 * lib/gdb.exp (gdb_test_list_exact): New function.
1755 * gdb.base/default.exp (show convenience): Call it, add tests for
1756 $_sdata = void, $_thread = 0.
1758 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1759 Joel Brobecker <brobecker@adacore.com>
1761 Fix re-run of PIE executable, PR shlibs/11776.
1762 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1763 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1764 and re-"run" of the inferior.
1766 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1767 Joel Brobecker <brobecker@adacore.com>
1769 Cope with missing /usr/sbin/prelink.
1770 * lib/prelink-support.exp (prelink_no):
1771 <result == 1 && $output is "no such file or directory">: New.
1772 (prelink_yes): Likewise. Return on failed prelink_no.
1774 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1775 Joel Brobecker <brobecker@adacore.com>
1777 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1778 build_executable by build_executable_own_libs. Replace "prelink -R"
1779 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1781 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1782 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1783 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1784 Replace build_executable by build_executable_own_libs's function
1785 build_executable_own_libs.
1786 (prelinkNO): Create new stub to call prelink_no.
1787 (prelinkYES): Create new stub to call prelink_yes.
1788 (test_attach): Rename calls of copy to file_copy.
1789 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1791 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1792 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1793 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1794 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1795 special flags by gdb_compile_shlib. Replace second gdb_compile by
1796 build_executable_own_libs. Replace "prelink -R" execution by a call of
1797 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1798 a second call of prelink_yes. Replace restart commands by
1800 (prelink): Rename to ...
1801 (seen displacement message): ... this test. Extend its expectation
1804 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1806 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1807 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1808 displacement message exactly once.
1810 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1811 Joel Brobecker <brobecker@adacore.com>
1813 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1814 its restore after the <$relink_args != ""> loop. new comment.
1816 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1817 Joel Brobecker <brobecker@adacore.com>
1819 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1820 code for it. New variable relink_args.
1821 (prelinkYES): Call prelinkNO.
1822 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1823 in such case. Move the core code to ...
1824 (test_attach_gdb): ... a new function. Send GDB command "file".
1825 Extend expected "Attaching to " string.
1827 2010-07-02 Tom Tromey <tromey@redhat.com>
1829 * gdb.base/bitops.exp: Remove extraneous "pass".
1831 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1833 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1835 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1837 * gdb.base/help.exp: Adjust expected output.
1839 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1841 * gdb.base/help.exp: Adjust expected output.
1843 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1845 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1846 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1849 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1850 Doug Evans <dje@google.com>
1852 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1853 add .dynamic entry'.
1855 2010-06-29 Doug Evans <dje@google.com>
1858 * gdb.cp/m-static.exp: Add testcase.
1859 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1861 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1862 Tom Tromey <tromey@redhat.com>
1863 Thiago Jung Bauermann <bauerman@br.ibm.com>
1865 * gdb.python/py-inferior.c: New File.
1866 * gdb.python/py-infthread.c: New File.
1867 * gdb.python/py-inferior.exp: New File.
1868 * gdb.python/py-infthread.exp: New File.
1870 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1872 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1873 (ptype ::C::OtherFileClass typedefs): New.
1874 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1875 (C::OtherFileClass::cOtherFileClassVar2): New.
1876 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1877 cOtherFileClassVar2.
1878 (C::cOtherFileType2, C::cOtherFileVar2): New.
1879 (C::cOtherFileVar_use): use also cOtherFileVar2.
1880 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1882 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1884 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1885 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1886 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1887 (print ::C::cOtherFileVar)
1888 (whatis C::OtherFileClass::cOtherFileClassType)
1889 (whatis ::C::OtherFileClass::cOtherFileClassType)
1890 (print C::OtherFileClass::cOtherFileClassVar)
1891 (print ::cOtherFileClassVar)
1892 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1893 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1895 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1896 (C::OtherFileClass::cOtherFileClassVar)
1897 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1898 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1900 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1902 Test PR c++/11703 and PR gdb/1448.
1903 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1906 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1908 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1909 (main) <rtti_data>: New.
1910 * gdb.cp/virtbase.exp (print rtti_data): New.
1912 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1913 Joel Brobecker <brobecker@adacore.com>
1915 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1917 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1919 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1921 2010-06-28 Doug Evans <dje@google.com>
1923 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1925 2010-06-27 Doug Evans <dje@google.com>
1927 * gdb.cp/m-static.exp: Update expected test output.
1929 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1931 * gdb.gdb/selftest.exp: Adjust expected message for
1932 capturing start-up runtime.
1934 2010-06-25 Tom Tromey <tromey@redhat.com>
1937 * gdb.python/python.exp: Add new tests.
1939 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1941 * gdb.cp/operator.cc: Created an import loop.
1942 * gdb.cp/operator.exp: Added testcase for import loop.
1944 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1946 Test PR python/11407.
1947 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1948 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1949 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1950 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1951 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1952 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1953 binfile. Call gdb_compile with clean_restart twice.
1954 (func_nofb print, func_nofb backtrace, func_loopfb print)
1955 (func_loopfb backtrace): New.
1957 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1959 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1960 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1962 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1963 i?86 requirement. Remove variables srcfile and binfile. New variable
1964 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1966 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1968 * gdb.cell/dwarfaddr.exp: New file.
1969 * gdb.cell/dwarfaddr.S: New file.
1971 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1974 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1976 2010-06-24 Hui Zhu <teawater@gmail.com>
1978 * gdb.base/eval.exp: New file.
1980 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1982 * gdb.cell/fork.exp: New file.
1983 * gdb.cell/fork.c: Likewise.
1984 * gdb.cell/fork-spu.c: Likewise.
1986 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1988 * lib/gdb.exp (banned_variables_traced): New global variable.
1989 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1990 (gdb_init): Use `trace add variable' instead of obsolete
1993 2010-06-21 Doug Evans <dje@google.com>
1995 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1997 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1999 * gdb.arch/spu-ls.exp: New file.
2000 * gdb.arch/spu-ls.c: Likewise.
2002 2010-06-18 Stan Shebs <stan@codesourcery.com>
2004 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2006 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2008 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2009 * gdb.base/watch-cond.exp: Likewise.
2010 * gdb.python/py-breakpoint.exp: Likewise.
2012 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2014 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2015 clean_restart, make sure every test has a distinct message, and
2016 that messages don't include the executable' full path.
2018 2010-06-17 Doug Evans <dje@google.com>
2020 * gdb.arch/i386-size.exp: Updated expected output for
2021 DISASSEMBLY_OMIT_FNAME.
2023 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2024 Sergio Durigan Junior <sergiodj@redhat.com>
2026 * gdb.base/watch-notconst.c: New file.
2027 * gdb.base/watch-notconst.S: New file.
2028 * gdb.base/watch-notconst2.c: New file.
2029 * gdb.base/watch-notconst2.S: New file.
2030 * gdb.base/watch-notconst.exp: New file.
2031 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2032 (func4): Add operations on `global_ptr_ptr'.
2033 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2034 routine to test watchpoints created with a constant expression.
2035 (test_inaccessible_watchpoint): Include tests for watchpoints
2036 created with a constant expression.
2038 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2040 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2041 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2042 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2043 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2044 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2045 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2046 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2049 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2051 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2052 not supported on the target.
2053 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2054 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2055 * gdb.mi/mi-nsintrall.exp: Likewise.
2056 * gdb.mi/mi-nsmoribund.exp: Likewise.
2057 * gdb.mi/mi-nsthrexec.exp: Likewise.
2059 2010-06-11 Stan Shebs <stan@codesourcery.com>
2061 * gdb.base/permissions.exp: New file.
2063 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2065 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2066 does not support ELF executable class.
2068 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2070 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2072 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2074 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2075 (runto): Catch "The target does not support running in non-stop mode.".
2077 2010-06-11 Michael Snyder <msnyder@vmware.com>
2079 * gdb.base/setshow.exp (set language asm): Don't use
2080 gdb_test_no_output, fails on some targets.
2082 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2084 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2085 * gdb.cp/pr9167.exp: Likewise.
2087 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2089 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2091 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2093 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2095 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2097 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2099 2010-06-11 Tom Tromey <tromey@redhat.com>
2101 PR gdb/9977, PR exp/11636::
2102 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2103 (pieces_test_f6): Update expected output.
2105 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2107 * gdb.base/moribund-step.exp: New.
2109 2010-06-08 Michael Snyder <msnyder@vmware.com>
2111 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2112 * gdb.ada/boolean_expr.exp:
2113 * gdb.ada/frame_args.exp: Ditto.
2114 * gdb.ada/lang_switch.exp: Ditto.
2115 * gdb.ada/ptype_arith_binop.exp: Ditto.
2116 * gdb.ada/ref_param.exp: Ditto.
2117 * gdb.ada/type_coercion.exp:Ditto.
2119 * gdb.asm/asm-source.exp: Ditto.
2121 * gdb.base/attach.exp: Ditto.
2122 * gdb.base/bitfields2.exp: Ditto.
2123 * gdb.base/call-signal-resume.exp: Ditto.
2124 * gdb.base/callfuncs.exp: Ditto.
2125 * gdb.base/commands.exp: Ditto.
2126 * gdb.base/dbx.exp: Ditto.
2127 * gdb.base/default.exp: Ditto.
2128 * gdb.base/dump.exp: Ditto.
2129 * gdb.base/exprs.exp: Ditto.
2130 * gdb.base/freebpcmd.exp: Ditto.
2131 * gdb.base/interrupt.exp: Ditto.
2132 * gdb.base/list.exp: Ditto.
2133 * gdb.base/long_long.exp: Ditto.
2134 * gdb.base/maint.exp: Ditto.
2135 * gdb.base/ptype.exp: Ditto.
2136 * gdb.base/return.exp: Ditto.
2137 * gdb.base/setshow.exp: Ditto.
2138 * gdb.base/sigbpt.exp: Ditto.
2139 * gdb.base/sigrepeat.exp: Ditto.
2141 * gdb.cp/classes.exp: Ditto.
2143 * gdb.dwarf2/dw2-restore.exp: Ditto.
2145 * gdb.gdb/selftest.exp: Ditto.
2147 * gdb.multi/base.exp: Ditto.
2148 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2150 * gdb.python/py-block.exp: Ditto.
2151 * gdb.python/py-prettyprint.exp: Ditto.
2152 * gdb.python/py-template.exp: Ditto.
2154 * gdb.server/ext-attach.exp: Ditto.
2155 * gdb.server/ext-run.exp: Ditto.
2156 * gdb.server/server-mon.exp: Ditto.
2158 * gdb.threads/fork-thread-pending.exp: Ditto.
2159 * gdb.threads/hand-call-in-threads.exp: Ditto.
2160 * gdb.threads/interrupted-hand-call.exp: Ditto.
2161 * gdb.threads/linux-dp.exp: Ditto.
2162 * gdb.threads/manythreads.exp: Ditto.
2163 * gdb.threads/print-threads.exp: Ditto.
2164 * gdb.threads/pthreads.exp: Ditto.
2165 * gdb.threads/schedlock.exp: Ditto.
2166 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2167 * gdb.threads/threadapply.exp: Ditto.
2169 2010-06-08 Michael Snyder <msnyder@vmware.com>
2171 * gdb.ada/exec_changed.exp:
2172 Use ".*" instead of "" as wildcard regexp.
2174 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2175 * gdb.base/call-ar-st.exp: Ditto.
2176 * gdb.base/checkpoint.exp: Ditto.
2177 * gdb.base/default.exp: Ditto.
2178 * gdb.base/dump.exp: Ditto.
2179 * gdb.base/ending-run.exp: Ditto.
2180 * gdb.base/fileio.exp: Ditto.
2181 * gdb.base/miscexprs.exp: Ditto.
2182 * gdb.base/pointers.exp: Ditto.
2183 * gdb.base/readline.exp: Ditto.
2184 * gdb.base/reread.exp: Ditto.
2185 * gdb.base/restore.exp: Ditto.
2186 * gdb.base/shlib-call.exp: Ditto.
2187 * gdb.base/valgrind-db-attach.exp: Ditto.
2188 * gdb.base/volatile.exp: Ditto.
2189 * gdb.base/watchpoints.exp: Ditto.
2191 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2193 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2194 * gdb.python/py-value.exp: Ditto.
2196 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2197 * gdb.trace/circ.exp: Ditto.
2198 * gdb.trace/collection.exp: Ditto.
2199 * gdb.trace/packetlen.exp: Ditto.
2200 * gdb.trace/passc-dyn.exp: Ditto.
2201 * gdb.trace/report.exp: Ditto.
2202 * gdb.trace/tfile.exp: Ditto.
2203 * gdb.trace/tfind.exp: Ditto.
2204 * gdb.trace/while-dyn.exp: Ditto.
2206 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2208 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2210 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2213 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2215 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2217 * gdb.cp/koenig.exp: Test for ADL operators.
2218 * gdb.cp/koenig.cc: Added ADL operators.
2219 * gdb.cp/operator.exp: New test.
2220 * gdb.cp/operator.cc: New test.
2222 2010-06-04 Michael Snyder <msnyder@vmware.com>
2224 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2225 * gdb.base/pending.exp: Ditto.
2227 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2229 2010-06-04 Doug Evans <dje@google.com>
2231 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2233 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2234 (enable_lookup_function): New function.
2236 2010-06-04 Tom Tromey <tromey@redhat.com>
2238 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2241 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2243 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2245 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2246 (empty verbose non-noisy clear, empty verbose noisy clear)
2247 (empty non-verbose noisy clear): Likewise.
2249 2010-06-03 Michael Snyder <msnyder@vmware.com>
2251 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2252 * gdb.base/display.exp: Ditto.
2253 * gdb.base/find.exp: Ditto.
2254 * gdb.base/ifelse.exp: Ditto.
2255 * gdb.base/multi-forks.exp: Ditto.
2256 * gdb.base/recurse.exp: Ditto.
2257 * gdb.base/setshow.exp: Ditto.
2258 * gdb.base/value-double-free.exp: Ditto.
2259 * gdb.base/watch-vfork.exp: Ditto.
2260 * gdb.base/watch_thread_num.exp: Ditto.
2261 * gdb.base/watchpoint-solib.exp: Ditto.
2262 * gdb.base/watchpoint.exp: Ditto.
2263 * gdb.base/watchpoints.exp: Ditto.
2265 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2266 * gdb.cp/overload.exp: Ditto.
2267 * gdb.cp/virtfunc.exp: Ditto.
2269 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2271 * gdb.reverse/watch-precsave.exp:
2272 Replace gdb_test with gdb_test_no_output.
2274 * gdb.threads/attach-into-signal.exp:
2275 Replace gdb_test with gdb_test_no_output.
2276 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2277 * gdb.threads/watchthreads.exp: Ditto.
2278 * gdb.threads/watchthreads2.exp: Ditto.
2280 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2281 * gdb.trace/tfind.exp: Ditto.
2283 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2285 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2286 successful test if message is the empty string.
2288 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2290 * gdb.fortran/module.exp (stopped language detection): New test.
2292 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2294 Support DW_TAG_module as separate namespaces.
2295 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2296 gdb.fortran/library-module-lib.f90: New.
2297 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2299 (continue to breakpoint: i-is-1, print var_i value 1)
2300 (continue to breakpoint: i-is-2, print var_i value 2)
2301 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2302 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2303 (complete `modmany, complete `modmany`, complete `modmany`var)
2304 (show language, setting breakpoint at module): New tests.
2305 * gdb.fortran/module.f90 (module mod): Remove.
2306 (module mod1, module mod2, module modmany, subroutine sub1)
2307 (subroutine sub2, program module): New.
2309 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2311 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2312 (print value of rUC, print value of rI, print value of UI): ... here.
2313 * gdb.cp/anon-union.exp (pass): Rename to ...
2314 (print z 2): ... here.
2316 2010-06-02 Michael Snyder <msnyder@vmware.com>
2318 * gdb.trace/actions.exp: Use gdb_test_no_output.
2319 * gdb.trace/circ.exp: Ditto.
2320 * gdb.trace/packetlen.exp: Ditto.
2321 * gdb.trace/save-trace.exp: Ditto.
2322 * gdb.trace/tracecmd.exp: Ditto.
2323 * gdb.trace/tsv.exp: Ditto.
2325 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2326 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2327 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2328 * gdb.threads/manythreads.exp: Ditto.
2329 * gdb.threads/print-threads.exp: Ditto.
2330 * gdb.threads/pthreads.exp: Ditto.
2331 * gdb.threads/schedlock.exp: Ditto.
2332 * gdb.threads/staticthreads.exp: Ditto.
2333 * gdb.threads/thread-specific.exp: Ditto.
2334 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2335 * gdb.threads/threadapply.exp: Ditto.
2336 * gdb.threads/watchthreads.exp: Ditto.
2337 * gdb.threads/watchthreads2.exp: Ditto.
2339 * gdb.python/py-block.exp: Use gdb_test_no_output.
2340 * gdb.python/py-prettyprint.exp: Ditto.
2341 * gdb.python/py-template.exp: Ditto.
2342 * gdb.python/py-value.exp: Ditto.
2344 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2345 * gdb.reverse/watch-reverse.exp: Ditto.
2347 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2348 * gdb.server/ext-run.exp: Ditto.
2350 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2351 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2352 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2353 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2354 * gdb.dwarf2/dw2-producer.exp: Ditto.
2355 * gdb.dwarf2/mac-fileno.exp: Ditto.
2357 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2358 * gdb.gdb/selftest.exp: Ditto.
2360 * gdb.multi/base.exp: Use gdb_test_no_output.
2362 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2364 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2366 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2368 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2370 * gdb.cp/class2.exp: Use gdb_test_no_output.
2371 * gdb.cp/classes.exp: Ditto.
2372 * gdb.cp/extern-c.exp: Ditto.
2373 * gdb.cp/inherit.exp: Ditto.
2374 * gdb.cp/maint.exp: Ditto.
2375 * gdb.cp/mb-inline.exp: Ditto.
2376 * gdb.cp/mb-templates.exp: Ditto.
2377 * gdb.cp/method2.exp: Ditto.
2378 * gdb.cp/misc.exp: Ditto.
2379 * gdb.cp/ovldbreak.exp: Ditto.
2380 * gdb.cp/punctuator.exp: Ditto.
2381 * gdb.cp/templates.exp: Ditto.
2382 * gdb.cp/virtbase.exp: Ditto.
2384 * gdb.threads/attach-stopped.exp:
2385 Replace uses of send_gdb / gdb_expect.
2386 * gdb.threads/attachstop-mt.exp:
2387 Replace uses of send_gdb / gdb_expect.
2388 * gdb.threads/gcore-thread.exp:
2389 Replace uses of send_gdb / gdb_expect.
2390 * gdb.threads/hand-call-in-threads.exp:
2391 Replace uses of send_gdb / gdb_expect.
2392 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2393 * gdb.threads/print-threads.exp:
2394 Replace uses of send_gdb / gdb_expect.
2395 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2396 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2397 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2399 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2400 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2401 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2402 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2403 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2404 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2405 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2406 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2407 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2408 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2409 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2411 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2413 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2415 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2417 * gdb.cp/koenig.exp: Added new test case.
2418 * gdb.cp/koenig.cc: Ditto.
2420 2010-06-01 Michael Snyder <msnyder@vmware.com>
2422 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2423 * gdb.base/arrayidx.exp: Ditto.
2424 * gdb.base/attach.exp: Ditto.
2425 * gdb.base/auxv.exp: Ditto.
2426 * gdb.base/bigcre.exp: Ditto.
2427 * gdb.base/break-always.exp: Ditto.
2428 * gdb.base/break-interp.exp: Ditto.
2429 * gdb.base/break.exp: Ditto.
2430 * gdb.base/breakpoint-shadow.exp: Ditto.
2431 * gdb.base/call-ar-st.exp: Ditto.
2432 * gdb.base/call-sc.exp: Ditto.
2433 * gdb.base/call-signal-resume.exp: Ditto.
2434 * gdb.base/callfuncs.exp: Ditto.
2435 * gdb.base/catch-syscall.exp: Ditto.
2436 * gdb.base/charset.exp: Ditto.
2437 * gdb.base/code-expr.exp: Ditto.
2438 * gdb.base/commands.exp: Ditto.
2439 * gdb.base/cond-expr.exp: Ditto.
2440 * gdb.base/condbreak.exp: Ditto.
2441 * gdb.base/cursal.exp: Ditto.
2442 * gdb.base/cvexpr.exp: Ditto.
2443 * gdb.base/default.exp: Ditto.
2444 * gdb.base/del.exp: Ditto.
2445 * gdb.base/detach.exp: Ditto.
2446 * gdb.base/display.exp: Ditto.
2447 * gdb.base/ena-dis-br.exp: Ditto.
2448 * gdb.base/eval-skip.exp: Ditto.
2449 * gdb.base/foll-fork.exp: Ditto.
2450 * gdb.base/foll-vfork.exp: Ditto.
2451 * gdb.base/frame-args.exp: Ditto.
2452 * gdb.base/funcargs.exp: Ditto.
2453 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2454 * gdb.base/gdbvars.exp: Ditto.
2455 * gdb.base/help.exp: Ditto.
2456 * gdb.base/ifelse.exp: Ditto.
2457 * gdb.base/included.exp: Ditto.
2458 * gdb.base/list.exp: Ditto.
2459 * gdb.base/macscp.exp: Ditto.
2460 * gdb.base/maint.exp: Ditto.
2461 * gdb.base/multi-fork.exp: Ditto.
2462 * gdb.base/overlays.exp: Ditto.
2463 * gdb.base/page.exp: Ditto.
2464 * gdb.base/pending.exp: Ditto.
2465 * gdb.base/pointers.exp: Ditto.
2466 * gdb.base/pr11022.exp: Ditto.
2467 * gdb.base/prelink.exp: Ditto.
2468 * gdb.base/printcmds.exp: Ditto.
2469 * gdb.base/psymtab.exp: Ditto.
2470 * gdb.base/randomize.exp: Ditto.
2471 * gdb.base/relational.exp: Ditto.
2472 * gdb.base/relocate.exp: Ditto.
2473 * gdb.base/remote.exp: Ditto.
2474 * gdb.base/sepdebug.exp: Ditto.
2475 * gdb.base/set-lang-auto.exp: Ditto.
2476 * gdb.base/setshow.exp: Ditto.
2477 * gdb.base/setvar.exp: Ditto.
2478 * gdb.base/signals.exp: Ditto.
2479 * gdb.base/signull.exp: Ditto.
2480 * gdb.base/sigstep.exp: Ditto.
2481 * gdb.base/sizeof.exp: Ditto.
2482 * gdb.base/solib-disc.exp: Ditto.
2483 * gdb.base/store.exp: Ditto.
2484 * gdb.base/structs.exp: Ditto.
2485 * gdb.base/structs2.exp: Ditto.
2486 * gdb.base/subst.exp: Ditto.
2487 * gdb.base/term.exp: Ditto.
2488 * gdb.base/trace-commands.exp: Ditto.
2489 * gdb.base/unwindonsignal.exp: Ditto.
2490 * gdb.base/valgrind-db-attach.exp: Ditto.
2491 * gdb.base/varargs.exp: Ditto.
2492 * gdb.base/watch-cond.exp: Ditto.
2493 * gdb.base/watch_thread_num.exp: Ditto.
2494 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2495 * gdb.base/watchpoint.exp: Ditto.
2496 * gdb.base/whatis-exp.exp: Ditto.
2498 2010-06-01 Michael Snyder <msnyder@vmware.com>
2500 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2501 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2502 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2503 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2504 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2505 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2506 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2507 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2508 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2509 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2510 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2511 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2512 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2513 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2514 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2516 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2518 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2520 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2521 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2522 (p *args): ... here and remove excessive trailing newline.
2524 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2526 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2528 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2530 Accept the new Linux kernel "t (tracing stop)" string.
2531 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2533 (state_wait) <T (tracing stop)>: New.
2534 (main): Update the state_wait expect string.
2536 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2538 * limits.c, limits.exp: Delete files.
2539 * Makefile.in (clean mostlyclean): Adjust.
2540 * tracecmd.exp: Adjust.
2542 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2544 * gdb.base/tui-layout.exp: New.
2546 2010-05-28 Michael Snyder <msnyder@vmware.com>
2548 * gdb.reverse/break-precsave.exp:
2549 Replace uses of send_gdb / gdb_expect.
2550 * gdb.reverse/break-reverse.exp:
2551 Replace uses of send_gdb / gdb_expect.
2552 * gdb.reverse/consecutive-precsave.exp:
2553 Replace uses of send_gdb / gdb_expect.
2554 * gdb.reverse/consecutive-reverse.exp:
2555 Replace uses of send_gdb / gdb_expect.
2556 * gdb.reverse/finish-precsave.exp:
2557 Replace uses of send_gdb / gdb_expect.
2558 * gdb.reverse/finish-reverse.exp:
2559 Replace uses of send_gdb / gdb_expect.
2560 * gdb.reverse/i386-precsave.exp:
2561 Replace uses of send_gdb / gdb_expect.
2562 * gdb.reverse/i386-reverse.exp:
2563 Replace uses of send_gdb / gdb_expect.
2564 * gdb.reverse/i386-sse-reverse.exp:
2565 Replace uses of send_gdb / gdb_expect.
2566 * gdb.reverse/i387-env-reverse.exp:
2567 Replace uses of send_gdb / gdb_expect.
2568 * gdb.reverse/i387-stack-reverse.exp:
2569 Replace uses of send_gdb / gdb_expect.
2570 * gdb.reverse/machinestate-precsave.exp:
2571 Replace uses of send_gdb / gdb_expect.
2572 * gdb.reverse/machinestate.exp:
2573 Replace uses of send_gdb / gdb_expect.
2574 * gdb.reverse/sigall-precsave.exp:
2575 Replace uses of send_gdb / gdb_expect.
2576 * gdb.reverse/sigall-reverse.exp:
2577 Replace uses of send_gdb / gdb_expect.
2578 * gdb.reverse/solib-precsave.exp:
2579 Replace uses of send_gdb / gdb_expect.
2580 * gdb.reverse/solib-reverse.exp:
2581 Replace uses of send_gdb / gdb_expect.
2582 * gdb.reverse/step-precsave.exp:
2583 Replace uses of send_gdb / gdb_expect.
2584 * gdb.reverse/step-reverse.exp:
2585 Replace uses of send_gdb / gdb_expect.
2586 * gdb.reverse/until-precsave.exp:
2587 Replace uses of send_gdb / gdb_expect.
2588 * gdb.reverse/until-reverse.exp:
2589 Replace uses of send_gdb / gdb_expect.
2590 * gdb.reverse/watch-precsave.exp:
2591 Replace uses of send_gdb / gdb_expect.
2592 * gdb.reverse/watch-reverse.exp:
2593 Replace uses of send_gdb / gdb_expect.
2595 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2597 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2600 2010-05-27 Michael Snyder <msnyder@vmware.com>
2602 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2603 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2604 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2605 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2606 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2607 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2608 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2609 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2610 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2611 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2612 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2613 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2614 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2615 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2616 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2617 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2618 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2619 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2620 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2622 2010-05-26 Michael Snyder <msnyder@vmware.com>
2624 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2625 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2627 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2628 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2629 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2631 * gdb.reverse/consecutive-reverse.exp:
2632 Replace uses of send_gdb / gdb_expect.
2633 * gdb.reverse/consecutive-precsave.exp:
2634 Replace uses of send_gdb / gdb_expect.
2636 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2637 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2638 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2639 * gdb.mi/mi-ns-stale-regcache.exp:
2640 Replace uses of send_gdb / gdb_expect.
2641 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2642 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2643 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2644 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2645 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2646 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2647 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2648 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2649 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2651 2010-05-26 Michael Snyder <msnyder@vmware.com>
2653 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2655 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2657 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2658 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2659 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2660 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2661 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2662 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2663 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2664 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2665 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2667 2010-05-25 Tom Tromey <tromey@redhat.com>
2669 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2671 2010-05-25 Tom Tromey <tromey@redhat.com>
2673 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2675 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2676 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2678 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2680 * gdb.base/call-sc.exp (setup_kfails): Remove.
2681 (setup_compiler_kfails): Remove.
2682 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2684 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2685 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2686 (advancei): Fix setup_kfail argument order.
2687 * gdb.base/radix.exp: Fix setup_kfail argument order.
2688 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2690 * gdb.base/structs.exp (setup_kfails): Remove.
2691 (setup_compiler_kfails): Fix setup_kfail argument order.
2692 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2694 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2695 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2696 setup_kfail argument order.
2697 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2699 2010-05-25 Tom Tromey <tromey@redhat.com>
2701 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2703 2010-05-25 Michael Snyder <msnyder@vmware.com>
2705 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2706 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2707 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2708 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2709 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2710 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2711 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2712 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2713 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2714 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2715 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2716 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2717 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2718 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2719 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2720 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2721 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2722 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2723 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2724 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2725 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2726 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2727 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2728 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2729 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2730 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2731 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2732 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2733 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2734 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2735 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2736 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2737 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2738 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2739 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2740 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2741 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2742 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2743 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2744 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2745 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2746 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2747 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2748 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2749 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2750 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2751 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2752 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2754 2010-05-25 Doug Evans <dje@google.com>
2756 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2759 2010-05-21 Tom Tromey <tromey@redhat.com>
2761 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2763 * gdb.dwarf2/pieces.S: Update.
2764 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2766 2010-05-21 Tom Tromey <tromey@redhat.com>
2768 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2770 * gdb.dwarf2/pieces.c (struct C): New.
2772 * gdb.dwarf2/pieces.S: Replace.
2774 2010-05-21 Tom Tromey <tromey@redhat.com>
2776 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2779 2010-05-21 Tom Tromey <tromey@redhat.com>
2781 * gdb.dwarf2.pieces.exp: New file.
2782 * gdb.dwarf2.pieces.S: New file.
2783 * gdb.dwarf2.pieces.c: New file.
2785 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2786 Joel Brobecker <brobecker@adacore.com>
2788 * lib/gdb.exp (gdb_test_no_output): New function.
2789 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2790 when testing commands that should produce no output.
2792 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2794 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2795 parameter that we want to watch being a constant.
2797 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2799 * gdb.ada/cond_lang: New testcase.
2801 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2803 * lib/gdb.exp (banned_variables): New variable/constant.
2804 (gdb_init): Add write trace on variables listed in banned_variables.
2805 (gdb_finish): Remove write traces on variables listed in
2808 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2810 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2811 * gdb.cp/koenig.exp: Likewise.
2813 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2817 * gdb.python/py-value.exp (test_value_hash): New function.
2819 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2822 * gdb.base/gdb11530.c: New file.
2823 * gdb.base/gdb11530.exp: New file.
2825 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2827 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2828 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2830 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2832 * gdb.cp/koenig.exp: New test.
2833 * gdb.cp/koenig.cc: New test program.
2835 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2837 Remove the use of prms_id and bug_id throughout the testsuite.
2839 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2842 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2843 use a reference local variable.
2845 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2847 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2848 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2849 variable different_dir. Move debugfile into a full directory pathname
2850 under DIFFERENT_DIR.
2851 * lib/gdb.exp (separate_debug_filename): Remove.
2852 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2853 variable debug_dir and mkdir of it. Update function comments.
2855 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2859 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2862 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2864 * gdb.python/py-param.exp: New File.
2866 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2868 * gdb.base/default.exp: Fix "set language" test.
2870 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2872 PR breakpoints/11531.
2873 * gdb.base/gdb11531.c: New file.
2874 * gdb.base/gdb11531.exp: New file.
2876 2010-04-26 Tom Tromey <tromey@redhat.com>
2878 * gdb.base/completion.exp: Add tests for completion and deprecated
2881 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2883 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2884 (print /x char_array): Escape curly brackets.
2886 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2888 Fix deadlock on looped list of loaded shared objects.
2889 * gdb.base/solib-corrupted.exp: New.
2891 2010-04-23 Doug Evans <dje@google.com>
2893 * gdb.python/py-section-script.c: New file.
2894 * gdb.python/py-section-script.exp: New file.
2895 * gdb.python/py-section-script.py: New file.
2897 2010-04-20 Chris Moller <cmoller@redhat.com>
2901 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2902 * gdb.base/pr10179-a.c:
2903 * gdb.base/pr10179-b.c:
2904 * gdb.base/pr10179.exp: New files.
2906 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2908 Fix crashes on dangling display expressions.
2909 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2911 (lib_flags): Remove the "debug" keyword.
2912 (libsepdebug): New variable for iterating new loop.
2913 (save_pf_prefix): New variable wrapping the loop.
2914 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2915 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2917 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2919 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2921 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2924 * gdb.stabs/gdb11479.exp: New file.
2925 * gdb.stabs/gdb11479.c: New file.
2927 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2929 * gdb.base/charset.c (Strin16, String32): New variables.
2930 * gdb.base/charset.exp (gdb_test): Test correct display
2931 of 16 or 32 bit strings.
2933 2010-04-21 Chris Moller <cmoller@redhat.com>
2936 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2937 * gdb.cp/pr9167.cc: New file.
2938 * gdb.cp/pr9167.exp: New file.
2941 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2944 * gdb.pascal/gdb11492.pas: New file.
2945 * gdb.pascal/gdb11492.exp: New file.
2947 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2949 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2951 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2953 * gdb.ada/dyn_loc: New testcase.
2955 2010-04-20 Chris Moller <cmoller@redhat.com>
2959 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2960 * gdb.cp/pr10687.cc: New file.
2961 * gdb.cp/pr10687.exp: New file.
2964 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2965 Sergio Durigan Junior <sergiodj@redhat.com>
2967 * gdb.fortran/logical.exp: New testcase.
2968 * gdb.fortran/logical.f90: New file.
2970 2010-04-19 Doug Evans <dje@google.com>
2972 * gdb.base/help.exp (help source): Update expected output.
2974 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2976 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2977 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2978 gdb_exit and return.
2979 (executable): New variable.
2982 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2984 PR breakpoints/8554.
2986 * gdb.trace/save-trace.exp: Adjust.
2988 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2991 * gdb.arch/system-gcore.exp: New.
2992 * gdb.arch/gcore.c: Likewise.
2994 2010-04-15 Doug Evans <dje@google.com>
2996 * gdb.python/py-progspace.c: New file.
2997 * gdb.python/py-progspace.exp: New file.
2999 * gdb.base/source.exp: Add tests for "source -s".
3001 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3003 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3004 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3005 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3006 * gdb.python/py-mi.exp: New test for to_string returning None.
3008 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3010 * gdb.python/py-breakpoint.c: Make result global.
3012 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3014 Fix non-GNU make compatibility.
3015 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3017 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3019 * gdb.python/py-breakpoint.exp: New File.
3020 * gdb.python/py-breakpoint.C: Ditto.
3022 2010-04-08 Stan Shebs <stan@codesourcery.com>
3024 * gdb.trace/actions.exp: Clear default-collect.
3025 * gdb.trace/save-trace.exp: Clear default-collect.
3027 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3029 * gdb.python/py-value: Add null string variable.
3030 (test_lazy_string): Test zero length, NULL address lazy
3033 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3035 * gdb.arch/i386-avx.c: New.
3036 * gdb.arch/i386-avx.exp: Likewise.
3038 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3040 2010-04-06 Doug Evans <dje@google.com>
3042 * gdb.base/source-test.gdb: New file.
3043 * gdb.base/source.exp: Test source -v.
3045 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3047 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3049 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3051 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3052 within one line, unless it is followed by a double quote.
3053 * gdb.stabs/hppa.sed: Idem.
3054 * gdb.stabs/weird.def: Add char and String constants
3055 * gdb.stabs/weird.exp: Check for correct parsing of
3056 char and string constants.
3057 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3058 in .stabs to .stabx substitution.
3060 2010-04-05 Stan Shebs <stan@codesourcery.com>
3062 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3064 * gdb.trace/tfile.exp: Try to print them.
3066 2010-04-04 Stan Shebs <stan@codesourcery.com>
3068 * gdb.base/completion.exp: Update for new "info watchpoints".
3069 * gdb.base/default.exp: Ditto.
3070 * gdb.base/help.exp: Ditto.
3071 * gdb.base/watchpoint.exp: Ditto.
3072 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3074 2010-04-04 Stan Shebs <stan@codesourcery.com>
3076 * gdb.trace/tfile.exp: Sharpen tfind test.
3078 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3080 * gdb.base/break-entry.exp: New.
3082 2010-04-02 Hui Zhu <teawater@gmail.com>
3083 Michael Snyder <msnyder@vmware.com>
3085 * gdb.reverse/i386-sse-reverse.exp: New file.
3086 * gdb.reverse/i386-sse-reverse.c: New file.
3088 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3090 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3092 2010-04-01 Stan Shebs <stan@codesourcery.com>
3094 * gdb.trace/actions.exp: Tweak expected output.
3095 * gdb.trace/while-stepping.exp: Tweak expected output.
3097 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3099 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3101 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3103 * gdb.base/commands.exp: Adjust.
3104 * gdb.cp/extern-c.exp: Adjust.
3106 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3108 * gdb.trace/collection.c (local_test_func): Define a local struct,
3111 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3113 * gdb.trace/collection.exp (gdb_collect_args_test)
3114 (gdb_collect_argarray_test): XFAIL the tests that assume the
3115 argarray argument's elements are collected.
3117 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3119 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3120 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3122 2010-03-31 Stan Shebs <stan@codesourcery.com>
3124 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3125 and tracepoint conditionals.
3126 (gdb_verify_tracepoints): Delete unused return.
3128 2010-03-26 Keith Seitz <keiths@redhat.com>
3130 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3131 appear in the output before main.
3132 Remove KFAIL for gdb/2215 aka bz 9320.
3134 2010-03-30 Doug Evans <dje@google.com>
3136 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3138 * gdb.arch/amd64-dword.exp: Ditto.
3140 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3142 (break printf): Ditto.
3144 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3146 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3148 * gdb.cp/shadow.exp: Ditto.
3150 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3152 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3155 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3157 * gdb.trace/collection.exp (executable): New.
3159 (fpreg, spreg, pcreg): New.
3160 (test_register): Use gdb_test_multiple. Pass /x to print.
3161 (prepare_for_trace_test): New.
3162 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3163 (gdb_collect_args_test, gdb_collect_argstruct_test)
3164 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3165 prepare_for_trace_test.
3166 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3167 fpreg, spreg and pcreg.
3168 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3169 prepare_for_trace_test.
3170 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3171 try to detect tracing support here. Don't set breakpoints at
3172 `begin' or `end' here.
3173 <global scope>: Use clean_restart. Run to main before checking
3174 for tracing support. Check for for tracing support here.
3176 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3178 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3179 " as $displacement" to "seen displacement message".
3181 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3183 * gdb.trace/while-dyn.exp (executable): New variable.
3185 (test_while_stepping): New function. Move most tests here. Call
3186 it once for each of the while-stepping, stepping and ws aliases.
3188 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3190 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3191 that do not provide the tagless_struct type name at all.
3192 (test_print_anon_union): Do not check value of uninitialized
3193 union member. Do not use cp_test_ptype_class, so we can accept
3194 "long" as well as "long int".
3196 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3198 * gdb.trace/tfile.c (tohex, bin2hex): New.
3199 (write_error_trace_file): Hexify error description.
3201 2010-03-25 Stan Shebs <stan@codesourcery.com>
3203 * gdb.trace/tfile.c: Generate an additional trace file, improve
3205 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3206 files in a better way.
3208 2010-03-25 Keith Seitz <keiths@redhat.com>
3210 * gdb.java/jprint.exp: XFAIL printing of static class members
3211 because of GCC debuginfo problem.
3213 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3215 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3217 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3219 * gdb.base/completion.exp: Allow long instead of long int.
3220 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3221 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3223 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3224 * gdb.base/pointers.exp: Allow long instead of long int.
3225 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3226 * gdb.base/step-line.exp: Allow a directory before the source file name.
3228 2010-03-24 Tom Tromey <tromey@redhat.com>
3230 PR breakpoints/9352:
3231 * gdb.base/default.exp: Update.
3232 * gdb.base/commands.exp: Update.
3233 * gdb.cp/extern-c.exp: Test setting commands on multiple
3234 breakpoints at once.
3236 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3238 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3240 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3241 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3244 2010-03-24 Stan Shebs <stan@codesourcery.com>
3246 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3248 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3250 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3251 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3252 argument. Handle "short" and "long".
3253 (Top level): Pass overprototyped output for old_fptr and xptr.
3255 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3257 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3258 format strings and add casts to avoid compiler warnings.
3260 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3262 * lib/trace-support.exp (gdb_trace_setactions):
3263 Don't expect whitespace after ">" prompt.
3264 * gdb.trace/actions.exp: Adjust for output changes.
3265 * gdb.trace/while-stepping.exp: Likewise.
3267 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3269 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3272 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3274 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3277 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3279 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3280 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3282 2010-03-19 Stan Shebs <stan@codesourcery.com>
3284 * gdb.trace/ax.exp: New file.
3286 2010-03-19 Doug Evans <dje@google.com>
3288 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3291 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3292 named /usr/sbin/prelink<foo>.
3294 2010-03-18 Stan Shebs <stan@codesourcery.com>
3296 * gdb.trace/circ.exp: Test circular-trace-buffer.
3297 * gdb.trace/tfile.exp: Update tstatus test.
3299 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3301 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3302 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3304 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3306 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3308 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3310 * gdb.base/default.exp: Adjust the expected output of the finish
3311 and until commands when the inferior is not being run.
3313 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3315 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3316 * gdb.cp/nsusing.exp: Ditto.
3318 2010-03-15 Tom Tromey <tromey@redhat.com>
3320 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3321 * gdb.cp/userdef.cc (operator==): New function.
3322 (main): New locals mem1, mem2.
3324 2010-03-15 Jie Zhang <jie@codesourcery.com>
3326 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3327 Declare and use new loadtimeout variable.
3329 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3331 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3334 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3336 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3337 literal. Add missing endlines to prints to stderr.
3339 2010-03-12 Tom Tromey <tromey@redhat.com>
3342 * gdb.cp/m-static.exp: Add regression test.
3343 * gdb.cp/m-static.cc (method): New method.
3346 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3348 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3349 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3351 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3353 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3355 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3357 * lib/gdb.exp (skip_stl_tests): New.
3358 (gdb_compile): Symbian needs -ldl.
3359 (shlib_target_file): New.
3360 (shlib_symbol_file): New.
3361 (gdb_load_shlibs): Use shlib_target_file.
3362 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3363 * gdb.cp/exception.exp: Use skip_stl_tests.
3364 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3365 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3366 * gdb.cp/mb-templates.exp: Ditto.
3367 * gdb.base/commands.exp: Relax regexes.
3368 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3369 shlib_target_file and shlib_symbol_file.
3370 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3372 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3373 * gdb.base/solib-disc.exp: Use
3374 shlib_target_file and shlib_symbol_file.
3375 * gdb.base/unload.exp: Don't skip on symbian. Use
3376 shlib_target_file and shlib_symbol_file.
3377 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3379 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3381 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3382 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3383 Issue a tfind end before looking for a tracepoint frame.
3384 * gdb.trace/tfind.exp: Adjust tstatus output.
3385 Adjust disassembly output.
3386 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3388 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3390 * gdb.base/break-interp.exp: Create new displacement parameter value
3391 for the test_ld calls.
3392 (reach): New parameter displacement, verify its content. New push of
3393 pf_prefix "reach-$func:". Import global expect_out.
3394 (test_core): New parameter displacement, verify its content. New push
3395 of pf_prefix "core:". New command "set verbose on". Import global
3397 (test_attach): New parameter displacement, verify its content. New
3398 push of pf_prefix "attach:". New command "set verbose on". Import
3400 (test_ld): New parameter displacement, pass it to the reach, test_core
3401 and test_attach calls and verify its content in the "ld.so exit" test.
3402 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3403 (prelink): Update expected text, use gdb_test.
3405 2010-03-10 Doug Evans <dje@google.com>
3407 * gdb.base/checkpoint.exp: Fix comment.
3408 Lengthen timeout while doing >600 checkpoints test.
3409 Rename duplicate "kill all one" test to keep test names unique.
3411 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3413 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3415 2010-03-08 Keith Seitz <keiths@redhat.com>
3417 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3418 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3419 (dm_type_long): New function.
3420 (dm_type_unsigned_short): New function.
3421 (dm_type_unsigned_long): New function.
3422 (myint): New typedef.
3423 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3424 long, unsigned shor and long, operator char*, and typedef.
3425 (test_lookup_operator_functions): Add operator char* test.
3426 (test_paddr_operator_functions): Likewise.
3427 (test_paddr_overloaded_functions): Use probe values for
3428 short, long, and unsigned short and long.
3429 (test_paddr_hairy_functions): If the demangler probe detected
3430 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3432 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3433 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3434 and "print null_pmf".
3435 Add test "ptype a.*pmf".
3436 * gdb.cp/overload.exp: Allow optional "int" to appear with
3438 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3439 long expect value for men_overload1arg.
3440 Allow "int" to appear with "short" and "long".
3441 When testing "info break", add argument for main (void).
3442 Also allow "int" to appear with "short" and "long".
3443 Ditto with "unsigned" and "long long".
3444 * gdb.java/jmain.exp: Do not enclose methods names in single
3446 * gdb.java/jmisc.exp: Likewise.
3447 * gdb.java/jprint.exp: Likewise.
3448 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3450 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3451 * gdb.cp/exception.exp (backtrace after first throw)
3452 (backtrace after second throw): Allow a namespace before __cxa_throw.
3453 (backtrace after first catch, backtrace after second catch): Allow
3454 a namespace before __cxa_begin_catch.
3456 * gdb.cp/cpexprs.exp: New file.
3457 * gdb.cp/cpexprs.cc: New file.
3459 From Daniel Jacobowitz <dan@codesourcery.com>
3460 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3461 to use string_to_regexp.
3462 (ctor, dtor): New functions. Use them to match constructor
3463 and destructor function types.
3464 (Top level): Use runto_main.
3466 2010-03-05 Tom Tromey <tromey@redhat.com>
3468 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3470 (pp_ns.to_string): Likewise.
3472 2010-03-04 Keith Seitz <keiths@redhat.com>
3474 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3475 can be quoted. Test that both the filename and function/line
3476 portions can be quoted at the same time.
3478 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3480 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3482 2010-03-03 Doug Evans <dje@google.com>
3484 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3485 libc contains libpthread.
3487 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3488 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3489 of gdb_compile. Add another pattern to match android backtrace.
3491 2010-03-03 Tom Tromey <tromey@redhat.com>
3494 * gdb.base/printcmds.exp (test_printf): Add test.
3496 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3498 * gdb.arch/amd64-byte.exp: New.
3499 * gdb.arch/amd64-dword.exp: Likewise.
3500 * gdb.arch/amd64-pseudo.c: Likewise.
3501 * gdb.arch/amd64-word.exp: Likewise.
3502 * gdb.arch/i386-byte.exp: Likewise.
3503 * gdb.arch/i386-pseudo.c: Likewise.
3504 * gdb.arch/i386-word.exp: Likewise.
3506 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3508 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3509 types. Add structreg, bitfields, and flags registers.
3510 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3513 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3515 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3516 (load_description): Set architecture if defined.
3518 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3520 * gdb.python/py-frame.exp: Add read_var block tests.
3521 * gdb.python/py-frame.c (block): New function.
3523 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3524 Daniel Jacobowitz <dan@codesourcery.com>
3526 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3528 2010-02-25 David S. Miller <davem@davemloft.net>
3530 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3531 fix logic for setting all_syscalls_numbers.
3533 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3535 * Makefile.in: Add py-block and py-symbol.
3536 * gdb.python/py-symbol.exp: New File.
3537 * gdb.python/py-symtab.exp: New File.
3538 * gdb.python/py-block.exp: New File.
3539 * gdb.python/py-symbol.c: New File.
3540 * gdb.python/py-block.c: New File.
3542 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3545 * lib/gdb.exp (skip_python_tests): New function.
3546 * gdb.python/py-cmd.exp: Use skip_python_tests.
3547 * gdb.python/py-frame.exp: Likewise.
3548 * gdb.python/py-function.exp: Likewise.
3549 * gdb.python/py-prettyprint.exp: Likewise.
3550 * gdb.python/py-template.exp: Likewise.
3551 * gdb.python/py-type.exp: Likewise.
3552 * gdb.python/py-value.exp: Likewise.
3554 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3558 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3560 2010-02-19 Tom Tromey <tromey@redhat.com>
3562 PR c++/8693, PR c++/9496:
3563 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3566 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3568 Fix compatibility with m68k as.
3569 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3570 Use only /* comments */.
3572 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3574 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3575 * configure: Regenerate.
3577 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3579 * gdb.python/py-type.exp: Check for Python support.
3581 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3583 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3584 `regsub' syntax available.
3586 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3588 * gdb.base/shmain.c (main): Remove printf call.
3589 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3590 * gdb.base/unload.c (main): Make format of fprintf a string
3591 literal. Add missing endlines to prints to stderr.
3592 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3594 2010-02-17 Tom Tromey <tromey@redhat.com>
3596 * gdb.java/jprint.java (jprint.props): New field.
3597 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3599 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3601 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3604 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3606 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3607 creation to support remote host testing.
3609 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3611 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3612 Recognize "command not found".
3614 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3616 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3619 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3621 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3622 if arguments are not supported.
3624 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3626 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3627 be const or non-const.
3629 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3631 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3632 mi_send_resuming_command to send -exec-continue.
3634 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3636 * gdb.base/list.exp (test_list_filename_and_function): Add test
3638 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3640 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3641 Add KFAIL'd tests for PR gdb/11289.
3643 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3645 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3647 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3649 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3650 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3651 a temporary directory.
3653 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3655 * gdb.base/charset.exp: Use a single regular expression to match
3656 show host-charset and show target-charset output.
3658 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3660 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3661 "Illegal process-id" expect string more exact.
3662 (attach to digits-starting nonsense is prohibited): New.
3664 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 * gdb.base/prelink.exp (set verbose on): New.
3668 2010-02-12 Tomas Holmberg <th@virtutech.com>
3670 * mi-reverse.exp: New file. Test for reverse option to the
3671 following MI commands: exec-continue, exec-finish, exec-next,
3672 exec-step, exec-next-instruction, exec-step-instruction.
3674 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3676 * gdb.ada/ptype_tagged_param: New testcase.
3678 2010-02-08 Tom Tromey <tromey@redhat.com>
3681 * gdb.cp/overload.exp: Add tests.
3682 * gdb.cp/overload.cc (struct K): New.
3684 (main): Call new functions.
3685 (K::staticoverload): Define.
3687 2010-02-08 Chris Moller <moller@mollerware.com>
3690 * gdb.cp/pr10728-x.h: New file.
3691 * gdb.cp/pr10728-x.cc: New file.
3692 * gdb.cp/pr10728-y.cc: New file.
3693 * gdb.cp/pr10728.exp: New file.
3694 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3696 2010-02-08 Chris Moller <moller@mollerware.com>
3699 * gdb.cp/pr9067.exp: New
3700 * gdb.cp/pr9067.cc: New
3701 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3703 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3705 * lib/gdb.exp (gdb_test_timeout): New global variable.
3706 Set it to timeout if not already set.
3707 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3709 2010-02-05 Doug Evans <dje@google.com>
3711 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3714 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3717 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3719 2010-02-04 Tom Tromey <tromey@redhat.com>
3721 * gdb.cp/virtbase.exp: Make test case names unique.
3723 2010-02-02 Tom Tromey <tromey@redhat.com>
3725 * gdb.cp/virtbase.exp: Add regression tests.
3726 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3727 (main): Instantiate RHC.
3729 2010-02-02 Tom Tromey <tromey@redhat.com>
3731 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3732 type-printing change.
3734 2010-02-02 Tom Tromey <tromey@redhat.com>
3736 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3737 * gdb.cp/virtbase.cc: New file.
3738 * gdb.cp/virtbase.exp: New file.
3739 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3741 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3744 * gdb.threads/current-lwp-dead.c: Include features.h.
3746 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3748 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3750 * gdb.base/symbol-without-target_section.exp,
3751 gdb.base/symbol-without-target_section.c: New.
3753 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3755 * gdb.base/bigcore.exp: Reset increased timeout.
3756 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3758 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3760 * gdb.base/gcore.exp (capture_command_output): Use
3763 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3765 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3766 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3767 (Top level): Call it.
3769 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3771 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3773 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3775 * gdb.base/call-strs.exp, gdb.base/default.exp,
3776 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3777 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3778 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3779 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3780 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3781 * gdb.base/ending-run.exp: Correct restore of timeout.
3782 * gdb.base/page.exp: Remove unnecessary timeout setting.
3784 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3786 * gdb.ada/rec_return: New testcase.
3788 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3790 * gdb.ada/call_pn: New testcase.
3792 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3794 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3795 (Top level): Use it to resume.
3796 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3797 the Thumb mode displaced stepping error as unsupported.
3799 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3801 * gdb.cp/nsusing.exp: Added more tests.
3802 * gdb.cp/nsrecurs.exp: Ditto.
3803 * gdb.cp/nsusing.cc: Added test functions.
3804 * gdb.cp/nsrecurs.cc: Ditto.
3806 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3808 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3809 absolute directory pathnames in gdb.sum file.
3811 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3813 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3814 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3816 2010-01-26 Tom Tromey <tromey@redhat.com>
3819 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3822 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3824 * gdb.cp/nsrecurs.exp: New test.
3825 * gdb.cp/nsrecurs.cc: New test program.
3826 * gdb.cp/nsstress.exp: New test.
3827 * gdb.cp/nsstress.cc: New test program.
3828 * gdb.cp/nsdecl.exp: New test.
3829 * gdb.cp/nsdecl.cc: New test program.
3831 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3833 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3834 imported into file scope.
3835 Marked test as xfail.
3836 * gdb.cp/namespace-using.cc (marker5): New function.
3837 * gdb.cp/shadow.exp: New test.
3838 * gdb.cp/shadow.cc: New test program.
3839 * gdb.cp/nsimport.exp: New test.
3840 * gdb.cp/nsimport.cc: New test program.
3842 2010-01-25 Tom Tromey <tromey@redhat.com>
3845 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3846 with "set print null-stop on".
3848 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3850 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3851 Adjust it for DISASSEMBLY_OMIT_FNAME.
3853 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * gdb.dwarf2/member-ptr-forwardref.exp,
3857 gdb.dwarf2/member-ptr-forwardref.S: New.
3859 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3861 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3862 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3863 thread1_tid_mutex. Remove gdbstop_mutex handling.
3864 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3865 thread2_tid_mutex. Remove gdbstop_mutex handling.
3866 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3867 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3868 pthread_cond_wait conditionalizations by while loops.
3870 2010-01-20 Tom Tromey <tromey@redhat.com>
3873 * gdb.dwarf2/pr10770.exp: New file.
3874 * gdb.dwarf2/pr10770.c: New file.
3875 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3877 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3879 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3880 that target was removed, and the test always runs native anyway.
3882 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3884 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3885 gdb.base/watchpoint-cond-gone-stripped.c: New.
3887 2010-01-19 Tom Tromey <tromey@redhat.com>
3890 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3892 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3893 (main): Use AAA::SomeEnum.
3895 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3897 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3898 (test_ignore_count): Declare line_callme_body global.
3899 (run to breakpoint with ignore count): Use line_callme_body.
3900 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3901 (set line_main_hello, set line_main_return): Reindent.
3902 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3904 (continue to callee4): Use line_callee4_body.
3905 (check *stopped from CLI command): Use line_callee4_next.
3906 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3907 (set line_main_hello, set line_main_return): Reindent.
3908 (set line_callee4_head, set line_callee4_body): New.
3909 (continue to callee4): Use line_callee4_body.
3911 2010-01-18 Tom Tromey <tromey@redhat.com>
3914 * gdb.cp/casts.cc: Add new classes and variables.
3915 * gdb.cp/casts.exp: Test new operators.
3917 2010-01-18 Tom Tromey <tromey@redhat.com>
3918 Thiago Jung Bauermann <bauerman@br.ibm.com>
3920 * gdb.python/source2.py: New file.
3921 * gdb.python/source1: New file.
3922 * gdb.python/python.exp: Test "source" command.
3924 2010-01-15 Stan Shebs <stan@codesourcery.com>
3926 * gdb.trace/tfile.c: New file.
3927 * gdb.trace/tfile.exp: New file.
3929 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3931 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3933 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3935 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3937 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3939 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3940 (libfunc): New parameter action. Implement also selectable "sleep".
3941 * gdb.base/break-interp-main.c: Include assert.h.
3942 (libfunc): New parameter action.
3943 (main): New parameters argc and argv. Assert argc. Pass argv.
3944 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3945 (test_attach): New proc.
3946 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3947 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3949 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3951 * gdb.base/break-interp.exp (test_core): New proc.
3954 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3956 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3957 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3958 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3959 and gdb_compile_shlib. Use new -Wl compiler options.
3960 (dl bt, main bt): New tests.
3962 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 Support PIEs with no symfile_objfile.
3965 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3966 (test_ld): New parameter trynosym.
3967 (test_ld <$trynosym>): New block.
3969 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3971 * gdb.base/break-interp.exp: New file.
3973 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3975 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3976 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3977 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3979 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3980 * gdb.python/py-mi.exp: Add lazy string test.
3982 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3984 * lib/mi-support.exp (mi_check_thread_states): Handle
3985 core number in thread listing.
3987 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3989 * gdb.base/maint.exp: Adjust the expected output for the
3990 "maint print type" test. Use gdb_test_multiple instead of
3991 gdb_sent/gdb_expect.
3993 2010-01-11 Doug Evans <dje@google.com>
3995 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3996 from gdbserver_download. All callers updated.
3998 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4000 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4002 Implement binary numbers parsing.
4003 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4004 (test_integer_literals_rejected): New binary tests.
4006 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4008 * gdb.cell/configure: Regenerate.
4010 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4012 * gdb.base/corefile.exp: Move the core finding block out and call it as
4013 core_find, new variable $corefile, replace corefile by $corefile and
4014 [file tail $corefile] for usage vs. test names resp.
4015 * lib/gdb.exp (core_find): Move it as a new function here. New
4016 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4017 $destcore. Return "" on error.
4019 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4021 Workaround PR binutils/10802.
4022 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4025 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4027 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4029 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4031 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4032 call, to avoid interruption.
4034 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4036 * gdb.stabs/weird.def (args93): New.
4038 2010-01-07 Doug Evans <dje@google.com>
4040 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4042 2010-01-07 Tom Tromey <tromey@redhat.com>
4044 * gdb.base/source.exp: Use correct line number.
4046 2010-01-05 Stan Shebs <stan@codesourcery.com>
4048 * gdb.trace/tracecmd.exp: Test ftrace.
4050 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4052 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4054 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4056 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4057 "uint_for_mi_testing".
4059 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4061 Test indented comment in file being sourced.
4062 * gdb.base/commands.exp: Test indented comment in file being sourced.
4064 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4066 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4067 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4068 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4071 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4073 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4076 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4078 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4079 missing $after_stopped and comma (,) expectation.
4081 2009-12-31 Stan Shebs <stan@codesourcery.com>
4083 * gdb.trace/actions.exp: Test teval action.
4085 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4087 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4088 (top level): Call test_watchpoint_in_big_blob.
4089 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4091 (func3): Write to buf.
4093 2009-12-29 Stan Shebs <stan@codesourcery.com>
4095 * gdb.trace/actions.exp: Test default-collect.
4097 2009-12-28 Stan Shebs <stan@codesourcery.com>
4099 * gdb.trace/tsv.exp: New file.
4100 * gdb.base/completion.exp: Update ambiguous info output.
4102 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4104 * gdb.base/find.c (main): Reference search buffers.
4105 * gdb.base/included.c (main): Reference integer.
4106 * gdb.base/ptype.c (charfoo): Declare.
4107 (intfoo): Call charfoo.
4108 * gdb.base/scope0.c (useitp): New function.
4109 (usestatics): Use useitp.
4110 (useit): Add a type for val.
4111 * gdb.base/scope1.c (useit1): Take a pointer argument.
4112 (usestatics1): Update calls to useit1.
4113 * gdb.cp/call-c.cc: Declare foo.
4115 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4116 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4117 (main): Call C::ensureRefs and ensureOtherRefs.
4118 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4120 (ensureOtherRefs): New function.
4121 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4122 * gdb.cp/templates.cc (main): Call t5i.value.
4124 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4126 Fix compatibility with G++-4.5.
4127 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4128 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4129 (uncaught return): Remove.
4131 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4132 Phil Muldoon <pmuldoon@redhat.com>
4134 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4135 (bp_location13, bp_location14, bp_location17, bp_location18)
4136 (marker3_proto, marker4_proto): New variables.
4137 (breakpoint info): Update output.
4138 (run until breakpoint at marker3, run until breakpoint at marker4): New
4141 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4143 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4144 Replace the printf call of Y by provided "y-set-1" label. New block
4145 for the second shared library.
4146 * gdb.base/unload.exp: Compile also the second library, call
4147 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4148 (single pending breakpoint info): Rename to ...
4149 (pending breakpoint info before run): ... this extended test.
4150 (libfile2, libname2, libsrcfile2, libsrc2)
4151 (lib_sl2): New variables.
4152 (exec_opts): Set also SHLIB_NAME2.
4153 (pending breakpoint info on first run at shrfunc1)
4154 (pending breakpoint info on second run at shrfunc1)
4155 (pending breakpoint info on second run at shrfunc2)
4156 (print y from libfile, print y from libfile2): New tests.
4157 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4158 * gdb.base/unloadshr2.c: New.
4160 2009-12-22 Hui Zhu <teawater@gmail.com>
4162 * gdb.reverse/sigall-reverse.exp: Adjust.
4164 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4168 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4169 (main): Call do_bitfield_tests.
4170 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4172 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4174 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4175 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4176 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4177 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4178 gdb.modula2/unbounded1.c: Update copyright header.
4180 2009-12-10 Chris Moller <moller@mollerware.com>
4183 * gdb.cp/virtfunc2.exp: New tests
4184 * gdb.cp/virtfunc2.cc: New tests
4185 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4187 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4189 * gdb.reverse/i387-env-reverse.c: New file.
4190 * gdb.reverse/i387-env-reverse.exp: New file.
4191 * gdb.reverse/i387-stack-reverse.c: New file.
4192 * gdb.reverse/i387-stack-reverse.exp: New file.
4194 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4196 * gdb.python/py-type.exp (test_range): New test.
4198 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4202 * gdb.python/py-type.exp: New file.
4203 * gdb.python/py-type.c: New file.
4204 * Makefile.in: Add py-type.
4206 2009-12-03 Tom Tromey <tromey@redhat.com>
4208 * gdb.python/py-value.exp (test_parse_and_eval): New
4211 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4215 * gdb.base/pr11022.exp: New test.
4216 * gdb.base/pr11022.c: New test.
4218 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4220 Fix spurious false FAILs.
4221 * gdb.base/structs.c (chartest): New.
4222 (main): Fill-in chartest.
4223 * gdb.base/structs.exp (anychar_re, first): New.
4224 (start_structs_test): Import global anychar_re and first.
4225 New gdb_test call "set print elements 300; ${testfile}"
4226 (start_structs_test <$first>): New block.
4227 (any): Import global anychar_re. New variable ac. Use ${ac}.
4229 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4231 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4233 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4235 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4236 Force $srcfile file.
4237 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4239 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4241 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4242 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4243 * gdb.threads/watchthreads-reorder.exp: Likewise.
4245 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4249 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4250 "if", and "thread". Correct matching in the previous test.
4252 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4254 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4256 2009-11-23 Michael Snyder <msnyder@vmware.com>
4258 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4259 * gdb.reverse-watch-precsave.exp: Ditto.
4261 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4263 * gdb.asm/asm-source.exp: Adjust.
4264 * gdb.base/help.exp: Adjust.
4266 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4268 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4269 (do_syscall_tests_without_xml): Set data-directory to
4270 /the/path/to/nowhere.
4272 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4274 * gdb.threads/local-watch-wrong-thread.c,
4275 gdb.threads/local-watch-wrong-thread.exp: New files.
4277 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4279 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4280 assume new `regsub' syntax available.
4282 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4284 * gdb.base/watchpoint-hw-hit-once.exp,
4285 gdb.base/watchpoint-hw-hit-once.c: New.
4287 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4289 * gdb.threads/watchthreads-reorder.exp,
4290 gdb.threads/watchthreads-reorder.c: New.
4292 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4294 * gdb.xml/tdesc-regs.exp: Use for m68k.
4296 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4298 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4300 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4302 * lib/gdb.exp (current_target_name): New procedure.
4303 (gdb_wrapper_target): New variable.
4304 (gdb_wrapper_init): Set gdb_wrapper_target.
4305 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4308 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4310 * gdb.base/remote.exp: Delete the slowest load test.
4311 Do not load with fixed packet sizes.
4313 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4315 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4317 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4319 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4320 srcfile when setting a breakpoint.
4322 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4324 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4327 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4329 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4331 * gdb.base/display.c (force_mem): New.
4332 (do_loops): Use it. Add breakpoint comments.
4333 (do_vars): Add a breakpoint comment.
4334 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4337 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4339 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4340 instead of a bare "run".
4342 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4344 * gdb.python/py-prettyprint.exp: Adjust.
4346 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4348 * lib/cell.exp (skip_cell_tests): Clean up test files before
4351 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4353 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4354 and the breakpoint menu. Do not call perror if a prompt is seen.
4355 Consume the following GDB prompt.
4356 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4357 * gdb.cp/namespace.exp: Use gdb_test.
4358 * gdb.cp/templates.exp: Use gdb_test.
4359 (test_template_breakpoints): Use gdb_test_multiple.
4361 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4363 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4364 (marker4): Reference values.
4366 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4368 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4371 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4373 * gdb.base/break.c (need_malloc): New.
4374 * gdb.base/constvars.c (main): Reference crass and crisp.
4375 * gdb.base/gdb1821.c (main): Reference bar.
4376 * gdb.cp/gdb1355.cc (main): Reference s1.
4377 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4379 * gdb.cp/hang2.cc (dummy2): Define.
4380 * gdb.cp/hang3.cc (dummy3): Define.
4381 * gdb.cp/m-data.cc (main): Reference shadow.
4383 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4384 Nathan Froyd <froydnj@codesourcery.com>
4386 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4389 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4391 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4392 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4393 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4394 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4395 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4396 * gdb.dwarf2/dw2-producer.exp: Likewise.
4397 * gdb.dwarf2/mac-fileno.exp: Likewise.
4398 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4399 py-prettyprint.py to the remote host.
4400 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4402 2009-11-11 Keith Seitz <keiths@redhat.com>
4404 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4405 use it instead of "Foo".
4406 * gdb.cp/classes.exp (do_tests): Add a test to access
4407 a method through a typedef'd class name.
4409 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4411 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4413 * gdb.base/pointers.exp: Likewise.
4414 * gdb.cp/ref-types.exp: Likewise.
4416 2009-11-11 Keith Seitz <keiths@redhat.com>
4418 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4420 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4422 (probe_demangler): Remove all single-quoting of
4423 method and variable names.
4424 (info_func_regexp): Remove the word "void" from any
4425 occurrence of "(void)".
4426 (print_addr_2): Remove all single-quoting of
4428 (print_addr_2_kfail): Likewise.
4429 (print_addr): Single-quote C function names before
4430 passing to print_addr_2.
4431 (test_paddr_operator_functions): Remove single-quoting
4433 Add tests for operator new[] and operator delete[].
4435 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4437 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4439 2009-11-09 Keith Seitz <keiths@redhat.com>
4441 * gdb.cp/overload.exp: Add tests for resolving overloaded
4442 methods in expression parsing/evaluation.
4444 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4446 * lib/gdb.exp (default_gdb_version): Use --version instead of
4449 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4451 * lib/gdb.exp (gdb_compile_test): New.
4452 (skip_ada_tests, skip_java_tests): New.
4453 (gdb_compile): Use gdb_compile_test for f77.
4454 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4455 * lib/java.exp (compile_java_from_source): Remove runtests check,
4456 use gdb_compile_test to record result.
4457 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4458 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4459 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4460 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4461 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4462 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4463 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4464 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4465 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4466 adjust gdb_compile invocations.
4468 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4470 * Makefile.in (abs_builddir): New.
4471 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4472 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4473 `$(abs_builddir)/site.exp'.
4475 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4477 * config/m68k-emc.exp, lib/emc-support.exp,
4478 gdb.trace/gdb_c_test.c: Delete.
4479 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4480 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4481 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4482 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4483 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4484 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4485 casing for m68k-*-elf.
4487 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4489 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4490 * gdb.arch/i386-prologue.exp: Likewise.
4491 * gdb.arch/i386-unwind.exp: Likewise.
4493 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4495 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4497 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4499 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4501 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4503 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4505 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4507 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4509 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4511 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4512 * gdb.base/sepdebug2.c: New file.
4514 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4516 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4517 the modified warnings for catch syscall. Verify if GDB was compiled
4518 with support for lib expat, and choose which tests to run depending
4521 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4523 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4524 that composite commands are parsed OK. And also test
4525 that breakpoint commands do work.
4527 2009-10-23 Michael Snyder <msnyder@vmware.com>
4529 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4530 to allow for new disassembly style.
4532 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4534 * gdb.asm/asm-source.exp: Adjust.
4536 2009-10-22 Michael Snyder <msnyder@vmware.com>
4538 * gdb.reverse/break-precsave.exp: New test.
4539 * gdb.reverse/consecutive-precsave.exp: Ditto.
4540 * gdb.reverse/finish-precsave.exp: Ditto.
4541 * gdb.reverse/i386-precsave.exp: Ditto.
4542 * gdb.reverse/machinestate-precsave.exp: Ditto.
4543 * gdb.reverse/sigall-precsave.exp: Ditto.
4544 * gdb.reverse/solilb-precsave.exp: Ditto.
4545 * gdb.reverse/step-precsave.exp: Ditto.
4546 * gdb.reverse/until-precsave.exp: Ditto.
4547 * gdb.reverse/watch-precsave.exp: Ditto.
4549 2009-10-22 Michael Snyder <msnyder@vmware.com>
4551 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4552 for gdb_expect. Adjust one test's expect strings for the new
4553 format of disassemble.
4554 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4555 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4557 * gdb.reverse/step-reverse.exp: Delete 'return'.
4558 * gdb.reverse/until-reverse.exp: Delete blank lines.
4559 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4561 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4563 * gdb.base/consecutive.exp: Adjust.
4564 * gdb.base/display.exp: Likewise.
4565 * gdb.base/pc-fp.exp: Likewise.
4566 * gdb.base/sigbpt.exp: Likewise.
4568 2009-10-19 Michael Snyder <msnyder@vmware.com>
4570 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4571 * gdb.reverse/finish-reverse.c: Ditto.
4572 * gdb.reverse/sigall-reverse.c: Ditto.
4573 * gdb.reverse/solib-reverse.c: Ditto.
4574 * gdb.reverse/step-reverse.c: Ditto.
4575 * gdb.reverse/watch-reverse.c: Ditto.
4577 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4578 Stan Shebs <stan@codesourcery.com>
4580 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4581 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4582 "Executing new program".
4583 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4584 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4585 left listed after having been killed.
4586 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4587 * gdb.base/maint.exp: Adjust test.
4589 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4590 * gdb.multi/Makefile.in: New.
4591 * gdb.multi/base.exp: New.
4592 * gdb.multi/goodbye.c: New.
4593 * gdb.multi/hangout.c: New.
4594 * gdb.multi/hello.c: New.
4595 * gdb.multi/bkpt-multi-exec.c: New.
4596 * gdb.multi/bkpt-multi-exec.exp: New.
4597 * gdb.multi/crashme.c: New.
4599 2009-10-13 Tristan Gingold <gingold@adacore.com>
4601 * gdb.base/sepdebug.exp: Check debug info are found.
4603 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4605 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4608 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4610 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4612 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4614 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4617 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4619 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4620 * gdb.base/annota3.exp: Idem.
4621 * gdb.base/maint.exp: Idem.
4623 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4625 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4628 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4630 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4631 mingw and cygwin targets.
4633 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4634 Pedro Alves <pedro@codesourcery.com>
4636 * lib/gdb.exp (gdb_compile): Avoid adding
4637 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4639 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4641 * gdb.base/shr1.c: Use %p in format string.
4642 * gdb.base/unload.c: Avoid warning in fprintf.
4643 * gdb.base/watchpoint-solib.c: Idem.
4645 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4647 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4649 (test_unlink): Correct printf string.
4650 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4651 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4653 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4655 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4656 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4657 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4659 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4661 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4662 * gdb.objc/nondebug.exp: Likewise.
4664 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4666 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4667 target_info setting.
4669 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4670 that detect new threads during "info threads".
4672 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4674 * gdb.threads/manythreads.c (main): Increase thread stack size
4675 to 2*PTHREAD_STACK_MIN.
4676 * gdb.threads/multi-create.c (main): Likewise.
4677 (create_function): Likewise.
4679 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4681 * gdb.base/dump.exp: Pass difference of pointer types instead
4682 of integer types as offset to restore in intarr3.srec case.
4684 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4686 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4688 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4690 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4692 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4694 New test for two watchpoints, with disabling of
4696 * testsuite/gdb.base/watchpoints.c: New file.
4697 * testsuite/gdb.base/watchpoints.exp: New file.
4699 2009-09-25 Tom Tromey <tromey@redhat.com>
4701 * gdb.base/charset.exp: Test utf-16 strings with Python.
4703 2009-09-25 Tom Tromey <tromey@redhat.com>
4705 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4707 * gdb.base/charset.c (utf_32_string): Rename.
4708 (init_utf32): Rename.
4711 2009-09-22 Tom Tromey <tromey@redhat.com>
4713 * gdb.python/py-function.exp: Add regression tests.
4715 2009-09-21 Keith Seitz <keiths@redhat.com>
4717 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4718 with invalid operator.
4720 2009-09-21 Keith Seitz <keiths@redhat.com>
4722 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4723 and destructor using typedef name of class.
4724 * gdb.cp/classes.cc (class Base1): Add a destructor.
4725 (base1): New typedef.
4726 (use_methods): Instanitate an object of type base1.
4727 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4728 (do_tests): Call test_template_typedef.
4729 * gdb.cp/templates.cc (Baz::~Baz): New method.
4730 (intBazOne): New typedef.
4731 (main): Instantiate intBazOne.
4733 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4737 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4739 (run_lang_tests): Add print elements test.
4741 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4743 * gdb.python/py-value.exp (test_subscript_regression): New
4744 function. Test for invalid subscripts.
4745 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4746 (ptr_ref): New function.
4748 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4750 * gdb.base/default.exp: Fix "show convenience".
4752 2009-09-15 Tom Tromey <tromey@redhat.com>
4754 * lib/mi-support.exp (mi_create_varobj): Update.
4755 (mi_create_floating_varobj): Likewise.
4756 (mi_create_dynamic_varobj): New proc.
4757 (mi_varobj_update): Update.
4758 (mi_varobj_update_with_type_change): Likewise.
4759 (mi_varobj_update_kv_helper): New proc.
4760 (mi_varobj_update_dynamic_helper): Rewrite.
4761 (mi_varobj_update_dynamic): New proc.
4762 (mi_list_varobj_children): Update.
4763 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4764 * gdb.python/python-prettyprint.py (pp_outer): New class.
4765 (pp_nullstr): Likewise.
4766 (lookup_function): Register new printers.
4767 * gdb.python/python-prettyprint.c (struct substruct): New type.
4768 (struct outerstruct): Likewise.
4769 (substruct_test): New function.
4770 (struct nullstr): New type.
4771 (string_1, string_2): New globals.
4772 (main): Add new tests.
4773 * gdb.python/python-mi.exp: Added regression tests.
4774 * gdb.mi/mi2-var-display.exp: Update.
4775 * gdb.mi/mi2-var-cmd.exp: Update.
4776 * gdb.mi/mi2-var-child.exp: Update.
4777 * gdb.mi/mi2-var-block.exp: Update.
4778 * gdb.mi/mi-var-invalidate.exp: Update.
4779 * gdb.mi/mi-var-display.exp: Update.
4780 * gdb.mi/mi-var-cmd.exp: Update.
4781 * gdb.mi/mi-var-child.exp: Update.
4782 * gdb.mi/mi-var-block.exp: Update.
4783 * gdb.mi/mi-break.exp: Update.
4784 * gdb.mi/gdb701.exp: Update.
4786 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4788 * Makefile.in: Inclusion of catch-syscall object.
4789 * gdb.base/catch-syscall.c: New file.
4790 * gdb.base/catch-syscall.exp: New file.
4792 2009-09-12 Michael Snyder <msnyder@vmware.com>
4794 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4795 that can support reverse debuggnig.
4797 2009-09-11 Tom Tromey <tromey@redhat.com>
4799 * gdb.dwarf2/valop.S: New file.
4800 * gdb.dwarf2/valop.exp: New file.
4802 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4804 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4806 2009-09-10 Doug Evans <dje@google.com>
4808 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4809 Add $gdb_prompt to second breakpoint regexp.
4811 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4813 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4814 names, add missing ones.
4815 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4816 * gdb.python/py-frame.c: Rename from python-frame.c.
4817 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4819 * gdb.python/py-function.exp: Rename from python-function.exp.
4820 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4822 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4823 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4824 Adjust testfile name.
4825 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4826 * gdb.python/py-template.cc: Rename from python-template.cc.
4827 * gdb.python/py-template.exp: Rename from python-template.exp.
4828 Adjust testfile name.
4829 * gdb.python/py-value.c: Rename from python-value.c.
4830 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4833 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4835 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4837 (Second breakpoint address is valid on ia64)
4838 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4840 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4842 * gdb.base/ending-run.exp: Restrict regular expression matching
4843 line number to require closing brace following.
4845 2009-09-03 Doug Evans <dje@google.com>
4847 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4849 2009-09-02 Tom Tromey <tromey@redhat.com>
4851 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4853 2009-09-02 Tom Tromey <tromey@redhat.com>
4855 * gdb.dwarf2/callframecfa.exp: New file.
4856 * gdb.dwarf2/callframecfa.S: New file.
4858 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4860 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4861 gdb.base/solib-overlap-main.c: New.
4863 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4867 * gdb.base/bitfields.c (struct container, container): New.
4868 (main): Initialize it and call break5.
4869 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4871 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4873 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4874 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4876 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4878 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4880 2009-08-26 Michael Snyder <msnyder@vmware.com>
4882 * gdb.base/i386-reverse.c: New file.
4883 * gdb.base/i386-reverse.exp: New file.
4884 * gdb.base/Makefile.in: Add new files to be removed.
4886 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4888 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4889 environment-pwd for remote host.
4890 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4892 2009-08-24 Keith Seitz <keiths@redhat.com>
4894 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4895 Add two new C++ completer tests which limit the output to a
4898 2009-08-24 Michael Snyder <msnyder@vmware.com>
4900 * gdb.base/del.exp: Fix typo in comment.
4901 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4903 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4905 * configure: Regenerate.
4906 * gdb.hp/configure: Likewise.
4907 * gdb.hp/gdb.aCC/configure: Likewise.
4908 * gdb.hp/gdb.base-hp/configure: Likewise.
4909 * gdb.hp/gdb.compat/configure: Likewise.
4910 * gdb.hp/gdb.defects/configure: Likewise.
4911 * gdb.hp/gdb.objdbg/configure: Likewise.
4912 * gdb.stabs/configure: Likewise.
4914 2009-08-19 Doug Evans <dje@google.com>
4916 * gdb.base/gdbvars.c: New file.
4917 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4919 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4921 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4922 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4924 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4926 * gdb.base/default.exp: Adjust "set language test": it's now an
4927 enum command. Larger help string moved to "help set language".
4928 * gdb.base/help.exp: Adjust "help set language" expected output,
4929 now lists all known languages.
4931 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4933 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4934 all frame arguments.
4935 * gdb.arch/altivec-regs.exp: Likewise.
4937 2009-08-07 Tom Tromey <tromey@redhat.com>
4939 * gdb.base/setshow.exp: Add tests for changes to set language, set
4940 check range, and set check type.
4942 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4944 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4945 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4948 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4950 * configure.ac: Run gdb.cell tests when appropriate.
4951 * configure: Regenerate.
4952 * lib/cell.exp: New file.
4953 * gdb.cell: New directory.
4954 * gdb.cell/configure.ac: New file.
4955 * gdb.cell/configure: New file.
4956 * gdb.cell/Makefile.in: New file.
4957 * gdb.cell/arch.exp: New file.
4958 * gdb.cell/break.c: New file.
4959 * gdb.cell/break.exp: New file.
4960 * gdb.cell/break-spu.c: New file.
4961 * gdb.cell/bt.c: New file.
4962 * gdb.cell/bt2-spu.c: New file.
4963 * gdb.cell/bt-spu.c: New file.
4964 * gdb.cell/bt.exp: New file.
4965 * gdb.cell/coremaker.c: New file.
4966 * gdb.cell/coremaker-spu.c: New file.
4967 * gdb.cell/core.exp: New file.
4968 * gdb.cell/gcore.exp: New file.
4969 * gdb.cell/data.c: New file.
4970 * gdb.cell/data.exp: New file.
4971 * gdb.cell/data-spu.c: New file.
4972 * gdb.cell/ea-cache.exp: New file.
4973 * gdb.cell/ea-cache.c: New file.
4974 * gdb.cell/ea-cache-spu.c: New file.
4975 * gdb.cell/ea-standalone.c: New file.
4976 * gdb.cell/ea-standalone.exp: New file.
4977 * gdb.cell/ea-test.c: New file.
4978 * gdb.cell/ea-test.exp: New file.
4979 * gdb.cell/f-regs.exp: New file.
4980 * gdb.cell/mem-access.c: New file.
4981 * gdb.cell/mem-access.exp: New file.
4982 * gdb.cell/mem-access-spu.c: New file.
4983 * gdb.cell/ptype.exp: New file.
4984 * gdb.cell/registers.exp: New file.
4985 * gdb.cell/size.c: New file.
4986 * gdb.cell/sizeof.exp: New file.
4987 * gdb.cell/size-spu.c: New file.
4988 * gdb.cell/solib.exp: New file.
4989 * gdb.cell/solib-symbol.exp: New file.
4991 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4993 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4995 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4997 * gdb.base/float.exp: Handle VFP registers.
4999 2009-07-14 Michael Snyder <msnyder@vmware.com>
5001 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5002 to bring gdb to the beginning of the calling line.
5004 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5005 confusing the i386 epilogue unwinder.
5007 2009-07-14 Stan Shebs <stan@codesourcery.com>
5009 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5011 2009-07-14 Michael Snyder <msnyder@vmware.com>
5013 * gdb.reverse/step-reverse.exp (stepi into function call):
5014 Call instruction may not be first instruction in the line.
5015 (reverse stepi from a function call): Used wrong line number.
5017 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5019 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5021 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5023 Fix gdb.base/macscp.exp when using custom inputrc.
5024 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5025 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5027 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5028 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5030 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5032 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5033 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5034 Change the compilation target to match the testcase name.
5035 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5037 * a2-run.exp: Use for setup prepare_for_testing. Change the
5038 compilation target to match the testcase name.
5039 * gdb.base/commands.exp: Likewise.
5040 * gdb.base/finish.exp: Likewise.
5041 * gdb.base/float.exp: Likewise.
5042 * gdb.base/info-target.exp: Likewise.
5043 * gdb.base/relational.exp: Likewise.
5044 * gdb.base/term.exp: Likewise.
5045 * gdb.base/until.exp: Likewise.
5046 * gdb.base/volatile.exp: Likewise.
5047 * gdb.base/whatis-exp.exp: Likewise.
5049 2009-07-11 Hui Zhu <teawater@gmail.com>
5051 * gdb.base/help.exp (disassemble): Update expected help text.
5053 2009-07-09 Tom Tromey <tromey@redhat.com>
5055 * lib/gdb.exp: Handle TRANSCRIPT.
5056 (remote_spawn, remote_close, send_gdb): New procs.
5058 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5060 * gdb.python/python-prettyprint.c: Add counted null string
5062 * gdb.python/python-prettyprint.exp: Print null string. Test for
5064 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5065 * gdb.python/python-value.exp (test_value_in_inferior): Add
5066 variable length string fetch tests.
5067 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5069 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5071 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5073 2009-07-07 Tom Tromey <tromey@redhat.com>
5075 * gdb.base/call-rt-st.exp: Update for change to escape output.
5076 * gdb.base/callfuncs.exp: Likewise.
5077 * gdb.base/charset.exp: Likewise.
5078 * gdb.base/constvars.exp: Likewise.
5079 * gdb.base/long_long.exp: Likewise.
5080 * gdb.base/pointers.exp: Likewise.
5081 * gdb.base/printcmds.exp: Likewise.
5082 * gdb.base/setvar.exp: Likewise.
5083 * gdb.base/store.exp: Likewise.
5084 * gdb.cp/ref-types.exp: Likewise.
5085 * gdb.mi/mi-var-child.exp: Likewise.
5086 * gdb.mi/mi-var-display.exp: Likewise.
5087 * gdb.mi/mi2-var-display.exp: Likewise.
5088 * gdb.base/charset.exp: Test octal escape sequence length.
5089 Update for change to escape output.
5091 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5093 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5095 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5097 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5099 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5101 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5102 gdbserver increasing $portnum if "Can't bind address" has been seen.
5104 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5106 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5109 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5111 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5114 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5116 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5117 linux. Adjust to use "inferior", "info inferiors", "detach
5118 inferior" and "kill inferior" instead of "restart", "info fork",
5119 "detach fork" and "delete fork".
5120 * gdb.base/ending-run.exp: Spell out "info".
5121 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5124 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5126 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5127 change to prefix TLS offset in hex with 0x.
5129 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5131 * gdb.base/default.exp: Update test case for "x" changes.
5133 2009-07-01 Tristan Gingold <gingold@adacore.com>
5135 * gdb.base/bigcore.exp: Make darwin untested.
5137 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5139 * gdb.base/completion.exp (directory completion): Create the directory.
5140 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5142 (directory completion 2): Expect now ${escapeuniquesub}.
5143 (Glob remaining of directory test): Remove one excessive newline.
5144 Expect the real output.
5146 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5148 Fix `make check//%' target after `make check' has been ran.
5149 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5151 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5154 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5156 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5157 the expected result record.
5159 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5161 Remove racy FAILs relying just on the timeouts.
5162 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5163 (annotation_level 2): Remove racy FAILs.
5165 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5168 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5170 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5172 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5174 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5176 * gdb.mi/mi-stack.exp: Testing symbolic options
5177 to -stack-list-locals and -stack-list-arguments.
5179 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5181 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5183 2009-06-29 Tom Tromey <tromey@redhat.com>
5185 * dg-extract-results.sh: New file.
5186 * Makefile.in (FORCE_PARALLEL): New variable.
5187 (CHECK_TARGET): New conditional variable.
5188 (check): Use CHECK_TARGET.
5189 (DO_RUNTEST): New variable.
5190 (check-single): New target.
5191 (TEST_DIRS): New variable.
5192 (TEST_TARGETS): Likewise.
5193 (check-parallel): New target.
5194 (check-gdb.%): New pattern.
5195 (BASE1_FILES): New variable.
5196 (BASE2_FILES): Likewise.
5197 (check-gdb.base%): New pattern.
5198 (%/.dir): New pattern.
5199 * configure: Rebuild.
5200 * aclocal.m4 (AM_CONDITIONAL): New defun.
5201 * configure.ac: Check whether user is using GNU make.
5202 (GMAKE): New conditional.
5204 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5206 * gdb.cp/namespace-nested-import.cc: New test.
5207 * gdb.cp/namespace-nested-import.exp: New test.
5209 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5211 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5212 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5213 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5214 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5215 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5216 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5217 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5218 gdb.opt/inline-markers.c: New files.
5219 * lib/gdb.exp (skip_inline_frame_tests): New function.
5220 (skip_inline_var_tests): New function.
5222 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5224 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5227 2009-06-27 Michael Snyder <msnyder@vmware.com>
5229 * gdb.reverse: New directory.
5230 * gdb.reverse/break-reverse.c: New test.
5231 * gdb.reverse/break-reverse.exp: New test.
5232 * gdb.reverse/consecutive-reverse.c: New test.
5233 * gdb.reverse/consecutive-reverse.exp: New test.
5234 * gdb.reverse/finish-reverse.c: New test.
5235 * gdb.reverse/finish-reverse.exp: New test.
5236 * gdb.reverse/machinestate.c: New test.
5237 * gdb.reverse/ms1.c: New test.
5238 * gdb.reverse/machinestate.exp: New test.
5239 * gdb.reverse/Makefile.in: New file.
5240 * gdb.reverse/shr2.c: New test.
5241 * gdb.reverse/solib-reverse.c: New test.
5242 * gdb.reverse/solib-reverse.exp: New test.
5243 * gdb.reverse/step-reverse.c: New test.
5244 * gdb.reverse/step-reverse.exp: New test.
5245 * gdb.reverse/until-reverse.c: New test.
5246 * gdb.reverse/ur1.c: New test.
5247 * gdb.reverse/until-reverse.exp: New test.
5248 * gdb.reverse/watch-reverse.c: New test.
5249 * gdb.reverse/watch-reverse.exp: New test.
5250 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5251 * configure: Regenerate.
5253 2009-06-26 Doug Evans <dje@google.com>
5255 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5257 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5259 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5260 windows problem for 'file delete $binfile'.
5262 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5264 * gdb.cp/namespace-using.exp: New test.
5265 * gdb.cp/namespace-using.cc: New test.
5267 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5269 * gdb.ada/variant_record_packed_array: New testcase.
5271 2009-06-23 Tom Tromey <tromey@redhat.com>
5273 * gdb.base/charset.exp (test_combination): Regression test.
5274 * gdb.base/charset.c (my_wchar_t): New typedef.
5275 (myvar): New global.
5278 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5280 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5283 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5285 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5287 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5289 * gdb.mi/gdb680.exp: Update test for error message.
5291 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5293 * gdb.base/annota1.exp: Allow multiple occurrences of the
5294 frames-invalid annotation.
5295 * gdb.cp/annota2.exp: Likewise.
5297 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5299 * gdb.cp/gdb2495.cc: New file.
5300 * gdb.cp/gdb2495.exp: New file.
5302 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5304 Report error on GDB crash during runto.
5305 * lib/gdb.exp (runto <eof>): New.
5307 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5309 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5310 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5311 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5312 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5313 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5314 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5315 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5316 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5317 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5318 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5319 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5320 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5321 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5322 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5323 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5324 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5325 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5326 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5327 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5328 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5329 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5330 gdb.trace/passcount.exp, gdb.trace/report.exp,
5331 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5332 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5333 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5336 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5338 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5339 defined before referencing it.
5341 2009-06-03 Doug Evans <dje@google.com>
5343 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5344 * gdb.arch/i386-see.c: Ditto.
5346 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5348 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5349 (check_macro): Return 1 if undefined.
5350 If first test fails, check if macro debug information is available,
5351 and report unsupported test if no macro information is found.
5353 2009-05-29 Doug Evans <dje@google.com>
5355 * gdb.threads/hand-call-in-threads.exp: New.
5356 * gdb.threads/hand-call-in-threads.c: New.
5358 2009-05-29 Michael Snyder <msnyder@vmware.com>
5360 * gdb.base/break-always.exp: Change "1" to "on".
5361 Add confirmation check.
5363 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5365 * gdb.threads/threxit-hop-specific.c: New.
5366 * gdb.threads/threxit-hop-specific.exp: New.
5367 * gdb.threads/thread-execl.c: New.
5368 * gdb.threads/thread-execl.exp: New.
5370 2009-05-27 Tom Tromey <tromey@redhat.com>
5371 Thiago Jung Bauermann <bauerman@br.ibm.com>
5373 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5374 (mi_child_regexp): Likewise.
5375 (mi_list_varobj_children_range): Likewise.
5376 (mi_get_features): Likewise.
5377 (mi_list_varobj_children): Rewrite.
5378 * gdb.python/python-mi.exp: New file.
5380 2009-05-27 Tom Tromey <tromey@redhat.com>
5381 Thiago Jung Bauermann <bauerman@br.ibm.com>
5382 Phil Muldoon <pmuldoon@redhat.com>
5383 Paul Pluzhnikov <ppluzhnikov@google.com>
5385 * gdb.python/python-prettyprint.exp: New file.
5386 * gdb.python/python-prettyprint.c: New file.
5387 * gdb.python/python-prettyprint.py: New file.
5388 * gdb.base/display.exp: print/r is now valid.
5390 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5391 Tom Tromey <tromey@redhat.com>
5392 Pedro Alves <pedro@codesourcery.com>
5393 Paul Pluzhnikov <ppluzhnikov@google.com>
5395 * gdb.python/python-template.exp: New file.
5396 * gdb.python/python-template.cc: New file.
5397 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5399 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5401 (test_value_after_death): New proc.
5402 * gdb.python/python-value.c (PTR): New typedef.
5403 (main): New variable 'x'.
5405 2009-05-27 Tom Tromey <tromey@redhat.com>
5407 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5409 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5412 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5414 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5416 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5418 * gdb.threads/fork-thread-pending.c: New.
5419 * gdb.threads/fork-thread-pending.exp: New.
5421 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5423 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5424 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5426 2009-05-18 Jon Beniston <jon@beniston.com>
5428 * gdb.asm/asm-source.exp: Add lm32 target.
5430 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5432 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5433 `gdb_get_line_number'. Call `callee' in both parent and child.
5434 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5435 `gdb_get_line_number' instead of hardcoding line numbers.
5436 (catch_fork_unpatch_child): New procedure to test detaching
5437 breakpoints from child fork.
5438 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5439 hardcoding line numbers.
5440 (do_fork_tests): Run `catch_fork_unpatch_child'.
5442 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5444 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5445 of structure type enters or leaves the scope, it
5446 is reported by -var-update.
5448 2009-05-11 Doug Evans <dje@sebabeach.org>
5450 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5451 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5452 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5454 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5456 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5458 2009-04-30 Doug Evans <dje@google.com>
5460 * gdb.threads/watchthreads2.exp: New testcase.
5461 * gdb.threads/watchthreads2.c: New testcase.
5463 2009-04-29 Doug Evans <dje@google.com>
5465 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5466 * gdb.cp/mb-ctor.cc: Ditto.
5467 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5468 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5469 * gdb.cp/mb-inline1.cc: Call it.
5470 * gdb.cp/mb-inline2.cc: Ditto.
5471 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5472 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5474 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5476 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5477 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5478 Replace all uses of `decimal' by `nonzero'.
5479 (info macro FROM_COMMANDLINE): New test.
5481 2009-04-27 Tom Tromey <tromey@redhat.com>
5483 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5485 2009-04-27 Doug Evans <dje@google.com>
5487 * gdb.threads/watchthreads.c (main): Initialize args before starting
5488 the threads. Plus formatting cleanup.
5489 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5490 biased scheduling of one thread.
5492 2009-04-27 Jerome Guitton <guitton@adacore.com>
5494 * gdb.cp/templates.cc (GetMax): New template.
5495 (main): Declare two instances of GetMax.
5496 * gdb.cp/templates.exp: Add new test.
5498 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5500 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5502 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5504 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5506 2009-04-15 Tom Tromey <tromey@redhat.com>
5508 * gdb.base/charset.exp: Add regression test.
5510 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5512 * gdb.base/exe-lock.exp: New testcase.
5514 2009-04-13 Tom Tromey <tromey@redhat.com>
5516 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5519 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5521 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5522 * gdb.server/ext-attach.exp: Likewise.
5524 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5526 Eliminate some sleep usage.
5528 * gdb.mi/basics.c (do_nothing): New.
5529 (main): Use do_nothing instead of printf, so that
5530 not to introduce race condition between output of
5531 inferiour and output of gdb. Do not use sleep as it
5532 is not generally available on embedded targets.
5534 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5536 * gdb.server/ext-attach.exp: Expect an optional process id after
5537 "Detached from remote process".
5539 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5541 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5542 gdb.dwarf2/dw2-unresolved.exp: New.
5544 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5546 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5549 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5551 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5552 mi_run_to_main. Skip thread exit test on remote targets.
5553 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5555 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5557 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5558 when expecting ^connected. Detect when the target doesn't support
5560 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5561 supported. Return -1 on error, 0 on success.
5562 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5563 (mi_runto): Return mi_runto_helper's result explicitly.
5565 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5567 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5569 2009-04-01 Tom Tromey <tromey@redhat.com>
5571 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5572 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5573 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5574 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5576 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5577 Jan Kratochvil <jan.kratochvil@redhat.com>
5580 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5582 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5584 * dw2-strp.S (DW_AT_language): Change to C++.
5585 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5587 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5589 * gdb.ada/tasks: New testcase.
5591 2009-03-30 Stan Shebs <stan@codesourcery.com>
5593 * gdb.trace/actions.exp: Update to match new info trace format.
5594 * gdb.trace/deltrace.exp: Ditto.
5595 * gdb.trace/infotrace.exp: Ditto.
5596 * gdb.trace/passcount.exp: Ditto.
5597 * gdb.trace/save-trace.exp: Ditto.
5598 * gdb.trace/while-stepping.exp: Ditto.
5599 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5601 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5603 * gdb.python/python-frame.c: New file.
5604 * gdb.python/python-frame.exp: New file.
5606 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5608 * gdb.python/python-value.exp: Add tests for the address
5611 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5613 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5615 2009-03-26 Doug Evans <dje@google.com>
5617 * gdb.mi/mi-nonstop-exit.exp: New file.
5618 * gdb.mi/non-stop-exit.c: New file.
5620 2009-03-26 Tom Tromey <tromey@redhat.com>
5622 Update for change to prologue skipping:
5623 * gdb.mi/mi2-simplerun.exp: Update.
5624 * gdb.mi/mi2-break.exp: Update.
5625 * gdb.mi/mi-simplerun.exp: Update.
5626 * gdb.mi/mi-break.exp: Update.
5627 * gdb.base/ending-run.exp: Update.
5629 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5631 * gdb.python/python-value.exp (test_value_in_inferior): Test
5632 gdb.Value.is_optimized_out attribute.
5634 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5636 * gdb.dwarf2/dw2-noloc-main.c: New file.
5637 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5640 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5641 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5642 (DW_TAG_subprogram func_cu1, noloc): Remove.
5644 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5645 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5646 (file_symbols): New procedure.
5648 2009-03-25 Tom Tromey <tromey@redhat.com>
5650 * gdb.base/charset.exp (valid_target_charset): New proc.
5651 Use it to skip tests on invalid charsets.
5653 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5655 * gdb.base/completion.exp: Add a test for directory completion.
5657 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5660 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5661 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5663 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5665 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5666 * gdb.python/python-function.exp: Add test for function returning
5669 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5671 * gdb.python/python-function.exp: New file.
5673 2009-03-20 Tom Tromey <tromey@redhat.com>
5675 * gdb.base/store.exp: Update for change to escape output.
5676 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5678 * gdb.base/pointers.exp: Update for change to escape output.
5679 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5681 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5683 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5685 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5687 * gdb.base/setvar.exp: Update for change to escape output.
5688 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5689 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5691 (test_print_string_constants): Likewise.
5692 * gdb.base/charset.exp (valid_host_charset): Check size of
5693 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5694 cases. Handle "auto"-related output.
5695 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5696 (uvar, Uvar): New globals.
5698 2009-03-19 Jerome Guitton <guitton@adacore.com>
5700 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5702 * gdb.ada/fixed_points.exp: Ditto.
5704 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5706 * return-nodebug.c: Don't include stdio.h.
5708 (func): Delete definition and provide extern declaration.
5710 (main): Don't call printf. Call func and store its result in t.
5711 * return-nodebug1.c: New.
5712 * return-nodebug.exp: Don't expect stdio output. Instead, print
5713 the global variable t. Drop printf formatters and cast types from
5714 foreach loop. Don't use prepare_for_testing. Compile
5715 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5716 define FORMAT or CAST.
5718 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5720 * gdb.base/solib-display.exp: Disable test for remote targers.
5722 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5724 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5726 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5729 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5730 code from `follow parent, print pids'.
5731 (`follow child, print pids', `follow parent, print pids'): Call it.
5732 Replace `gdb_test "break..."' by gdb_breakpoint.
5734 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5736 * gdb.mi/mi-cli.exp: Adjust for output difference in
5737 sync and async modes.
5739 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5741 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5742 that was checked in by mistake. Remove loading of ada.exp, since
5743 this is not necessary in this case.
5745 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5747 * gdb.ada/ptype_arith_binop.exp: New testcase.
5749 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5751 * gdb.ada/mod_from_name: New testcase.
5753 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5755 * gdb.ada/tick_last_segv: New testcase.
5757 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5759 * gdb.mi/mi-cli.exp: Remove debug print.
5761 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5763 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5764 include the token in ^running and frame info in *stopped.
5766 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5768 * solib-display.exp: New file.
5769 * solib-display-main.c: New file.
5770 * solib-display-lib.c: New file.
5772 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5774 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5776 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5778 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5779 (list_and_check_macro): Use more specific test name.
5780 (next to definition): Make the test names unique.
5782 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5784 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5786 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5788 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5790 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5791 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5792 * lib/mi-support.exp (library_loaded_re): New.
5793 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5795 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5797 * gdb.gdb/observer.exp: Use test_notification observer, not
5798 normal_stop, everywhere.
5799 (test_normal_stop_notifications): Rename to...
5800 (test_notifications): ...this.
5801 (test_observer_normal_stop): Rename to...
5802 (test_observer): ...this.
5804 2009-02-16 Doug Evans <dje@google.com>
5806 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5807 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5808 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5809 (test_prefixed_syscall,test_int3): New tests.
5810 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5811 (test_prefixed_syscall,test_int3): New tests.
5813 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5815 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5816 (mi_expect_interrupt): Likewise.
5817 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5820 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5822 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5823 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5824 Replace calls to get_valueofx by get_hexadecimal_valueof.
5826 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5828 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5829 (get_integer_valueof): New procedure.
5830 (get_sizeof): Use new get_integer_value_of.
5831 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5832 by get_integer_valueof.
5834 2009-02-13 Tom Tromey <tromey@redhat.com>
5836 * gdb.base/remote.exp (get_sizeof): Remove.
5837 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5838 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5839 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5840 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5841 (get_sizeof): Likewise.
5843 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5846 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5848 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5850 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5852 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5854 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5856 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5858 * gdb.python/python-cmd.exp: New file.
5860 2009-02-06 Tristan Gingold <gingold@adacore.com>
5862 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5864 2009-02-05 Tristan Gingold <gingold@adacore.com>
5866 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5867 pointer is dereferenced and use this signal name in regexp.
5868 * gdb.base/signull.exp: Ditto.
5869 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5870 * gdb.base/signull.c (main): Ditto.
5872 2009-02-04 Tom Tromey <tromey@redhat.com>
5873 Thiago Jung Bauermann <bauerman@br.ibm.com>
5875 * gdb.python/python-value.exp: Use `gdb.history' instead of
5876 `gdb.value_from_history'.
5877 (test_value_numeric_ops): Add test for conversion of enum constant.
5878 * gdb.python/python-value.c (enum e): New type.
5879 (evalue): New global.
5882 2009-02-04 Jerome Guitton <guitton@adacore.com>
5884 * gdb.ada/uninitialized_vars: New test program.
5885 * gdb.ada/uninitialized_vars.exp: New testcase.
5887 2009-02-02 Tom Tromey <tromey@redhat.com>
5889 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5890 * gdb.cp/pr2489.cc: Rename...
5891 * gdb.cp/pr9594.cc: ... to this.
5893 2009-02-02 Tom Tromey <tromey@redhat.com>
5895 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5896 * gdb.cp/pr2489.cc: New file.
5897 * gdb.cp/cpcompletion.exp: New file.
5899 2009-02-02 Tom Tromey <tromey@redhat.com>
5902 * gdb.cp/call-c.exp: Add regression test.
5903 * gdb.cp/call-c.cc (FooHandle): New typedef.
5904 (main): New variable 'handle'.
5906 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5908 * lib/mi-support.exp (et_mi_thread_list)
5909 (check_mi_and_console_threads): Adjust for current thread in
5910 -thread-list-ids output.
5912 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5914 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5917 2009-01-28 Doug Evans <dje@google.com>
5919 * gdb.arch/amd64-disp-step.S: New file.
5920 * gdb.arch/amd64-disp-step.exp: New file.
5921 * gdb.arch/i386-disp-step.S: New file.
5922 * gdb.arch/i386-disp-step.exp: New file.
5924 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5926 * gdb.base/find.exp: Set newline variable
5927 using quotes instead of braces to fix cygwin failures.
5929 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5931 * gdb.base/radix.exp: Add tests to ensure that that set
5932 input-radix 0 and set output-radix 0 are really rejected.
5934 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5936 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5939 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5942 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5944 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5947 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5949 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5951 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5952 binfile definition to fix Windows OS failure.
5954 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5957 * gdb.base/interrupt.c (sigint_handler): New.
5958 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5960 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5961 Test "signal SIGINT".
5963 2009-01-19 Doug Evans <dje@google.com>
5965 * gdb.base/break.exp: Update expected gdb output.
5966 * gdb.base/sepdebug.exp: Ditto.
5967 * gdb.mi/mi-syn-frame.exp: Ditto.
5968 * gdb.mi/mi2-syn-frame.exp: Ditto.
5969 * gdb.base/call-signal-resume.exp: New file.
5970 * gdb.base/call-signals.c: New file.
5971 * gdb.base/unwindonsignal.exp: New file.
5972 * gdb.base/unwindonsignal.c: New file.
5973 * gdb.threads/interrupted-hand-call.exp: New file.
5974 * gdb.threads/interrupted-hand-call.c: New file.
5975 * gdb.threads/thread-unwindonsignal.exp: New file.
5977 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5979 * gdb.base/define.exp: Test defining and hooking prefix commands.
5980 * gdb.python/python.exp: Update test for "show user" output.
5982 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5984 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5985 now the output exactly, using less wildcards. Expect also the output
5986 of gfortran-4.3. Update for the f-valprint.c modification from
5988 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5989 Remove gdb_test test names where matching the command.
5991 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5993 PR breakpoints/9681:
5994 * gdb.base/watchpoint.exp: Add regression test.
5996 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5998 * gdb.threads/attach-into-signal.exp: Don't use
5999 gdb_suppress_entire_file.
6000 * gdb.threads/attach-stopped.exp: Ditto.
6001 * gdb.threads/attachstop-mt.exp: Ditto.
6003 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6006 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6008 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6011 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6012 and unsupported output radices are really rejected.
6014 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6016 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6018 2008-12-22 Tom Tromey <tromey@redhat.com>
6020 * gdb.cp/punctuator.exp: New file.
6022 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6024 * gdb.base/completion.exp (Completing non-existing component): New test.
6026 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6028 Fix for PR gdb/8648.
6029 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6030 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6031 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6032 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6034 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6036 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6038 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6040 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6041 compiler actually generate code at the expected line number.
6043 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6045 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6047 2008-12-12 Tom Tromey <tromey@redhat.com>
6049 * gdb.base/commands.exp (redefine_hook_test): New proc.
6052 2008-12-11 Tom Tromey <tromey@redhat.com>
6054 * gdb.base/macscp.exp: New regression test.
6056 2008-12-11 Tom Tromey <tromey@redhat.com>
6058 * gdb.base/macscp.exp: Print "address.addr".
6059 * gdb.base/macscp1.c (struct outer): New struct.
6060 (address): New global.
6062 2008-12-09 Tom Tromey <tromey@redhat.com>
6064 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6067 2008-12-04 Doug Evans <dje@google.com>
6069 * gdb.server/ext-run.exp: Relax regexp for init program.
6071 2008-12-03 Tristan Gingold <gingold@adacore.com>
6073 * gdb.base/macscp.exp: Generate an object file during compilation
6074 to work around Darwin dsymutil limitations.
6076 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6078 Test resolving external references to TLS variables.
6079 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6081 (testfile2, srcfile2): New variables.
6082 * gdb.threads/tls.c (file2_thread_local)
6083 (function_referencing_file2_thread_local): New.
6084 * gdb.threads/tls2.c: New file.
6086 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6088 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6089 rather than integer, as integer might not be big enough when
6092 2008-11-27 Jerome Guitton <guitton@adacore.com>
6094 * gdb.cp/formatted-ref.exp: Add equality test.
6095 * gdb.ada/formatted_ref.exp: Ditto.
6097 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6099 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6100 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6102 2008-11-20 Andreas Schwab <schwab@suse.de>
6104 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6105 matching syscall entry point.
6106 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6107 (tcatch_vfork_then_child_follow): Likewise. Finish through
6108 vfork even if we stopped at the syscall trampoline.
6110 2008-11-20 Doug Evans <dje@google.com>
6112 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6114 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6116 * gdb.arch/ppc-dfp.exp: New file.
6117 * gdb.arch/ppc-dfp.c: New file.
6119 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6121 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6123 2008-11-17 Doug Evans <dje@google.com>
6125 * gdb.mi/mi-syn-frame.exp: Update expected output.
6126 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6128 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6130 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6131 "thread N" results in =thread-selected.
6132 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6133 (mi_send_resuming_command_raw): Be prepared for
6136 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6138 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6139 * lib/mi-support.exp: Likewise.
6141 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6143 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6144 commands from the expected output for "help catch".
6146 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6148 * gdb.ada/int_deref.exp: New testcase.
6150 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6152 * gdb.mi/gdb2549.exp: New file.
6154 2008-11-11 Doug Evans <dje@google.com>
6156 * gdb.base/callexit.exp: New file.
6157 * gdb.base/callexit.c: New file.
6159 2008-11-10 Doug Evans <dje@google.com>
6161 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6162 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6163 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6164 (default_gdb_start,default_gdb_exit): Ditto.
6165 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6166 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6167 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6168 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6169 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6170 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6172 2008-11-03 Andreas Schwab <schwab@suse.de>
6174 * gdb.base/hashline2.exp: Fix typo.
6175 * gdb.base/hashline3.exp: Likewise.
6177 2008-10-30 Tom Tromey <tromey@redhat.com>
6179 * gdb.base/pointers.exp: Add test.
6180 * gdb.base/pointers.c (k, S): New typedefs.
6181 (instance): New global.
6183 2008-10-30 Andreas Schwab <schwab@suse.de>
6185 * gdb.base/args.exp: Add tests for newlines.
6187 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6189 gdb.base/foll-exec.exp: Update the expected output of a couple
6190 of "info breakpoints" tests.
6192 2008-10-28 Tom Tromey <tromey@redhat.com>
6194 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6196 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6198 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6200 Use runto_main before any test that requires execution.
6202 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6204 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6207 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6209 * gdb.base/completion.exp: Update expected output following
6210 the addition of the "info tasks" command.
6212 2008-10-22 Tom Tromey <tromey@redhat.com>
6214 * gdb.base/exprs.exp (test_expr): Add test for string
6217 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6219 * configure.ac: Output gdb.python/Makefile.
6220 * configure: Regenerate.
6221 * gdb.python/Makefile.in: New.
6223 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6225 * gdb.base/foll-fork.exp: Adjust the expected output to match
6226 the new description for fork/vfork catchpoints in the "info
6227 breakpoints" output.
6229 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6231 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6233 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6235 * gdb.python/python-value.c: New file.
6236 * gdb.python/python-value.exp: New file.
6238 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6240 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6242 2008-10-15 Denis Pilat <denis.pilat@st.com>
6244 * gdb.cp/mb-ctor.exp: Fix a typo.
6246 2008-10-09 Tom Tromey <tromey@redhat.com>
6248 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6249 'fprintf' and 'stderr'.
6251 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6253 * gdb.ada/ref_tick_size.exp: New testcase.
6255 2008-10-06 Doug Evans <dje@google.com>
6257 * gdb.dwarf2/dw2-cu-size.exp: New file.
6258 * gdb.dwarf2/dw2-cu-size.S: New file.
6260 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6261 .Ltype_int for clarity.
6263 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6266 * gdb.cp/gdb2384.exp: Extended to test more cases.
6267 * gdb.cp/gdb2384.cc: Likewise.
6268 * gdb.cp/gdb2384-base.h: Likewise.
6269 * gdb.cp/gdb2384-base.cc: Likewise.
6271 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6273 * gdb.base/maint.exp (maint print type): Remove printing
6274 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6276 2008-09-30 Tom Tromey <tromey@redhat.com>
6278 * gdb.base/macscp.exp: Add completion tests.
6279 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6280 (TWENTY_THREE): Likewise.
6281 (FORTY_EIGHT): Likewise.
6283 2008-09-30 Tom Tromey <tromey@redhat.com>
6285 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6287 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6289 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6291 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6292 testcase is derived from. Fix racy dependency on an expected PID
6293 number. No longer support the testcase on Linux kernel 2.4.x.
6295 2008-09-27 Tom Tromey <tromey@redhat.com>
6297 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6300 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6302 * lib/mi-support.exp (mi_expect_interrupt): New.
6303 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6304 from gdb.mi/mi-nonstop.exp.
6305 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6306 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6308 Use mi_check_thread_states throughout. Avoid ".*" and do not
6309 require an anchor after -exec-run.
6311 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6313 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6314 stop is pending. Avoid ".*" when two stops are pending.
6315 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6316 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6317 newlines in fullnames.
6318 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6319 (mi_expect_stop): Update comments. Only anchor in sync mode.
6320 Do not match newlines.
6321 (mi_send_resuming_command_raw): Always return status.
6322 (mi_get_stop_line): Do not match more than one line by accident.
6323 Only anchor in sync mode.
6324 (mi_run_inline_test): If -exec-next fails, give up.
6326 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6328 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6331 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6333 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6335 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6337 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6338 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6339 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6340 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6341 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6342 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6343 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6344 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6345 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6346 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6347 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6348 Include the "= " sequence in the expected output of print tests.
6350 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6352 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6353 description for boolean types.
6355 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6357 * gdb.base/hook-stop-continue.c: New.
6358 * gdb.base/hook-stop-continue.exp: New.
6360 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6362 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6364 2008-09-08 Jerome Guitton <guitton@adacore.com>
6366 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6367 (stack_check_probe_2, stack_check_probe_loop_1)
6368 (stack_check_probe_loop_2): New functions.
6369 (main): Add call to these new functions.
6370 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6371 functions, check that the breakpoint is inserted at the appropriate
6373 (insert_breakpoint): Slightly refine this procedure so that it can
6374 be called several times in the test.
6376 2008-09-08 Jerome Guitton <guitton@adacore.com>
6378 * gdb.base/stack-checking.c: New file.
6379 * gdb.base/stack-checking.exp: New file.
6381 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6383 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6384 * gdb.arch/altivec-regs.exp: Likewise.
6385 * gdb.arch/vsx-regs.exp: Likewise.
6387 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6389 * gdb.arch/ppc-fp.exp: New file.
6390 * gdb.arch/ppc-fp.c: New file.
6392 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6394 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6395 lest gcc-4.3.1 optimizes the whole thing away.
6397 2008-09-04 Michael Snyder <msnyder@vmware.com>
6399 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6400 as "at" (for non-debug functions such as _start).
6402 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6404 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6405 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6406 software watchpoints.
6407 * gdb.base/watch_thread_num.exp: Likewise.
6409 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6411 * gdb.arch/i386-bp_permanent.exp: New test.
6413 2008-08-24 Tom Tromey <tromey@redhat.com>
6415 * gdb.base/maint.exp: Update "maint print type".
6417 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6419 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6420 support. Adjust the order of "*running" notifications.
6421 * gdb.mi/non-stop.c: Don't cast from int to void* and
6424 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6426 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6427 expect to find it in the "info frame" output.
6429 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6431 * gdb.base/interp.exp: Always consume both prompts.
6433 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6435 * gdb.base/pending.exp: Test pending breakpoints without symbols
6438 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6440 * lib/mi-support.exp (mi_expect_stop): Produce
6441 more details on failures.
6442 * gdb.mi/mi-nonstop.exp: New.
6443 * gdb.mi/non-stop.c: New.
6445 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6447 * gdb.mi/mi-async.exp: Use 'set target-async'.
6448 * lib/mi-support.exp: Use 'set/show target-async'.
6450 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6452 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6454 2008-08-17 Tom Tromey <tromey@redhat.com>
6456 * gdb.base/help.exp (help catch): Rewrite.
6458 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6460 * gdb.base/define.exp: Test indented command documentation.
6461 * gdb.python/python.exp: Test indented multi-line command.
6463 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6465 * testsuite/gdb.arch/vsx-regs.c: New source file.
6466 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6467 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6469 2008-08-14 Tom Tromey <tromey@redhat.com>
6471 * gdb.base/macscp.exp: Add regression test for "macro define" or
6472 "macro undef" with no arguments.
6474 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6476 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6478 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6480 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6482 2008-08-06 Tom Tromey <tromey@redhat.com>
6484 * gdb.python/python.exp: New file.
6486 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6488 Fix for PR gdb/1543.
6489 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6491 (location): New variable.
6492 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6493 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6494 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6495 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6496 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6497 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6498 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6499 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6500 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6501 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6502 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6503 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6504 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6505 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6506 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6507 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6508 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6509 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6510 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6511 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6512 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6513 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6514 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6515 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6516 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6517 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6518 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6519 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6520 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6521 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6522 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6523 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6524 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6525 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6526 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6527 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6528 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6529 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6530 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6531 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6532 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6533 gdb.base/type-opaque.exp, gdb.base/until.exp,
6534 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6535 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6536 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6537 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6538 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6539 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6540 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6541 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6542 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6543 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6544 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6545 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6546 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6547 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6548 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6549 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6550 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6551 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6552 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6553 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6554 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6555 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6556 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6557 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6558 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6559 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6560 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6561 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6562 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6563 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6564 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6565 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6566 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6567 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6568 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6569 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6570 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6571 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6572 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6573 to bug-gdb@prep.ai.mit.edu .
6575 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6577 * lib/mi-support.exp (mi_load_shlibs): New.
6578 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6580 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6582 * lib/mi-support.exp (get_mi_thread_list)
6583 (check_mi_and_console_threads): New, moved from ...
6584 * gdb.mi/mi-pthread.exp: ...here.
6585 * gdb.mi/gdb669.exp (get_mi_thread_list)
6586 (check_mi_and_console_threads): Delete.
6587 * gdb.mi/mi2-pthread.exp: Likewise.
6589 2008-07-28 Tom Tromey <tromey@redhat.com>
6591 * Makefile.in (just-check): Remove. Move body to...
6594 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6596 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6597 Add a test for duplicated SIGINTs.
6599 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6601 * gdb.threads/schedlock.exp (get_args): Update to work for any
6603 (Top level): Report the number of threads that did not resume.
6605 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6607 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6609 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6611 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6614 2008-07-26 Tom Tromey <tromey@redhat.com>
6616 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6617 (function_struct, function_struct_ptr): New globals.
6618 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6619 function pointer in a struct.
6621 2008-07-26 Tom Tromey <tromey@redhat.com>
6623 * gdb.base/macscp.exp: Add test for macro lexing bug.
6625 2008-07-18 Tom Tromey <tromey@redhat.com>
6627 * gdb.base/macscp.exp: Add macro tests.
6629 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6631 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6633 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6635 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6637 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6639 * gdb.cp/class2.exp: fix for failure on spu-elf
6641 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6643 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6645 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6647 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6649 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6651 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6653 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6655 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6656 of regexp to account for changes made to GDB in the printing of
6659 2008-07-11 Tom Tromey <tromey@redhat.com>
6661 * gdb.base/completion.exp: Add 'help' completion test.
6663 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6665 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6667 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6669 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6671 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6673 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6675 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6677 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6679 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6681 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6683 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6685 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6686 previous commit. Add a comment.
6688 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6690 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6692 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6694 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6696 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6698 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6699 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6700 compiling an executable, link in an object that forces unbuffered
6702 * lib/set_unbuffered_mode.c: New file.
6704 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6706 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6708 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6710 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6712 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6713 Demand that *running is output.
6714 (detect_async): Perform checking every time.
6715 (mi_send_resuming_command): Extract everything into...
6716 (mi_send_resuming_command_raw): ...this.
6717 (mi_expect_stop): Don't accept any output before *stopped.
6719 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6721 Robustify mi-simplerun.
6722 * gdb.mi/basics.c (main): Add a call to sleep.
6723 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6724 * gdb.mi/mi2-cli.exp: Likewise.
6725 * gdb.mi/mi-break.exp: Likewise.
6727 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6729 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6731 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6733 * gdb.mi/mi-console.exp: Adjust.
6734 * gdb.mi/mi-syn-frame.exp: Adjust.
6735 * gdb.mi/mi2-console.exp: Adjust.
6736 * gdb.mi/mi2-syn-frame.exp: Adjust.
6737 * lib/mi-support.exp (mi_run_cmd): Adjust.
6738 (mi_send_resuming_command): Adjust.
6740 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6742 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6743 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6745 * gdb.mi/mi2-syn-frame.exp: Likewise.
6746 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6747 (async, detect_async): New.
6748 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6749 depending on if we're running in sync or async mode.
6751 2008-06-09 Tom Tromey <tromey@redhat.com>
6753 * gdb.base/completion.exp: New tests for field name completion
6754 with spaces, and field name completion with '->'.
6756 2008-06-06 Tom Tromey <tromey@redhat.com>
6758 * gdb.base/break1.c (struct some_struct): New struct.
6759 (values): New global.
6760 * gdb.base/completion.exp: Add field name completion test.
6762 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6764 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6766 * gdb.cp/call-c.cc: Likewise.
6768 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6770 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6773 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6774 Pedro Alves <pedro@codesourcery.com>
6776 * gdb.threads/execl.c, gdb.threads/execl1.c,
6777 gdb.threads/execl.exp: New tests.
6779 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6780 Daniel Jacobowitz <dan@codesourcery.com>
6782 * gdb.cp/exception.exp: Activate test, make it work with pending
6785 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6787 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6789 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6791 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6793 * gdb.mi/mi2-var-cmd.exp: Likewise.
6795 2008-05-27 Andreas Schwab <schwab@suse.de>
6797 * gdb.base/frame-args.exp: Handle arguments that are optimized
6800 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6802 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6803 quiet for ppc32 and group options into a single variable.
6805 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6807 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6808 of zero-size elements.
6809 * gdb.ada/null_array.exp: Test printing this new array.
6811 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6813 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6815 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6817 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6818 of the "finish" command.
6820 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6822 * gdb.base/annota1.exp: Test for new annotation.
6824 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6826 * gdb.base/fixsection.exp: New file.
6827 * gdb.base/fixsection0.c: New file.
6828 * gdb.base/fixsection1.c: New file.
6830 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6832 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6833 * gdb.base/annota3.exp: Likewise.
6835 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6837 * gdb.base/watch_thread_num.exp: Don't run tests that require
6838 watchpoints if the target doesn't support them.
6840 2008-05-12 Doug Evans <dje@google.com>
6842 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6844 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6846 * gdb.ada/assign_1.exp: New testcase.
6848 2008-05-09 Doug Evans <dje@google.com>
6850 * gdb.base/find.exp: New file.
6851 * gdb.base/find.c: New file.
6853 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6855 * gdb.base/commands.exp (watchpoint_command_test): Handle
6856 gdb,no_hardware_watchpoints.
6857 * gdb.base/float.exp: Allow ARM targets without floating point.
6858 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6860 2008-05-06 Jerome Guitton <guitton@adacore.com>
6861 Joel Brobecker <brobecker@adacore.com>
6863 * gdb.ada/lang_switch: New test program.
6864 * gdb.ada/lang_switch.exp: New testcase.
6866 2008-05-05 Doug Evans <dje@google.com>
6868 * gdb.base/help.exp (disassemble): Update expected help text.
6870 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6872 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6874 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6876 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6879 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6881 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6882 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6883 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6884 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6886 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6888 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6889 notification to appear.
6891 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6893 * gdb.base/fullname.c: New file.
6894 * gdb.base/fullname.exp: New file.
6895 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6897 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6899 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6900 expressions with macros.
6902 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6904 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6906 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6908 * gdb.base/completion.exp: Handle lack of other symbols beginning
6911 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6913 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6915 * gdb.asm/asmsrc1.s: Add scratch space.
6917 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6918 Daniel Jacobowitz <dan@codesourcery.com>
6920 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6921 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6922 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6924 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6926 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6928 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6930 * gdb.base/info-target.exp: New testcase.
6932 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6934 * gdb.cp/hang.exp: Use .cc instead of .C.
6935 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6936 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6938 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6940 * gdb.base/gdb1250.exp: Remove perror.
6941 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6943 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6945 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6948 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6950 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6953 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6955 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6957 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6959 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6960 * gdb.mi/mi2-syn-frame.exp: Likewise.
6961 * lib/mi-support.exp: Likewise.
6963 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6965 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6966 to specify regexp for the location to stop at.
6967 * gdb.base/break-always.c: New.
6968 * gdb.base/break-always.exp: New.
6970 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6972 * lib/mi-support.exp (mi_runto_helper): Adjust
6973 for the original-location field.
6974 (mi_create_breakpoint, mi_list_breakpoints): New.
6975 * gdb.mi/mi-break.exp: Adjust.
6976 * gdb.mi/mi2-break.exp: Adjust.
6977 * gdb.mi/mi-pending.exp: Adjust.
6978 * gdb.mi/mi-simplerun.exp: Adjust.
6979 * gdb.mi/mi2-simplerun.exp: Adjust.
6980 * gdb.mi/mi-syn-frame.exp: Adjust.
6981 * gdb.mi/mi2-syn-frame.exp: Adjust.
6982 * gdb.mi/mi-until.exp: Adjust.
6983 * gdb.mi/mi2-until.exp: Adjust.
6984 * gdb.mi/mi-var-display.exp: Adjust.
6985 * gdb.mi/mi2-var-display.exp: Adjust.
6986 * gdb.mi/mi-watch.exp: Adjust.
6987 * gdb.mi/mi2-watch.exp: Adjust.
6989 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6991 * aclocal.m4: Add override.m4.
6992 * configure: Regenerate.
6994 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6996 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6997 '-var-update --all-values' reports new value even the type
6998 of a variable object has changed.
7000 2008-04-18 Craig Silverstein <csilvers@google.com>
7002 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7005 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7007 * gdb.ada/atomic_enum: New test program.
7008 * gdb.ada/atomic_enum.exp: New testcase.
7010 2008-04-17 Doug Evans <dje@google.com>
7012 * gdb.opt/Makefile.in: Fix whitespace.
7014 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7016 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7018 2008-04-17 Doug Evans <dje@google.com>
7020 * gdb.base/hashline1.exp: New testcase.
7021 * gdb.base/hashline2.exp: New testcase.
7022 * gdb.base/hashline2.exp: New testcase.
7024 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7026 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7028 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7030 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7031 temporary breakpoint to match "Temporary breakpoint".
7032 * gdb.base/break.exp (delete_breakpoints): Likewise.
7033 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7034 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7035 * gdb.base/display.exp: Likewise.
7036 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7037 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7038 * gdb.base/restore.exp (restore_tests): Likewise.
7039 * gdb.base/sepdebug.exp: Likewise.
7040 * gdb.base/watchpoint.exp: Likewise.
7041 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7042 * gdb.mi/mi-pending.exp: Likewise.
7043 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7044 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7045 * gdb.mi/mi-var-cmd.exp: Likewise.
7046 * gdb.mi/mi-var-display.exp: Likewise.
7047 * gdb.mi/mi2-cli.exp: Likewise.
7048 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7049 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7050 * gdb.mi/mi2-var-display.exp: Likewise.
7051 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7052 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7054 (mi_expect_stop): Move after_reason argument to be really after
7055 reason. This is to support fix for PR2424.
7057 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7059 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7061 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7063 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7064 field. Add more floating varobj tests.
7065 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7067 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7068 (main): Call do_at_tests.
7069 * lib/mi-support.exp (mi_create_floating_varobj)
7070 (mi_varobj_update_with_type_change): New.
7072 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7074 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7075 option of -var-evaluate-expression.
7076 * gdb.mi/mi2-var-display.exp: Likewise.
7078 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7080 Introduce test setup helpers.
7081 * lib/gdb.exp (build_executable, clean_restart)
7082 (prepare_for_testing): New.
7083 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7084 * gdb.base/return.exp: Likewise.
7085 * gdb.base/ending-run.exp: Likewise.
7087 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7089 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7090 Interface (MI) responses.
7092 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7094 * gdb.cp/breakpoint.cc: New code to test conditions involving
7096 * gdb.cp/breakpoint.exp: Test condition involving member
7099 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7101 * lib/mi-support.exp (mi_expect_stop): New.
7102 (mi_run_cmd): Change the
7103 token. Use mi_send_resuming_command, use
7105 (mi_execute_to_helper): Rename to mi_execute_to.
7106 (mi_send_resuming_command): Add more error patterns.
7107 (mi_wait_for_stop): Renamed to...
7108 (mi_get_stop_line): ...this.
7109 (mi_run_inline_test): Adjust.
7111 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7112 * gdb.mi/mi-console.exp: Likewise.
7113 * gdb.mi/mi-pending.exp: Likewise.
7114 * gdb.mi/mi-simplerun.exp: Likewise.
7115 * gdb.mi/mi-stack.exp: Likewise.
7116 * gdb.mi/mi-stepi.exp: Likewise.
7117 * gdb.mi/mi-syn-frame.exp: Add comment.
7118 * gdb.mi/mi-until.exp: Likewise.
7119 * gdb.mi/mi-var-display.exp: Likewise.
7120 * gdb.mi/mi-watch.exp: Likewise.
7121 * gdb.mi/mi2-cli.exp: Likewise.
7122 * gdb.mi/mi2-console.exp: Likewise.
7123 * gdb.mi/mi2-simplerun.exp: Likewise.
7124 * gdb.mi/mi2-stack.exp: Likewise.
7125 * gdb.mi/mi2-stepi.exp: Likewise.
7126 * gdb.mi/mi2-until.exp: Likewise.
7127 * gdb.mi/mi2-var-display.exp: Likewise.
7128 * gdb.mi/mi2-watch.exp: Likewise.
7130 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7132 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7134 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7136 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7138 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7139 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7140 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7141 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7142 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7143 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7144 expect an mi error duplicated in stderr.
7146 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7148 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7149 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7150 Add a couple of tests that verify the behavior when the new setting
7151 is set to "cancel" and "all".
7152 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7153 "ask" before we start the testing.
7155 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7157 * gdb.cp/casts.cc: Add class reference variables.
7158 * gdb.cp/casts.exp: New test cases for up/down casting references.
7160 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7162 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7163 instead of beginning to make an extra test pass.
7164 * gdb.mi/mi2-var-display.exp: Likewise.
7166 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7168 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7170 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7171 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7173 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7174 value. Add xfail for older kernels.
7176 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7178 Bring mi-support in line with gdb.exp.
7179 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7180 (mi_gdb_start): New function.
7182 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7184 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7186 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7188 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7189 * gdb.mi/mi2-var-display.exp: Likewise.
7191 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7193 * lib/mi-support.exp (mi_create_varobj_checked): New.
7194 (mi_list_varobj_children): Allow to check for a
7196 (mi_list_array_varobj_children): New.
7198 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7199 and mi_list_varobj_children, as opposed to hardcoding
7201 * gdb.mi/gdb701.exp: Likewise.
7202 * gdb.mi/gdb792.exp: Likewise.
7203 * gdb.mi/mi-var-block.exp: Likewise.
7204 * gdb.mi/mi-var-cmd.exp: Likewise.
7205 * gdb.mi/mi-var-invalidate.exp: Likewise.
7206 * gdb.mi/mi2-var-block.exp: Likewise.
7207 * gdb.mi/mi2-var-child.exp: Likewise.
7208 * gdb.mi/mi2-var-cmd.exp: Likewise.
7209 * gdb.mi/mi2-var-display.exp: Likewise.
7211 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7213 Fix random false FAILs on i386.
7214 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7216 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7219 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7221 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7224 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7226 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7228 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7231 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7233 * gdb.threads/fork-child-threads.exp: Test next over fork.
7235 2008-03-21 Chris Demetriou <cgd@google.com>
7237 * gdb.base/break.exp (rbreak junk): New test for rbreak
7238 "Junk at end of arguments" issue.
7240 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7242 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7243 *& to work on created array elements.
7244 (Top level): Test print $pc with a file. Test string operations
7246 * gdb.base/ptype.exp: Do not expect *& to work on created array
7249 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7251 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7252 gdb.threads/staticthreads.exp: Update exit query.
7254 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7256 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7258 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7260 * gdb.base/watchpoint.c (global_ptr, func4): New.
7262 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7263 (test_inaccessible_watchpoint): New.
7265 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7267 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7270 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7272 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7273 frames-invalid annotations.
7275 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7277 * gdb.base/assign.exp: avoid same output for different tests.
7279 2008-02-27 Doug Evans <dje@google.com>
7281 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7283 (breakpoint_to_handler_entry): Ditto.
7285 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7287 * gdb.base/ending-run.exp: Use the first line of code inside
7288 function body to test breakpoints.
7289 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7290 location where the breakpoint is inserted when using the line
7291 where a function is declared. Fix typo in the description of
7293 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7295 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7297 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7300 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7302 * gdb.base/args.exp: avoid same output for tests
7305 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7307 * gdb.base/annota1.exp: Adjust for 'info break'
7309 * gdb.base/annota3.exp: Likewise.
7310 * gdb.base/break.exp: Likewise.
7311 * gdb.base/condbreak.exp: Likewise.
7312 * gdb.base/pending.exp: Likewise.
7313 * gdb.base/sepdebug.exp: Likewise.
7314 * gdb.base/unload.exp: Likewise.
7315 * gdb.cp/ovldbreak.exp: Likewise.
7316 * gdb.mi/mi-pending.exp: Likewise.
7318 2008-02-07 Doug Evans <dje@google.com>
7320 * gdb.cp/mb-inline.exp: New.
7321 * gdb.cp/mb-inline.h: New.
7322 * gdb.cp/mb-inline1.cc: New.
7323 * gdb.cp/mb-inline2.cc: New.
7325 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7327 * gdb.pascal/floats.pas: New test program.
7328 * gdb.pascal/floats.exp: New testcase.
7330 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7332 * gdb.base/callfuncs.c (t_float_many_args): New function.
7333 (t_double_many_args): New function.
7334 * gdb.base/callfuncs.exp: Add tests for exceeding float
7335 and double parameters passed through the stack.
7337 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7339 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7340 gdb.ada/complete/foo.adb: New files.
7341 * gdb.ada/complete.exp: New testcase.
7343 2008-02-03 Doug Evans <dje@google.com>
7345 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7347 * gdb.cp/gdb2384.exp: New file.
7348 * gdb.cp/gdb2384.cc: New file.
7349 * gdb.cp/gdb2384-base.h: New file.
7350 * gdb.cp/gdb2384-base.cc: New file.
7352 2008-02-02 Doug Evans <dje@google.com>
7354 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7356 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7358 * gdb.ada/sym_print_name: New test program.
7359 * gdb.ada/sym_print_name.exp: New testcase.
7361 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7363 * gdb.ada/nested/hello.adb: New file.
7364 * gdb.ada/nested.exp: New testcase.
7365 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7367 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7369 * gdb.mi/basic.c (return_1): New function.
7370 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7371 don't cause future evaluations of function to report
7372 creation of internal breakpoints.
7374 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7376 * gdb.mi/mi-break.exp (test_error): New.
7379 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7381 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7382 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7384 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7386 * gdb.pascal/integers.pas: New test program.
7387 * gdb.pascal/integers.exp: New testcase.
7389 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7391 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7393 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7395 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7396 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7398 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7400 * gdb.ada/formatted_ref: New test program.
7401 * gdb.ada/formatted_ref.exp: New testcase.
7403 * gdb.cp/formatted-ref.cc: New file.
7404 * gdb.cp/formatted-ref.exp: New testcase.
7406 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7408 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7410 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7412 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7413 (test_file_list_exec_source_file): Update to new macro-info field.
7415 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7417 * gdb.ada/exprs: New test program.
7418 * gdb.ada/exprs.exp: New testcase.
7420 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7422 * dfp-test.c (DELTA, DELTA_B): New definitions.
7423 (double_val1, double_val2, double_val3, double_val4, double_val5,
7424 double_val6, double_val7, double_val8, double_val9, double_val10,
7425 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7426 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7427 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7428 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7429 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7430 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7431 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7432 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7433 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7434 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7435 dec128_val16): New global variables.
7436 (decimal_dec128_align): New function.
7437 (decimal_mixed): Likewise.
7438 (decimal_many_args_dec32): Likewise.
7439 (decimal_many_args_dec64): Likewise.
7440 (decimal_many_args_dec128): Likewise.
7441 (decimal_many_args_mixed): Likewise.
7442 * dfp-test.exp: Add tests calling new inferior functions.
7444 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7446 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7447 gdb.server/ext-run.exp: New files.
7448 * lib/gdbserver-support.exp (gdbserver_download): New.
7449 (gdbserver_start): New. Update gdbserver expected
7451 (gdbserver_spawn): Use them.
7452 (gdbserver_start_extended): New.
7454 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7456 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7458 (do_exec_tests): Check for systems which do not support catchpoints.
7460 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7461 Run on GNU/Linux. Enable verbose output.
7462 (check_fork_catchpoints): New.
7463 (explicit_fork_child_follow, catch_fork_child_follow)
7464 (tcatch_fork_parent_follow): Update expected messages.
7465 (do_fork_tests): Use check_fork_catchpoints.
7466 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7467 Run on GNU/Linux. Enable verbose output.
7468 (check_vfork_catchpoints): New.
7469 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7471 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7473 2008-01-29 Jim Blandy <jimb@red-bean.com>
7475 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7477 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7479 2008-01-29 Jim Blandy <jimb@red-bean.com>
7481 * gdb.threads/sigthread.c: Use barriers to ensure that
7482 child_thread and child_thread_two are always initialized before we
7485 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7487 * gdb.base/watchpoint-solib.exp: New.
7488 * gdb.base/watchpoint-solib.c: New.
7489 * gdb.base/watchpoint-solib-shr.c: New.
7491 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7493 * gdb.base/gdb1056.exp: Add unsigned integer test.
7495 2008-01-28 Doug Evans <dje@google.com>
7497 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7499 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7501 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7503 * gdb.base/expand-psymtabs.exp: Doc fix.
7505 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7507 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7509 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7511 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7514 2008-01-23 Chris Demetriou <cgd@google.com>
7516 * gdb.threads/thread_events.c: New testcase source file.
7517 * gdb.threads/thread_events.exp: New testcase expect file.
7519 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7521 * lib/gdb.exp: Add the variable octal.
7523 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7526 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7527 Vladimir Prus <vladimir@codesourcery.com>
7529 * gdb.base/float.exp: Allow missing floating point for m68k and
7532 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7534 * gdb.mi/basics.c: Setup for testing breakpoints
7536 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7537 * gdb.mi/mi-cli.exp: Adjust.
7538 * gdb.mi/mi2-cli.exp: Adjust.
7540 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7542 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7543 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7544 with dummy_ptr's address.
7545 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7546 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7548 * gdb.mi/mi2-var-child.exp: Likewise.
7550 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7552 * gdb.ada/null_array: New test program.
7553 * gdb.ada/null_array.exp: New testcase.
7555 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7557 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7558 with required float modifiers.
7560 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7562 * gdb.ada/funcall_param: New test program.
7563 * gdb.ada/funcall_param.exp: New testcase.
7565 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7567 * gdb.ada/arrayparam: New test program.
7568 * gdb.ada/arrayparam.exp: New testcase.
7570 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7572 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7573 landed. Should also fix random failures in the test following it.
7575 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7577 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7578 for expressions with decimal float values.
7579 (test_dfp_conversions): New function to test casts to and from
7580 decimal float types.
7581 Call test_dfp_conversions.
7582 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7584 (main): Initialize ds.float4 and ds.double8 elements.
7585 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7586 string to new error message.
7587 (d64_set_tests): Likewise.
7588 (d128_set_tests): Likewise.
7589 Add tests for expressions with decimal float variables. Add tests for
7590 conversions to and from decimal float types.
7592 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7594 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7595 * gdb.ada/packed_tagged.exp: New testcase.
7597 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7599 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7600 gdb.ada/homonym/homonym_main.adb: New files.
7601 * gdb.ada/homonym.exp: New testcase.
7603 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7605 * gdb.ada/packed_array.exp: Add testing of references to
7608 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7610 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7612 * gdb.ada/type_coercion.exp: New testcase.
7614 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7616 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7617 gdb.ada/tagged/foo.adb: New file.
7618 * gdb.ada/tagged.exp: New testcase.
7620 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7622 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7623 gdb.ada/ptype_field/foo.adb: New files.
7624 * gdb.ada/ptype_field.exp: New testcase.
7626 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7628 * gdb.ada/print_pc.exp: New testcase.
7630 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7632 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7633 gdb.ada/taft_type/p.adb: New files.
7634 * gdb.ada/taft_type.exp: New testcase.
7636 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7638 * gdb.ada/array_bounds/bar.adb: New file.
7639 * gdb.ada/array_bounds.exp: New testcase.
7641 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7643 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7644 gdb.ada/arrayptr/foo.adb: New files.
7645 * gdb.ada/arrayptr.exp: New testcase.
7647 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7649 * gdb.base/set-lang-auto.exp: New testcase.
7651 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7653 * gdb.ada/fun_addr/foo.adb: New file.
7654 * gdb.ada/fun_addr.exp: New testcase.
7656 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7658 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7661 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7663 * array_subscript_addr/p.adb: New file.
7664 * array_subscript_addr.exp: New testcase.
7666 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7668 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7670 * gdb.ada/str_cmp_ref.exp: New testcase.
7672 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7674 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7675 gdb.ada/fun_in_declare/foo.adb: New files.
7676 * gdb.ada/fun_in_declare.exp: New testcase.
7678 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7680 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7681 gdb.ada/ref_param/pck.ads: New files.
7682 * gdb.ada/ref_param.exp: New testcase.
7684 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7686 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7687 gdb.ada/interface/foo.adb: New files.
7688 * gdb.ada/interface.exp: New testcase.
7690 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7692 * gdb.base/multi-forks.exp: Consume all output from child
7693 processes before proceeding to next test.
7695 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7697 * configure: Regenerated.
7699 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7701 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7702 gdb.ada/fixed_cmp/fixed.adb: New files.
7703 * gdb.ada/fixed_cmp.exp: New testcase.
7705 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7707 * gdb.ada/boolean_expr.exp: New testcase.
7709 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7711 * gdb.base/multi-forks.exp: Doc fix.
7713 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7715 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7716 * gdb.ada/char_param.exp: Do not compile our test program with
7717 -gnata, this is unnecessary.
7718 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7720 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7722 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7723 gdb.ada/print_chars/foo.adb: New files.
7724 * gdb.ada/print_chars.exp: New testcase.
7726 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7728 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7729 gdb.ada/char_param/foo.adb: New files.
7730 * gdb.ada/char_param.exp: New testcase.
7732 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7734 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7735 hard-coding source line numbers into the test.
7736 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7737 gdb_get_line_number to find.
7739 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7741 * gdb.base/ptype.c (highest): New struct type.
7742 (the_highest): New variable of that type.
7743 (main): Add dummy assignment to a field of variable the_highest.
7744 * gdb.base/ptype.exp: Test type printing of our new variable.
7746 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7748 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7749 and record first explicitly generated thread number.
7750 Use that thread number for thread specific watchpoint test.
7751 Add iteration number to repetitive tests.
7753 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7754 Jim Blandy <jimb@codesourcery.com>
7756 * gdb.base/expand-psymtabs.c: New testcase
7758 * gdb.base/expand-psymtabs.exp: New testcase
7761 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7763 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7764 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7766 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7768 * gdb.ada/frame_args/foo.adb: New file.
7769 * gdb.ada/frame_args/pck.ads: New file.
7770 * gdb.ada/frame_args/pck.adb: New file.
7771 * gdb.ada/frame_args.exp: New testcase.
7773 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7775 * gdb.base/frame-args.c: New file.
7776 * gdb.base/frame-args.exp: New testcase.
7778 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7779 Joseph Myers <joseph@codesourcery.com>
7781 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7783 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7785 * gdb.mi/mi-pending.exp: New.
7786 * gdb.mi/mi-pending.c: New.
7787 * gdb.mi/mi-pendshr.c: New.
7789 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7791 * gdb.base/default.exp: Update expected output for 'info catch'.
7793 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7795 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7796 must be set to binary.
7798 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7800 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7802 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7804 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7805 gdb.mi/mi-file-transfer.exp: New.
7807 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7809 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7811 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7813 * gdb.trace/backtrace.exp: Fix a typo.
7814 * gdb.trace/circ.exp: Likewise.
7815 * gdb.trace/collection.exp: Likewise.
7816 * gdb.trace/limits.exp: Likewise.
7817 * gdb.trace/report.exp: Likewise.
7818 * gdb.trace/tfind.exp: Likewise.
7819 * gdb.trace/while-dyn.exp: Likewise.
7821 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7823 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7824 objects of pointers that can't be dereferenced are now
7827 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7829 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7830 (target_cpu): Remove.
7832 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7834 * gdb.base/ending-run.exp: Expect the list of cleared
7835 breakpoint to come in natural order, not the reversed one.
7837 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7839 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7840 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7842 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7844 * gdb.base/printcmds.exp: New function
7845 test_printf_with_dfp.
7847 2007-11-02 Doug Evans <dje@google.com>
7849 * gdb.disasm/t01_mov.s: Remove carriage returns.
7850 * gdb.disasm/t02_mova.s: Ditto.
7851 * gdb.disasm/t03_add.s: Ditto.
7852 * gdb.disasm/t04_sub.s: Ditto.
7853 * gdb.disasm/t05_cmp.s: Ditto.
7854 * gdb.disasm/t06_ari2.s: Ditto.
7855 * gdb.disasm/t07_ari3.s: Ditto.
7856 * gdb.disasm/t08_or.s: Ditto.
7857 * gdb.disasm/t09_xor.s: Ditto.
7858 * gdb.disasm/t10_and.s: Ditto.
7859 * gdb.disasm/t11_logs.s: Ditto.
7860 * gdb.disasm/t12_bit.s: Ditto.
7861 * gdb.disasm/t13_otr.s: Ditto.
7863 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7865 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7867 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7869 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7870 provide DFP support.
7872 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7874 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7875 Test "set powerpc vector-abi". Skip auto-detection tests for old
7878 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7880 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7881 with [string compare].
7883 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7885 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7886 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7888 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7890 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7891 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7892 * gdb.opt/Makefile.in: New makefile.
7893 * Makefile.in: Create new directory "gdb.opt".
7894 * configure.ac: Add "gdb.opt" directory.
7895 * configure: Regenerated.
7897 2007-10-25 Doug Evans <dje@google.com>
7899 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7900 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7902 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7903 Thiago Jung Bauermann <bauerman@br.ibm.com>
7905 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7906 Floating Point expressions.
7907 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7908 Floating Point variables.
7909 * gdb.base/dfp-test.c: new file containing program with Decimal
7910 Floating variables, used by gdb.base/dfp-test.exp.
7912 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7914 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7916 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7918 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7919 compiling test case with GCC.
7920 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7922 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7924 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7927 2007-10-18 Michael Snyder <msnyder@specifix.com>
7929 * gdb.base/dbx.exp: Add missing "-re " operator.
7931 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7933 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7934 * configure.ac: Removed trailing spaces after backslash.
7935 * gdb.modula2: New directory.
7936 * gdb.modula2/Makefile.in: New file.
7937 * gdb.modula2/unbounded-array.exp: New file.
7938 * gdb.modula2/unbounded1.c: New file.
7940 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7942 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7944 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7946 * gdb.base/sigstep.c (main): Add checks for
7947 return values for setitimer call.
7948 Call setitimer again with itimer = ITIMER_REAL
7949 if first call to setitimer fails.
7951 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7953 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7956 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7958 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7960 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7962 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7963 of gdb_expect call, to avoid interruption.
7965 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7967 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7968 (v_unsigned_long_long, v_long_long_array)
7969 (v_signed_long_long_array, v_unsigned_long_long_array)
7970 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7971 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7972 [!NO_LONG_LONG]: New.
7973 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7976 (v_long_long_func, v_signed_long_long_func)
7977 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7978 (main) [!NO_LONG_LONG]: Initialize long long variants.
7980 * gdb.base/whatis.exp: If board file requests no_long_long, build
7981 test with NO_LONG_LONG defined. Test long long, signed long long,
7982 and unsigned long long variants but only if board file doesn't
7985 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7986 Daniel Jacobowitz <dan@codesourcery.com>
7988 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7989 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7990 * configure: Regenerated.
7991 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7992 gdb.pascal/types.exp, lib/pascal.exp: New files.
7994 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7996 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7998 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7999 to return to the call.
8000 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8001 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8002 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8003 * gdb.mi/mi-until.exp (test_until): Likewise.
8004 * gdb.mi/mi2-until.exp (test_until): Likewise.
8006 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8008 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8010 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8012 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8014 * gdb.threads/watchthreads.c (thread_function): Sleep between
8016 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8017 at once for S/390. Generate matching fails and passes.
8019 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8021 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8022 the 'struct_declarations' variable to zeros.
8024 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8026 * gdb.cp/mb-ctor.cc: New.
8027 * gdb.cp/mb-ctor.exp: New.
8028 * gdb.cp/mb-templates.cc: New.
8029 * gdb.cp/mb-templates.exp: New.
8031 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8033 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8035 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8037 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8039 * configure: Regenerate.
8041 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8043 * gdb.base/annota1.exp: Adjust for 'info break'
8045 * gdb.base/annota3.exp: Likewise.
8046 * gdb.base/break.exp: Likewise.
8047 * gdb.base/condbreak.exp: Likewise.
8048 * gdb.base/pending.exp: Likewise.
8049 * gdb.base/sepdebug.exp: Likewise.
8050 * gdb.base/unload.exp: Likewise.
8051 * gdb.base/ovldbreak.exp: Likewise.
8053 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8055 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8057 * gdb.base/chng-syms.exp: Likewise.
8058 * gdb.base/unload.exp: Likewise.
8060 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8062 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8064 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8066 * schedlock.c (NUM): Change to 1.
8067 (main): Use args[0] for the main thread.
8068 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8069 regardless of the number of threads.
8071 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8073 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8075 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8077 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8078 watchpoint type down.
8079 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8082 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8084 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8085 Move all the tests here and run them twice, once using software
8086 watchpoints and once using hardware watchpoints.
8087 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8089 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8091 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8094 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8096 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8099 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8100 know about $ORIGIN. Calculate output dir from $dest instead of
8101 using ${objdir}/{$subdir}.
8103 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8105 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8106 gcore, before continuing with the test.
8108 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8110 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8111 * gdb.mi/mi-watch.exp: Likewise.
8113 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8114 Jim Blandy <jimb@codesourcery.com>
8116 * gdb.arch/i386-sse.exp: Do not expect character constants.
8117 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8118 * gdb.base/display.exp: Allow print/s.
8119 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8120 and unsigned char array changes.
8122 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8124 * gdb.base/display.exp: Add tests for printf %p.
8126 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8128 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8129 the dll name to unicode.
8131 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8133 * gdb.base/default.exp (show version): Update the version text.
8134 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8136 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8138 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8141 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8143 * lib/gdb.exp (build_id_debug_filename_get): New function.
8144 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8145 Remove the generate DEBUG file for the future testcase runs.
8146 New testcase for the NT_GNU_BUILD_ID retrieval.
8147 Move the final testing step to ...
8148 (test_different_dir): ... a new function.
8149 New parameter XFAIL to XFAIL all the tests performed.
8150 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8151 New parameter TYPE to PF_PREFIX all the tests performed.
8153 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8155 * gdb.mi/mi-var-cp.cc (path_expression): New
8157 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8159 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8161 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8162 to fit into SPU Local Store memory.
8164 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8166 * gdb.base/default.exp: Adjust the expected output of "info
8167 warranty" after the switch to GPLv3.
8169 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8171 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8172 to 30000 (from 20000).
8174 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8176 Switch the license of all .exp files to GPLv3.
8177 Switch the license of all .f and .f90 files to GPLv3.
8178 Switch the license of all .s and .S files to GPLv3.
8180 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8182 * configure.ac: Switch license to GPLv3.
8184 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8186 Switch the licensing to GPLv3 for all .ads and .adb files.
8188 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8190 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8192 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8194 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8196 * gdb.base/step-line.c: Switch license to GPL version 3, and
8197 update copyright year.
8198 * gdb.base/step-line.inp: Likewise.
8200 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8202 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8203 changes inside gdb1555.c.
8204 * gdb.base/pending.exp: Likewise.
8206 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8208 * config/default.exp: New file.
8210 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8212 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8213 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8215 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8217 * gdb.base/dump.exp: Force the correct endianness for binary
8218 formats not carrying this information.
8220 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8222 * gdb.threads/staticthreads.exp: Match .*sem_post.
8224 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8226 * gdb.base/readline.exp (operate_and_get_next): Match the final
8229 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8231 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8234 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8236 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8237 prior to `gdb_start'.
8239 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8241 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8242 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8243 Remove call to gdb_unload.
8245 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8246 Daniel Jacobowitz <dan@codesourcery.com>
8248 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8250 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8251 * gdb.base/unload.exp: Use shared library test routines.
8253 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8255 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8256 * gdb.base/solib-symbol-lib.c: Likewise.
8257 * gdb.base/solib-symbol-main.c: Likewise.
8259 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8261 * config/gdbserver.exp (gdb_reconnect): New.
8262 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8263 gdb.base/solib-disc.exp: New files.
8264 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8266 (gdb_compile): Add shlib_load flag.
8267 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8269 (gdbserver_reconnect): New.
8271 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8272 Daniel Jacobowitz <dan@codesourcery.com>
8274 * gdb.base/annota3.exp: Test for if construct.
8276 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8278 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8280 2007-06-21 Chris Dearman <chris@mips.com>
8281 Maciej W. Rozycki <macro@mips.com>
8283 * gdb.base/display.exp: Allow a newline after display/i.
8284 * gdb.base/pc-fp.exp: Likewise.
8285 * gdb.base/sigbpt.exp: Likewise.
8287 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8289 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8290 required features to be included.
8292 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8294 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8295 in info threads output.
8297 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8298 Markus Deuling <deuling@de.ibm.com>
8300 * gdb.arch/spu-info.exp: New testcase.
8301 * gdb.arch/spu-info.c: New file.
8303 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8305 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8306 tpcs_offset. Restore lr after the call.
8307 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8309 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8311 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8312 (gdbserver_run): Kill any running gdbserver.
8313 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8315 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8317 * gdb.base/sigbpt.exp: Preset segv_addr.
8319 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8321 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8322 (gdb_compile_shlib): Likewise.
8323 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8324 (default_gdb_init): Clear cleanfiles.
8325 (gdb_finish): Delete recorded cleanfiles.
8326 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8328 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8329 Do not use isnative.
8330 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8331 gdb.base/so-impl-ld.exp: Likewise.
8332 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8333 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8336 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8338 * config/unknown.exp: Remove.
8340 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8342 * gdb.base/info-proc.exp: Check is_remote.
8344 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8346 * gdb.base/gcore.exp: Initialize variable core_supported.
8348 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8350 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8352 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8354 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8355 * gdb.threads/print-threads.exp (test_all_threads): Allow
8356 negative and hexadecimal thread IDs.
8358 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8360 * gdb.java/jprint.java (public): Avoid invalid call to static
8363 2007-05-14 Denis Pilat <denis.pilat@st.com>
8365 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8366 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8367 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8368 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8369 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8371 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8373 * gdb.base/overlays.exp: Add support for targets with only code
8374 overlay support, not data overlay. Support spu-*-* target in
8376 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8377 * gdb.base/spu.ld: New file.
8379 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8381 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8383 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8385 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8387 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8389 * gdb.java/jmain.exp: Handle demangled names with and without method
8392 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8394 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8395 (have_a_very_merry_interrupt): Remove calls to puts.
8396 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8398 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8401 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8402 Daniel Jacobowitz <dan@codesourcery.com>
8404 * gdb.base/auxv.exp (core_works): Also check is_remote.
8405 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8407 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8409 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8410 message, not the undefined 'module' variable.
8411 * gdb.base/siginfo.exp: Likewise.
8412 * gdb.base/sigstep.exp: Likewise.
8413 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8415 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8417 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8419 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8420 target sim fails. Return 0 otherwise.
8421 (gdb_load): Return prematurely if gdb_target_sim fails.
8423 2007-04-16 Denis Pilat <denis.pilat@st.com>
8425 * gdb.base/setshow.exp: Reset height after having set it to 100.
8427 2007-04-16 Denis Pilat <denis.pilat@st.com>
8429 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8431 2007-04-16 Denis Pilat <denis.pilat@st.com>
8433 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8435 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8437 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8438 tests. Run the frozen varobjs test.
8439 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8440 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8442 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8444 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8445 gdb.base/type-opaque.exp: New files.
8447 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8449 * gdb.mi/mi-var-child.c
8450 (do_children_tests): User char[2] instead of
8451 char so that automatic printing of pointers to char
8452 don't give unpredicable result.
8453 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8455 * gdb.mi/mi-var-child.exp: Step to right line
8456 of do_children_tests.
8457 * gdb.mi/mi2-var-child.exp: Likewise.
8458 * gdb.mi/mi-var-cmd.exp: Step to right line of
8460 (do_children_tests): User char[2] instead of
8461 char so that automatic printing of pointers to char
8462 don't give unpredicable result.
8463 * gdb.mi/mi2-var-cmd.exp: Likewise.
8464 * lib/mi-support.exp (mi_continue_to_line):
8465 Pass test name to mi_wait_for_stop.
8467 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8469 * gdb.asm/asm-source.exp: Remove d10v case.
8470 * lib/gdb.exp (skip_cplus_tests): Likewise.
8471 * gdb.asm/d10v.inc: Deleted.
8473 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8475 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8477 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8479 * config/netware.exp: Delete file.
8481 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8483 * gdb.dwarf2/dw2-noloc.S: New file.
8484 * gdb.dwarf2/dw2-noloc.exp: New file.
8486 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8488 * gdb.cp/method2.cc: New test.
8489 * gdb.cp/method2.exp: New test.
8490 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8492 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8494 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8496 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8498 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8500 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8502 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8503 (gdb_load): Delete, replace with...
8504 (gdb_reload): ...this.
8505 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8506 * gdb.server/server-mon.exp: Likewise.
8507 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8508 (gdb_start_cmd): New.
8509 (gdb_file_cmd): Save the last loaded file.
8511 (gdb_gnu_strip_debug): Use transform.
8512 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8513 support here. Use new $last_loaded_file. Check mtime.
8514 (gdb_target_cmd): Handle ObjC failure case.
8515 (infer_host_exec): Delete.
8516 (gdbserver_load): Rename to...
8517 (gdbserver_run): ...this. Simplify.
8518 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8519 (mi_gdb_load): Move most contents to a new function...
8520 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8521 (mi_run_cmd): Use mi_gdb_target_load.
8522 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8523 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8525 * gdb.base/charsign.exp: Remove incorrect comment.
8526 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8527 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8528 gdb.base/start.exp: Use gdb_start_cmd.
8530 2007-03-23 Nigel Stephens <nigel@mips.com>
8531 Maciej W. Rozycki <macro@mips.com>
8533 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8534 * gdb.base/signull.exp: Similarly.
8536 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8538 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8539 messages available to test cases (like chng-sym.exp).
8541 2007-03-14 Andreas Schwab <schwab@suse.de>
8543 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8546 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8548 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8550 (main): Call optimized_1.
8551 (gdb2029): Correct typos. Call gdb2029_marker.
8552 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8555 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8557 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8558 as tabs. Remove redundant test pattern.
8560 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8562 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8563 for /a format output.
8565 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8567 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8568 collect output incrementally.
8570 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8572 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8573 for -var-create lpcharacter test.
8574 * gdb.mi/mi2-var-cmd.exp: Likewise.
8576 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8578 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8579 pass on targets where address zero is readable.
8581 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8583 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8584 just a single architecture.
8586 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8588 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8589 (fetch_all_registers): New function, uses gdb_test_multiple and
8590 exp_continue to fetch inferior output line-by-line.
8591 Replace all uses of do_get_all_registers by fetch_all_registers.
8593 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8595 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8598 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8600 * gdb.threads/manythreads.exp: Use $message string for
8601 consistancy; add a default (timeout) case.
8603 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8605 * gdb.base/watchpoint.exp: Fix truncated comment.
8607 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8609 * Makefile.in: Remove spurious single-quotes from sed command.
8611 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8613 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8615 * gdb.mi/mi2-var-cmd.exp: Likewise.
8617 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8619 * gdb.dwarf2/dw2-producer.S: New file.
8620 * gdb.dwarf2/dw2-producer.exp: New testcase.
8622 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8624 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8625 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8626 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8627 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8628 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8629 Revert tests to use mi_gdb_test and include value field in output
8632 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8634 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8636 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8638 * gdb.base/maint.exp: Remove full paths from test names.
8639 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8640 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8642 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8644 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8646 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8648 * gdb.server/server-mon.exp: New test.
8650 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8652 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8654 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8656 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8657 register capitalization.
8659 2007-02-13 Denis Pilat <denis.pilat@st.com>
8661 * gdb.mi/mi-var-invalidate.exp: New file.
8663 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8665 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8667 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8669 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8671 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8673 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8674 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8676 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8678 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8679 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8680 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8681 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8682 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8683 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8684 Update tests to include value field in output of -var-create.
8686 2007-02-08 Andreas Schwab <schwab@suse.de>
8688 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8690 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8692 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8693 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8695 2007-02-02 Denis Pilat <denis.pilat@st.com>
8697 * gdb.threads/threadapply.exp: check that frame is not changed by
8698 the thread apply all command.
8700 2007-01-31 Andreas Schwab <schwab@suse.de>
8702 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8704 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8705 in the dwarf sections.
8706 * gdb.dwarf2/mac-fileno.S: Likewise.
8708 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8709 bspstore register on ia64.
8711 2007-01-29 Andreas Schwab <schwab@suse.de>
8713 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8714 "frame-begin" annotation.
8716 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8717 number of "frames-invalid" annotations.
8719 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8721 * gdb.base/commands.exp: Call if_commands_test.
8722 (gdb_test_no_prompt, if_commands_test): New.
8724 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8726 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8728 2007-01-27 Andreas Schwab <schwab@suse.de>
8730 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8731 .short/.int/.quad in the dwarf sections.
8732 * gdb.dwarf2/dw2-intercu.S: Likewise.
8733 * gdb.dwarf2/dw2-intermix.S: Likewise.
8735 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8737 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8738 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8740 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8741 * gdb.base/setvar.exp: Likewise.
8743 2007-01-26 Andreas Schwab <schwab@suse.de>
8745 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8748 * gdb.base/multi-forks.exp ("restart $i"): Also match
8749 __kernel_syscall_via_break.
8751 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8753 * lib/mi-support.exp (mi_delete_varobj): New.
8754 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8756 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8757 (main): Call the above.
8758 (reference_update_test, base_in_reference_test)
8759 (reference_to_pointer): Delete the created varobjs.
8761 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8763 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8764 * configure: Regenerated.
8765 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8766 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8767 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8768 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8769 * lib/gdb.exp (gdb_skip_xml_test): New function.
8771 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8773 * gdb.base/sigrepeat.exp: Correct error message.
8775 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8776 Daniel Jacobowitz <dan@codesourcery.com>
8778 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8779 gdb.arch/i386-gnu-cfi-asm.S: New files.
8781 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8783 * lib/gdb.exp: Abort on missing `site.exp'.
8785 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8786 Daniel Jacobowitz <dan@codesourcery.com>
8788 * gdb.base/included.c, gdb.base/included.exp,
8789 gdb.base/included.h: New files.
8791 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8793 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8794 (maximize_rlimit): Reduce limits on 64-bit systems.
8796 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8798 From Marcus Deuling <deuling@de.ibm.com>:
8799 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8802 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8804 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8805 (test_path_specification): Use objdir instead of srcdir to always
8806 get an absolute filename.
8808 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8810 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8812 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8814 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8815 Make sure the variable we're using is in scope.
8816 (reference_to_pointer): Likewise.
8818 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8820 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8821 has no debug information.
8823 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8825 * gdb.base/annota1.exp: Remove extra send_gdb.
8827 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8829 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8831 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8833 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8835 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8836 Daniel Jacobowitz <dan@codesourcery.com>
8838 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8839 lcharacter or linteger change. Correct duplicated test name.
8840 * gdb.mi/mi2-var-cmd.exp: Likewise.
8842 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8844 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8846 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8848 * gdb.base/nofield.c: New file.
8849 * gdb.base/nofield.exp: New testcase.
8851 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8853 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8855 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8858 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8860 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8862 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8864 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8867 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8869 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8870 Expect ".exe" extension.
8872 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8874 * gdb.base/charset.exp: Add explicit filename to break.
8875 * gdb.base/dbx.exp: Add explicit filename to breaks.
8877 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8879 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8880 * gdb.mi/mi2-file.exp: Likewise.
8882 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8884 Implement specification of MI tests as comments
8885 in C and C++ sources.
8886 * lib/mi-support.exp (mi_autotest_data): New variable.
8887 (mi_autotest_source): New variable.
8888 (count_newlines, mi_prepare_inline_tests)
8889 (mi_get_inline_test, mi_continue_to_line)
8890 (mi_run_inline_test, mi_tbreak)
8891 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8892 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8894 * gdb.mi/mi-var-cp.cc: Define tests here.
8896 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8898 Simplify usage of mi_continue_to.
8899 * lib/mi-support.exp (mi_runto_helper): Renamed
8900 from mi_runto, added new parameter 'run_or_continue'.
8901 (mi_runto): Use mi_runto_helper.
8902 (mi_continue_to): Accept just function name as parameter.
8903 Use mi_runto_helper.
8904 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8905 * gdb.mi/mi2-var-cmd.exp: Likewise.
8907 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8909 Make this testcase a bit more realistic. The current code
8910 is too simplistic, and allows the compiler to optimize out
8911 some of the entities we need for this testcase.
8912 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8913 (Do_Nothing): Add extra parameter.
8914 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8915 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8916 by using a variable of type Void_Star.
8918 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8920 * gdb.ada/catch_ex/foo.adb: New file.
8921 * gdb.ada/catch_ex.exp: New testcase.
8923 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8925 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8926 pass --image-base to linker.
8928 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8929 Daniel Jacobowitz <dan@codesourcery.com>
8931 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8934 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8936 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8937 output. Test the types of members and member pointers.
8938 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8940 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8941 statement. Enable for GCC. Update expected output for some tests
8942 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8944 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8945 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8946 (Diamond::vget_base): New.
8947 (main): Add new tests.
8948 * gdb.cp/printmethod.exp: Update expected output for member functions.
8949 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8952 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8954 * gdb.threads/tls.exp: Allow stops in sem_post.
8956 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8958 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8959 * gdb.base/annota3.exp: Likewise.
8960 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8961 again (instead of timing out).
8962 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8964 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8965 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8966 test from jmisc1.exp.
8967 * gdb.java/jmisc1.exp: Delete.
8968 * gdb.java/jprint.exp: Adjust to work with method signatures including
8970 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8971 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8972 * lib/java.exp (compile_java_from_source): Pass the correct type
8975 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8977 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8978 (stack_align_edx): New function.
8979 (stack_align_eax): New function.
8980 (main): Add calls to stack_align_edx and stack_align_eax.
8981 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8982 Add testing for the cases where the register used during a stack
8983 realignment is edx. Same for eax.
8985 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8987 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8988 and generic PE targets.
8990 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8992 * gdb.ada/array_return.exp: Update copyright date list.
8994 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8996 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8997 (Create_Small_Float_Vector): New function.
8998 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9000 * gdb.ada/array_return/p.adb: Use new type and function from
9002 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9003 able to print the value returned by a function returning an
9006 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9008 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9009 The associated tests should be PASSing.
9011 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9013 Test for base in references.
9014 * gdb.mi/mi-var-cp.cc: Add test code.
9015 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9016 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9017 * gdb.mi/mi2-watch.exp: Likewise.
9018 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9019 (mi_list_varobj_children): New function.
9021 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9023 * lib/mi-support.exp
9024 (mi_runto): Accept "()" after function name.
9025 (mi_create_varobj): New function.
9026 (mi_varobj_update): New function.
9027 (mi_Check_varobj_value): New function.
9028 * gdb.mi/mi-var-cp.exp: New file.
9029 * gdb.mi/mi-var-cp.cc: New file.
9031 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9033 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9034 gdb.base/weaklib2.c: New files.
9036 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9038 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9039 info. Adjust test names.
9041 * gdb.base/break.c (main): Move position of malloc.
9042 * gdb.base/break.exp: Revert mistaken checkin.
9044 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9046 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9047 assignement of arrays and function pointers.
9048 * gdb.mi/var-cmd.c: Add declaration necessary for above
9051 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9053 * gdb.base/break.c (main): Call malloc.
9055 * gdb.threads/linux-dp.exp: Read thread table before and after
9056 creating each philosopher and verify it.
9058 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9059 Paul Brook <paul@codesourcery.com>
9060 Daniel Jacobowitz <dan@codesourcery.com>
9062 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9063 main to remove duplication. Add start function of the form
9064 '_*start[1-9]*'. Add RVDS start function.
9066 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9068 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9070 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9072 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9073 * gdb.asm/spu.inc: New file.
9074 * gdb.base/term.exp: Disable if [target_info exists noargs].
9075 * gdb.gdb/complaints.exp: Disable if ![isnative].
9076 * gdb.gdb/selftest.exp: Likewise.
9077 * gdb.gdb/observer.exp: Likewise.
9078 * gdb.gdb/xfullpath.exp: Likewise.
9079 * gdb.base/attach.exp: Disable on SPU target.
9080 * gdb.cp/bs145503.exp: Likewise.
9081 * gdb.cp/exception.exp: Likewise.
9082 * gdb.cp/userdef.exp: Likewise.
9084 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9086 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9088 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9090 * gdb.base/completion.exp: Fix completion tests for
9092 * gdb.base/help.exp (help_test_raw, test_class_help)
9093 (test_prefix_command_help): Move...
9094 * lib/gdb.exp: Here.
9095 * gdb.base/main.exp: Adjust.
9096 * gdb.cp/maint.exp: Adjust.
9097 * gdb.trace/tracecmd.exp: Use test_help_class.
9099 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9101 * gdb.stabs/weird.exp (print_weird_var): Use
9102 gdb_test_multiple instead of gdb_expect.
9104 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9106 * gdb.base/help.exp (help_test_raw): New.
9107 (test_class_help): New.
9108 (test_prefix_command_help): New.
9111 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9113 * gdb.base/constvars.c (main): Write to crass and crips, so that
9114 they are allocated by the compiler.
9116 2006-10-27 Andreas Schwab <schwab@suse.de>
9118 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9121 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9123 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9126 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9128 * gdb.base/sepdebug.exp: Remove debug format test.
9129 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9131 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9133 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9135 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9136 int to pointer or pointer to int.
9137 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9139 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9141 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9143 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9145 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9147 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9150 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9152 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9154 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9155 the corresponding bug has been fixed in GDB (PR/2018).
9157 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9159 * gdb.base/subst.exp: New testcase.
9161 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9163 * gdb.ada/array_return/pck.ads: Add copyright notice.
9164 * gdb.ada/array_return/pck.adb: Likewise.
9165 * gdb.ada/array_return/p.adb: Likewise.
9166 * gdb.ada/exec_changed/first.adb: Likewise.
9167 * gdb.ada/exec_changed/second.adb: Likewise.
9169 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9171 * gdb.ada/watch_arg/watch.adb: New file.
9172 * gdb.ada/watch_arg.exp: New testcase.
9174 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9176 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9177 via string_to_regexp.
9178 * gdb.mi/mi2-basics.exp: Likewise.
9180 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9182 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9183 Remove unused / obsolete files.
9185 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9187 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9189 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9191 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9192 HIGH_FRAME argument to -stack-list-arguments can be larger than
9193 the number of frames.
9195 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9197 * gdb.base/args.c (main): Add breakpoint marker.
9198 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9199 really test empty arguments.
9200 (args_load): Delete.
9203 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9205 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9208 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9210 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9211 HIGH_FRAME argument to -stack-list-locals can be larger than
9212 the number of frames.
9214 2006-08-18 Fred Fish <fnf@specifix.com>
9216 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9217 '$' in front of skip_vmx_tests_saved when setting that.
9219 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9221 * gdb.base/trace-commands.exp: New file.
9223 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9224 Daniel Jacobowitz <dan@codesourcery.com>
9226 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9227 expected output of the backtrace commands.
9229 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9231 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9232 untested followed by return combination.
9233 * gdb.arch/altivec-regs.exp: Likewise.
9234 * gdb.arch/e500-abi.exp: Likewise.
9235 * gdb.arch/e500-regs.exp: Likewise.
9236 * gdb.arch/gdb1291.exp: Likewise.
9237 * gdb.arch/gdb1431.exp: Likewise.
9238 * gdb.arch/gdb1558.exp: Likewise.
9239 * gdb.arch/i386-prologue.exp: Likewise.
9240 * gdb.arch/i386-unwind.exp: Likewise.
9241 * gdb.asm/asm-source.exp: Likewise.
9242 * gdb.base/a2-run.exp: Likewise.
9243 * gdb.base/advance.exp: Likewise.
9244 * gdb.base/all-bin.exp: Likewise.
9245 * gdb.base/annota1.exp: Likewise.
9246 * gdb.base/annota3.exp: Likewise.
9247 * gdb.base/args.exp: Likewise.
9248 * gdb.base/arithmet.exp: Likewise.
9249 * gdb.base/assign.exp: Likewise.
9250 * gdb.base/async.exp: Likewise.
9251 * gdb.base/attach.exp: Likewise.
9252 * gdb.base/bang.exp: Likewise.
9253 * gdb.base/bigcore.exp: Likewise.
9254 * gdb.base/bitfields.exp: Likewise.
9255 * gdb.base/bitfields2.exp: Likewise.
9256 * gdb.base/break.exp: Likewise.
9257 * gdb.base/call-sc.exp: Likewise.
9258 * gdb.base/call-strs.exp: Likewise.
9259 * gdb.base/callfuncs.exp: Likewise.
9260 * gdb.base/checkpoint.exp: Likewise.
9261 * gdb.base/chng-syms.exp: Likewise.
9262 * gdb.base/code-expr.exp: Likewise.
9263 * gdb.base/commands.exp: Likewise.
9264 * gdb.base/completion.exp: Likewise.
9265 * gdb.base/cond-expr.exp: Likewise.
9266 * gdb.base/condbreak.exp: Likewise.
9267 * gdb.base/consecutive.exp: Likewise.
9268 * gdb.base/constvars.exp: Likewise.
9269 * gdb.base/corefile.exp: Likewise.
9270 * gdb.base/cvexpr.exp: Likewise.
9271 * gdb.base/dbx.exp: Likewise.
9272 * gdb.base/define.exp: Likewise.
9273 * gdb.base/detach.exp: Likewise.
9274 * gdb.base/display.exp: Likewise.
9275 * gdb.base/dump.exp: Likewise.
9276 * gdb.base/ena-dis-br.exp: Likewise.
9277 * gdb.base/ending-run.exp: Likewise.
9278 * gdb.base/environ.exp: Likewise.
9279 * gdb.base/eval-skip.exp: Likewise.
9280 * gdb.base/exprs.exp: Likewise.
9281 * gdb.base/fileio.exp: Likewise.
9282 * gdb.base/finish.exp: Likewise.
9283 * gdb.base/float.exp: Likewise.
9284 * gdb.base/foll-exec.exp: Likewise.
9285 * gdb.base/foll-fork.exp: Likewise.
9286 * gdb.base/foll-vfork.exp: Likewise.
9287 * gdb.base/freebpcmd.exp: Likewise.
9288 * gdb.base/funcargs.exp: Likewise.
9289 * gdb.base/gcore.exp: Likewise.
9290 * gdb.base/gdb1090.exp: Likewise.
9291 * gdb.base/gdb1250.exp: Likewise.
9292 * gdb.base/huge.exp: Likewise.
9293 * gdb.base/info-proc.exp: Likewise.
9294 * gdb.base/interrupt.exp: Likewise.
9295 * gdb.base/jump.exp: Likewise.
9296 * gdb.base/langs.exp: Likewise.
9297 * gdb.base/lineinc.exp: Likewise.
9298 * gdb.base/list.exp: Likewise.
9299 * gdb.base/logical.exp: Likewise.
9300 * gdb.base/long_long.exp: Likewise.
9301 * gdb.base/macscp.exp: Likewise.
9302 * gdb.base/maint.exp: Likewise.
9303 * gdb.base/mips_pro.exp: Likewise.
9304 * gdb.base/miscexprs.exp: Likewise.
9305 * gdb.base/multi-forks.exp: Likewise.
9306 * gdb.base/opaque.exp: Likewise.
9307 * gdb.base/overlays.exp: Likewise.
9308 * gdb.base/pc-fp.exp: Likewise.
9309 * gdb.base/pointers.exp: Likewise.
9310 * gdb.base/printcmds.exp: Likewise.
9311 * gdb.base/psymtab.exp: Likewise.
9312 * gdb.base/ptype.exp: Likewise.
9313 * gdb.base/recurse.exp: Likewise.
9314 * gdb.base/relational.exp: Likewise.
9315 * gdb.base/relocate.exp: Likewise.
9316 * gdb.base/remote.exp: Likewise.
9317 * gdb.base/reread.exp: Likewise.
9318 * gdb.base/restore.exp: Likewise.
9319 * gdb.base/return.exp: Likewise.
9320 * gdb.base/return2.exp: Likewise.
9321 * gdb.base/scope.exp: Likewise.
9322 * gdb.base/sect-cmd.exp: Likewise.
9323 * gdb.base/sep.exp: Likewise.
9324 * gdb.base/sepdebug.exp: Likewise.
9325 * gdb.base/setshow.exp: Likewise.
9326 * gdb.base/setvar.exp: Likewise.
9327 * gdb.base/sigall.exp: Likewise.
9328 * gdb.base/sigbpt.exp: Likewise.
9329 * gdb.base/signals.exp: Likewise.
9330 * gdb.base/signull.exp: Likewise.
9331 * gdb.base/sizeof.exp: Likewise.
9332 * gdb.base/solib.exp: Likewise.
9333 * gdb.base/step-line.exp: Likewise.
9334 * gdb.base/step-test.exp: Likewise.
9335 * gdb.base/structs.exp: Likewise.
9336 * gdb.base/structs2.exp: Likewise.
9337 * gdb.base/term.exp: Likewise.
9338 * gdb.base/twice.exp: Likewise.
9339 * gdb.base/until.exp: Likewise.
9340 * gdb.base/varargs.exp: Likewise.
9341 * gdb.base/volatile.exp: Likewise.
9342 * gdb.base/watchpoint.exp: Likewise.
9343 * gdb.base/whatis-exp.exp: Likewise.
9344 * gdb.base/whatis.exp: Likewise.
9345 * gdb.cp/ambiguous.exp: Likewise.
9346 * gdb.cp/annota2.exp: Likewise.
9347 * gdb.cp/annota3.exp: Likewise.
9348 * gdb.cp/bool.exp: Likewise.
9349 * gdb.cp/breakpoint.exp: Likewise.
9350 * gdb.cp/casts.exp: Likewise.
9351 * gdb.cp/class2.exp: Likewise.
9352 * gdb.cp/classes.exp: Likewise.
9353 * gdb.cp/cplusfuncs.exp: Likewise.
9354 * gdb.cp/ctti.exp: Likewise.
9355 * gdb.cp/derivation.exp: Likewise.
9356 * gdb.cp/exception.exp: Likewise.
9357 * gdb.cp/gdb1355.exp: Likewise.
9358 * gdb.cp/hang.exp: Likewise.
9359 * gdb.cp/inherit.exp: Likewise.
9360 * gdb.cp/local.exp: Likewise.
9361 * gdb.cp/m-data.exp: Likewise.
9362 * gdb.cp/m-static.exp: Likewise.
9363 * gdb.cp/member-ptr.exp: Likewise.
9364 * gdb.cp/method.exp: Likewise.
9365 * gdb.cp/misc.exp: Likewise.
9366 * gdb.cp/namespace.exp: Likewise.
9367 * gdb.cp/overload.exp: Likewise.
9368 * gdb.cp/ovldbreak.exp: Likewise.
9369 * gdb.cp/pr-1023.exp: Likewise.
9370 * gdb.cp/pr-1210.exp: Likewise.
9371 * gdb.cp/pr-574.exp: Likewise.
9372 * gdb.cp/printmethod.exp: Likewise.
9373 * gdb.cp/psmang.exp: Likewise.
9374 * gdb.cp/ref-params.exp: Likewise.
9375 * gdb.cp/ref-types.exp: Likewise.
9376 * gdb.cp/rtti.exp: Likewise.
9377 * gdb.cp/templates.exp: Likewise.
9378 * gdb.cp/try_catch.exp: Likewise.
9379 * gdb.cp/userdef.exp: Likewise.
9380 * gdb.cp/virtfunc.exp: Likewise.
9381 * gdb.disasm/am33.exp: Likewise.
9382 * gdb.disasm/h8300s.exp: Likewise.
9383 * gdb.disasm/mn10300.exp: Likewise.
9384 * gdb.disasm/sh3.exp: Likewise.
9385 * gdb.disasm/t01_mov.exp: Likewise.
9386 * gdb.disasm/t02_mova.exp: Likewise.
9387 * gdb.disasm/t03_add.exp: Likewise.
9388 * gdb.disasm/t04_sub.exp: Likewise.
9389 * gdb.disasm/t05_cmp.exp: Likewise.
9390 * gdb.disasm/t06_ari2.exp: Likewise.
9391 * gdb.disasm/t07_ari3.exp: Likewise.
9392 * gdb.disasm/t08_or.exp: Likewise.
9393 * gdb.disasm/t09_xor.exp: Likewise.
9394 * gdb.disasm/t10_and.exp: Likewise.
9395 * gdb.disasm/t11_logs.exp: Likewise.
9396 * gdb.disasm/t12_bit.exp: Likewise.
9397 * gdb.disasm/t13_otr.exp: Likewise.
9398 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9399 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9400 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9401 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9402 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9403 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9404 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9405 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9406 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9407 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9408 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9409 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9410 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9411 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9412 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9413 * gdb.mi/gdb701.exp: Likewise.
9414 * gdb.mi/gdb792.exp: Likewise.
9415 * gdb.mi/mi-basics.exp: Likewise.
9416 * gdb.mi/mi-break.exp: Likewise.
9417 * gdb.mi/mi-cli.exp: Likewise.
9418 * gdb.mi/mi-console.exp: Likewise.
9419 * gdb.mi/mi-disassemble.exp: Likewise.
9420 * gdb.mi/mi-eval.exp: Likewise.
9421 * gdb.mi/mi-file.exp: Likewise.
9422 * gdb.mi/mi-read-memory.exp: Likewise.
9423 * gdb.mi/mi-regs.exp: Likewise.
9424 * gdb.mi/mi-return.exp: Likewise.
9425 * gdb.mi/mi-simplerun.exp: Likewise.
9426 * gdb.mi/mi-stack.exp: Likewise.
9427 * gdb.mi/mi-stepi.exp: Likewise.
9428 * gdb.mi/mi-syn-frame.exp: Likewise.
9429 * gdb.mi/mi-until.exp: Likewise.
9430 * gdb.mi/mi-var-block.exp: Likewise.
9431 * gdb.mi/mi-var-child.exp: Likewise.
9432 * gdb.mi/mi-var-cmd.exp: Likewise.
9433 * gdb.mi/mi-var-display.exp: Likewise.
9434 * gdb.mi/mi-watch.exp: Likewise.
9435 * gdb.mi/mi2-basics.exp: Likewise.
9436 * gdb.mi/mi2-break.exp: Likewise.
9437 * gdb.mi/mi2-cli.exp: Likewise.
9438 * gdb.mi/mi2-console.exp: Likewise.
9439 * gdb.mi/mi2-disassemble.exp: Likewise.
9440 * gdb.mi/mi2-eval.exp: Likewise.
9441 * gdb.mi/mi2-file.exp: Likewise.
9442 * gdb.mi/mi2-read-memory.exp: Likewise.
9443 * gdb.mi/mi2-regs.exp: Likewise.
9444 * gdb.mi/mi2-return.exp: Likewise.
9445 * gdb.mi/mi2-simplerun.exp: Likewise.
9446 * gdb.mi/mi2-stack.exp: Likewise.
9447 * gdb.mi/mi2-stepi.exp: Likewise.
9448 * gdb.mi/mi2-syn-frame.exp: Likewise.
9449 * gdb.mi/mi2-until.exp: Likewise.
9450 * gdb.mi/mi2-var-block.exp: Likewise.
9451 * gdb.mi/mi2-var-child.exp: Likewise.
9452 * gdb.mi/mi2-var-cmd.exp: Likewise.
9453 * gdb.mi/mi2-var-display.exp: Likewise.
9454 * gdb.mi/mi2-watch.exp: Likewise.
9455 * gdb.stabs/exclfwd.exp: Likewise.
9456 * gdb.stabs/weird.exp: Likewise.
9457 * gdb.threads/gcore-thread.exp: Likewise.
9458 * gdb.trace/actions.exp: Likewise.
9459 * gdb.trace/backtrace.exp: Likewise.
9460 * gdb.trace/circ.exp: Likewise.
9461 * gdb.trace/collection.exp: Likewise.
9462 * gdb.trace/deltrace.exp: Likewise.
9463 * gdb.trace/infotrace.exp: Likewise.
9464 * gdb.trace/limits.exp: Likewise.
9465 * gdb.trace/packetlen.exp: Likewise.
9466 * gdb.trace/passc-dyn.exp: Likewise.
9467 * gdb.trace/passcount.exp: Likewise.
9468 * gdb.trace/report.exp: Likewise.
9469 * gdb.trace/save-trace.exp: Likewise.
9470 * gdb.trace/tfind.exp: Likewise.
9471 * gdb.trace/tracecmd.exp: Likewise.
9472 * gdb.trace/while-dyn.exp: Likewise.
9473 * gdb.trace/while-stepping.exp: Likewise.
9475 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9477 * gdb.base/step-bt.c: New file.
9478 * gdb.base/step-bt.exp: New testcase.
9480 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9482 * config/monitor.exp (gdb_load): Remove support for obsolete
9483 download-write-size.
9484 * gdb.base/remote.exp: Likewise. Update all callers of
9487 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9489 * cursal.exp: Pass binfile to gdb_load.
9491 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9493 * gdb.base/cursal.exp: Add "" to gdb_load call.
9495 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9497 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9500 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9502 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9505 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9507 * gdb.base/completion.exp: Update for change in "file" behavior.
9508 * gdb.stabs/weird.exp: Likewise.
9509 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9510 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9512 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9514 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9515 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9517 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9519 * gdb.base/default.exp: Update source command error message.
9520 * gdb.base/help.exp: Update 'help source' message.
9522 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9524 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9527 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9529 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9531 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9533 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9535 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9537 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9539 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9541 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9542 *-*-openbsd* from targets for wich we expect ARM FPA floating
9545 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9547 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9549 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9551 * gdb.base/annota3.exp: Expect frame-begin annotation.
9553 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9555 * gdb.base/help.exp: Adjust "help unset" test to accept
9556 any list of unset commands.
9558 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9559 Daniel Jacobowitz <dan@codesourcery.com>
9561 * gdb.cp/ref-params.exp: New test.
9562 * gdb.cp/ref-params.cc: New source file.
9563 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9565 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9567 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9568 spaces/tabs in regular expressions since they might not be there.
9570 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9572 * gdb.base/ifelse.exp: New file.
9574 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9576 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9578 * gdb.base/huge.exp: Loop over compilation to find a size that
9580 * gdb.base/remote.exp: Correct expected strings.
9581 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9583 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9585 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9587 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9589 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9592 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9594 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9595 enable stabs testing.
9597 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9599 * gdb.base/auxv.exp: Intercept undefined command messages before
9600 gdb_test_multiple does.
9602 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9604 * Makefile.in (host_alias): Remove.
9605 (target_alias): Use @target_noncanonical@.
9606 (site.exp): Don't set host_alias.
9607 * aclocal.m4: Remove contents. Include acx.m4.
9608 * configure: Regenerated.
9609 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9611 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9613 * lib/gdb.exp (gdb_load_cmd): New.
9615 * gdb.base/fileio.c: Add system(NULL) test.
9616 * gdb.base/fileio.exp: Check it.
9618 * gdb.base/break.c: Add 10a breakpoint at }
9619 * gdb.base/break.exp: Add test for breakpoint at }
9620 * gdb.cp/anon-union.cc: Add code at end of function.
9621 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9622 * gdb.mi/var-cmd.c: Add code at end of function.
9623 * gdb.mi/mi-var-display.exp: Adjust end of next.
9624 * gdb.mi/mi2-var-display.exp: Likewise.
9625 * gdb.base/fileio.c: Add stop function and insert calls at
9627 * gdb.base/fileio.exp: Breakpoint stop function and remove
9628 explicit line number references.
9630 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9632 * gdb.base/del.exp (test_delete_alias): New function.
9633 Now check that both "del" and "d" work as aliases for "delete".
9635 2006-05-18 Fred Fish <fnf@specifix.com>
9637 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9638 required. Check for spurious output after program exits normally.
9640 2006-05-17 Fred Fish <fnf@specifix.com>
9642 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9643 gdb_load, so it works in the simulator.
9645 2006-05-11 Fred Fish <fnf@specifix.com>
9647 * gdb.base/bang.exp: Ignore unexpected output between the
9648 "program exited normally" and the gdb prompt, as many other
9651 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9653 * gdb.base/help.exp: Make "delete checkpoint" part option for
9654 "help d" and "help delete" tests.
9656 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9658 * gdb.mi/mi-basics.exp: Add missing serial number to
9659 expected output in some mi_gdb_test statements.
9660 * gdb.mi/mi2-basics.exp: Likewise.
9662 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9664 * gdb.base/del.c: New file.
9665 * gdb.base/del.exp: New testcase.
9667 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9669 * gdb.base/break.exp: Do not assume a breakpoint on
9670 main will actually be in $srcfile when optimizing.
9671 * gdb.base/savedregs.exp: Do not require that the dummy
9672 frame location match up to a symbol and source file location.
9673 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9674 will get printed without a mi_cmd_data_list_register_values prefix.
9675 (*-data-list-register-*): Correct regular expressions to expect the new
9676 pseudo d? floating point registers.
9677 * gdb.mi/mi2-regs.exp: Likewise.
9679 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9681 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9682 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9683 is allocated by the compiler.
9684 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9685 anons, e, anone to force their allocation by the compiler.
9687 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9689 * gdb.base/help.exp: Update expected text for help d and
9692 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9694 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9697 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9699 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9700 single-step breakpoint fails; make this a KFAIL on
9702 * gdb.base/siginfo.exp: Likewise.
9703 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9705 2006-04-26 Michael Snyder <msnyder@redhat.com>
9707 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9708 which may have to consume output from other forks.
9709 Add tests to make sure that "delete fork" succeeded.
9711 2006-04-20 Michael Snyder <msnyder@redhat.com>
9713 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9714 Add support for the Renesas M32C and M16C.
9716 * gdb.asm/asm-source.exp: Add m32c target.
9717 * gdb.asm/m32c.inc: Support for m32c target.
9719 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9721 * gdb.base/commands.exp (recursive_source_test): New test.
9723 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9725 * gdb.base/float.exp: Add pattern for sparc targets.
9727 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9729 * gdb.base/commands.exp (stray_arg0_test): New test.
9731 2006-03-30 Paul Brook <paul@codesourcery.com>
9733 * gdb.mi/mi-until.exp: kfail broken until command.
9734 * gdb.mi/mi2-until.exp: Ditto.
9736 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9738 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9740 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9742 * gdb.base/prelink.exp: Anchor tested-for regular expression
9745 2006-03-07 Paul Brook <paul@codesourcery.com>
9747 * gdb.base/assign.exp: Correct fail message.
9749 2006-03-07 Paul Brook <paul@codesourcery.com>
9751 * lib/compiler.c: Extract armcc version number.
9752 * lib/compiler.cc: Ditto.
9754 2006-03-07 Paul Brook <paul@codesourcery.com>
9756 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9757 additional_flags=-w.
9758 * gdb.arch/altivec-regs.exp: Ditto.
9759 * gdb.arch/e500-abi.exp: Ditto.
9760 * gdb.arch/e500-regs.exp: Ditto.
9761 * gdb.base/all-bin.exp: Ditto.
9762 * gdb.base/annota1.exp: Ditto.
9763 * gdb.base/annota3.exp: Ditto.
9764 * gdb.base/args.exp: Ditto.
9765 * gdb.base/arithmet.exp: Ditto.
9766 * gdb.base/assign.exp: Ditto.
9767 * gdb.base/async.exp: Ditto.
9768 * gdb.base/bang.exp: Ditto.
9769 * gdb.base/break.exp: Ditto.
9770 * gdb.base/call-rt-st.exp: Ditto.
9771 * gdb.base/completion.exp: Ditto.
9772 * gdb.base/cond-expr.exp: Ditto.
9773 * gdb.base/condbreak.exp: Ditto.
9774 * gdb.base/consecutive.exp: Ditto.
9775 * gdb.base/define.exp: Ditto.
9776 * gdb.base/display.exp: Ditto.
9777 * gdb.base/ena-dis-br.exp: Ditto.
9778 * gdb.base/environ.exp: Ditto.
9779 * gdb.base/eval-skip.exp: Ditto.
9780 * gdb.base/info-proc.exp: Ditto.
9781 * gdb.base/jump.exp: Ditto.
9782 * gdb.base/logical.exp: Ditto.
9783 * gdb.base/long_long.exp: Ditto.
9784 * gdb.base/maint.exp: Ditto.
9785 * gdb.base/miscexprs.exp: Ditto.
9786 * gdb.base/pc-fp.exp: Ditto.
9787 * gdb.base/pointers.exp: Ditto.
9788 * gdb.base/relational.exp: Ditto.
9789 * gdb.base/reread.exp: Ditto.
9790 * gdb.base/sect-cmd.exp: Ditto.
9791 * gdb.base/sep.exp: Ditto.
9792 * gdb.base/sepdebug.exp: Ditto.
9793 * gdb.base/until.exp: Ditto.
9794 * gdb.base/whatis-exp.exp: Ditto.
9795 * gdb.cp/annota2.exp: Ditto.
9796 * gdb.cp/annota3.exp: Ditto.
9797 * gdb.trace/actions.exp: Ditto.
9798 * gdb.trace/backtrace.exp: Ditto.
9799 * gdb.trace/circ.exp: Ditto.
9800 * gdb.trace/collection.exp: Ditto.
9801 * gdb.trace/deltrace.exp: Ditto.
9802 * gdb.trace/infotrace.exp: Ditto.
9803 * gdb.trace/limits.exp: Ditto.
9804 * gdb.trace/packetlen.exp: Ditto.
9805 * gdb.trace/passc-dyn.exp: Ditto.
9806 * gdb.trace/passcount.exp: Ditto.
9807 * gdb.trace/report.exp: Ditto.
9808 * gdb.trace/save-trace.exp: Ditto.
9809 * gdb.trace/tfind.exp: Ditto.
9810 * gdb.trace/tracecmd.exp: Ditto.
9811 * gdb.trace/while-dyn.exp: Ditto.
9812 * gdb.trace/while-stepping.exp: Ditto.
9813 * lib/gdb.exp: Ditto.
9814 (gdb_compile): Handle nowarning option.
9816 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9818 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9819 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9820 Rename executable to prelinkt. Don't re-prelink if we didn't
9821 get a core file. Test prelink -u exit status to tell whether
9822 prelinking failed. Use gdb_test_multiple.
9824 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9826 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9827 (do_tests): Call it.
9829 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9831 * gdb.base/prelink.exp: New test.
9832 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9834 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9836 * gdb.fortran/derived-type.f90: New file.
9837 * gdb.fortran/derived-type.exp: New testcase.
9839 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9841 * gdb.base/default.exp: Allow ';' as a directory separator.
9843 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9845 * gdb.base/help.exp (help add-symbol-file): Update.
9847 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9849 * gdb.base/help.exp (help load): Update expected results.
9851 2006-02-19 Fred Fish <fnf@specifix.com>
9853 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9854 specifix hex value as part of results.
9855 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9857 2006-02-16 Fred Fish <fnf@specifix.com>
9859 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9860 ushort_addr, and slong_addr, so the typedefs are not optimized
9862 * gdb.base/whatis.exp: Add tests using type name for struct type,
9863 union type, enum type, and typedef.
9865 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9867 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9869 2006-02-13 Jim Blandy <jimb@redhat.com>
9871 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9872 case where it takes two "next" commands to skip past the init
9875 2006-02-12 Fred Fish <fnf@specifix.com>
9877 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9878 to handle cases where it takes two "next" commands to skip
9881 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9883 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9886 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9888 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9891 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9893 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9895 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9897 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9900 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9902 * gdb.cp/maint.exp: Set complaints to a positive value.
9904 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9906 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9907 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9910 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9912 * gdb.base/checkpoint.c: Update copyright notice. Include
9915 2006-01-04 Jim Blandy <jimb@redhat.com>
9917 * gdb.asm/asm-source.exp: Independently provide default values for
9918 asm-flags and debug-flags. Use 'string equal' to do the
9919 comparison, not the implicit expr's '==' operator. Remove
9920 now-unneeded assignments to asm-flags. In h8300 case, place
9921 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9923 2006-01-04 Michael Snyder <msnyder@redhat.com>
9925 * gdb.base/checkpoint.c: New file.
9926 * gdb.base/checkpoint.exp: New file.
9927 * gdb.base/multi-fork.c: New file.
9928 * gdb.base/multi-fork.exp: New file.
9929 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9931 2006-01-04 Fred Fish <fnf@specifix.com>
9933 * gdb.base/ptype.c (foo): Add typedef.
9934 (intfoo): Add function.
9935 * gdb.base/ptype1.c: New file.
9936 * gdb.base/ptype.exp: Handle compilation and linking with two
9937 source files. Test that proper type for "foo" is found based
9938 on source context rather than first match found in symtabs.
9940 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9942 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9943 * gdb.asm/openbsd.inc: Indent commands.
9945 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9947 * gdb.base/freebpcmd.exp: Increase timeout.
9949 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9951 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9953 * gdb.base/default.exp: Update check for "show version".
9955 2005-12-09 Randolph Chung <tausq@debian.org>
9957 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9958 * gdb.asm/pa64.inc: New file.
9960 2005-12-09 Randolph Chung <tausq@debian.org>
9962 * gdb.asm/common.inc: Indent commands.
9963 * gdb.asm/asmsrc1.s: Likewise.
9964 * gdb.asm/asmsrc2.s: Likewise.
9966 2005-12-09 Randolph Chung <tausq@debian.org>
9968 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9969 (get_addr_of_sym): Remove duplicate print.
9970 (gen_core): xfail hppa*-*-hpux*, update expected output.
9971 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9972 * gdb.arch/pa64-nullify.s: New file.
9974 2005-12-09 Randolph Chung <tausq@debian.org>
9976 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9978 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9980 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9981 code generation for these functions.
9982 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9985 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9987 * gdb.base/help.exp (help b, help br, help bre, help brea)
9988 (help break): Update the expected message.
9990 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9992 * gdb.asm/m68hc11.inc: Setup the data section.
9993 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9994 script for this test.
9995 (m6812-*-*): Likewise.
9997 2005-11-09 Randolph Chung <tausq@debian.org>
9999 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10001 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10003 * gdb.base/break.exp: Fix a comment typo.
10005 2005-11-03 Jim Blandy <jimb@redhat.com>
10007 Checked in by Elena Zannoni <ezannoni@redhat.com>
10009 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10011 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10013 * gdb.arch/gdb1558.c: Include stdio.h.
10015 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10017 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10019 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10021 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10023 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10025 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10026 vscr" tests to better match output.
10028 2005-10-12 Jim Blandy <jimb@redhat.com>
10030 * gdb.base/structs.exp (any): New function.
10031 (test_struct_returns): Don't make any assumptions at all about
10032 what value the function returns when GDB can't set the return
10035 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10037 * gdb.ada/arrayidx/p.adb: New file.
10038 * gdb.ada/arrayidx.exp: New testcase
10040 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10042 * gdb.ada/array_return/pck.ads: New file.
10043 * gdb.ada/array_return/pck.adb: New file.
10044 * gdb.ada/array_return/p.adb: New file.
10045 * gdb.ada/array_return.exp: New testcase.
10047 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10049 * gdb.base/arrayidx.c: New file.
10050 * gdb.base/arrayidx.exp: New testcase.
10052 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10054 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10055 frames-invalid and breakpoints-invalid are no longer generated
10056 with level 3 so don't expect them in the output.
10058 2005-09-27 Bob Rossi <bob@brasko.net>
10060 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10061 from test. Escape the | in mi_gdb_test call.
10062 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10063 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10064 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10065 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10066 expected regex's in mi_gdb_test calls.
10067 * lib/mi-support.exp: Remove arbitrary .* from tests.
10068 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10069 Fully anchor GDB/MI expected results in mi_gdb_test.
10070 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10071 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10073 2005-09-26 Paul Brook <paul@codesourcery.com>
10075 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10077 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10079 * bfp-test.c: New file.
10080 * bfp-test.exp: New testcase.
10082 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10084 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10085 of subarray and substring variable.
10086 * gdb.fortran/subarray.f: New source file for the test of subarray
10087 and substring variable evaluation.
10088 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10089 of string constant.
10091 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10093 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10096 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10098 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10099 powerpc altivec' test with an almost identical 'info vector' test.
10101 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10103 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10104 vscr" tests to match output.
10106 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10108 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10111 2005-09-11 Bob Rossi <bob@brasko.net>
10113 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10114 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10115 commands that return an MI output command and an asyncronous MI output
10117 * gdb.mi/mi-console.exp: Ditto.
10119 2005-09-11 Bob Rossi <bob@brasko.net>
10121 * gdb.mi/mi-var-child.c: Include <string.h>.
10123 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10125 * killed.exp: Correct gdb_expect syntax.
10127 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10129 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10131 2005-08-02 Bob Rossi <bob@brasko.net>
10133 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10134 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10135 Change tests to inferior-tty-set/show.
10136 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10137 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10138 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10139 inferior. Use mi_gdb_test to get GDB and Inferior output.
10140 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10142 (mi_inferior_tty_name): Add inferior PTY file name.
10143 (mi_gdb_start): Add INFERIOR_PTY parameter.
10144 (mi_gdb_test): Add IPATTERN parameter.
10146 2005-08-02 Bob Rossi <bob@brasko.net>
10148 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10149 parameter to mi_gdb_test.
10150 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10152 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10154 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10155 struct_declarations.
10156 * gdb.mi/mi-var-child.exp: Step over the initialization of
10157 struct_declarations.
10159 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10161 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10162 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10163 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10164 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10165 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10168 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10170 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10171 (do_children_tests): Assign values to the extra elements.
10173 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10174 them for tests for "-var-update --no-values" and
10175 "-var-update --all-values".
10176 Add test for "-var-list-children --simple-values".
10178 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10180 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10181 "-stack-list-locals --simple-values" Improve doc strings and
10184 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10186 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10188 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10190 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10193 2005-07-14 Bob Rossi <bob@brasko.net>
10195 * gdb.base/default.exp (tty): Changed output of command.
10196 * gdb.base/help.exp (help tty): Ditto.
10198 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10200 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10202 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10204 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10205 -stack-select-frame without arguments.
10206 (test_stack_frame_listing): Add test for newly implemented command
10209 2005-07-06 Bob Rossi <bob@brasko.net>
10211 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10213 (Copyright): Update copyright.
10215 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10217 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10218 tests to evaluate exponentiation expression.
10220 2005-06-29 Andreas Schwab <schwab@suse.de>
10222 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10223 main to avoid warnings.
10225 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10227 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10229 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10230 -stack-select-frame without arguments.
10231 (test_stack_frame_listing): Add test for newly implemented command
10234 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10236 * gdb.fortran/array-element.f: New file.
10237 * gdb.fortran/array-element.exp: New testcase.
10239 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10241 * gdb.base/bigcore.exp: Correct checks for systems which can
10242 not dump a large core file.
10244 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10246 * gdb.base/relocate.c: Add a copyright notice.
10248 * gdb.base/relocate.exp: Test printing the values of variables
10249 from a relocatable file.
10251 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10253 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10254 excess MI output after an error.
10256 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10258 * gdb.arch/alpha-step.c: New file.
10259 * gdb.arch/alpha-step.exp: New testcase.
10261 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10262 Dennis Brueni <dennis@slickedit.com>
10264 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10265 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10266 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10267 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10268 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10269 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10270 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10272 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10273 Wu Zhou <woodzltc@cn.ibm.com>
10275 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10276 IBM's xlc compiler.
10277 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10278 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10280 2005-05-13 Jim Blandy <jimb@redhat.com>
10282 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10283 calling gdb_suppress_entire_file.
10284 * gdb.base/charset.exp: Same.
10285 * gdb.base/call-rt-st.exp: Same.
10287 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10289 * lib/gdb.exp (fullname_syntax): Added global regex.
10290 (fullname_syntax_POSIX): Ditto.
10291 (fullname_syntax_UNC): Ditto.
10292 (fullname_syntax_DOS_CASE): Ditto.
10293 (fullname_syntax_DOS): Ditto.
10294 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10295 fullname_syntax variable to scope and use it.
10296 (test_file_list_exec_source_files): Ditto.
10297 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10299 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10301 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10303 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10305 * lib/gdb.exp (skip_altivec_tests): New function, based on
10306 check_vmx_hw_available from the GCC testsuite.
10307 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10308 * lib/gdb.arch/altivec-regs.exp: Likewise.
10310 2005-05-02 Jim Blandy <jimb@redhat.com>
10312 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10313 calling gdb_suppress_entire_file.
10315 2005-04-30 Randolph Chung <tausq@debian.org>
10317 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10318 Slightly relax "sem_post" name checking.
10320 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10322 * gdb.base/unload.exp: Use new shared library infrastructure.
10324 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10326 * gdb.base/so-impl-ld.exp: Use new shared library
10329 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10331 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10332 * gdb.asm/h8300.inc: New file.
10334 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10336 * gdb.base/shlib-call.exp: Change to use new shared library
10339 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10341 * gdb.base/pending.exp: Change to use new shared library
10344 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10346 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10347 use test_compiler_info instead of gcc_compiled, and update copyright.
10349 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10351 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10352 shared objects being adjusted and update copyright years.
10354 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10356 * ChangeLog: Correct some 2003-01-13 dates.
10357 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10358 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10359 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10360 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10361 gdb.trace/tfind.exp: Update copyright years.
10363 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10364 Daniel Jacobowitz <dan@codesourcery.com>
10366 * lib/gdb.exp (gdb_compile): Handle shlib=.
10367 (gdb_compile_shlib): New function.
10369 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10371 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10373 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10375 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10377 * configure.ac: Likewise.
10378 * configure: Regenerated.
10379 * gdb.gdbserver/Makefile.in: Moved to...
10380 * gdb.server/Makefile.in: ... here.
10381 * gdb.gdbserver/server.c: Moved to...
10382 * gdb.server/server.c: ... here.
10383 * gdb.gdbserver/server-run.exp: Moved to...
10384 * gdb.server/server-run.exp: ... here.
10386 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10388 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10389 * configure.ac: Create gdb.gdbserver/Makefile.
10390 * configure: Regenerated.
10391 * lib/gdbserver-support.exp: New file, derived from
10392 config/gdbserver.exp.
10393 * config/gdbserver.exp: Use gdbserver-support.exp.
10394 * gdb.gdbserver/Makefile.in: New file.
10395 * gdb.gdbserver/server.c: New file.
10396 * gdb.gdbserver/server-run.exp: New file.
10398 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10400 * lib/gdb.exp (test_compiler_info): Return compiler_info
10401 if no arguments are given.
10403 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10405 * gdb.arch/altivec-abi.exp: Check for compiler and set
10406 use altivec' flag accordingly.
10407 * gdb.arch/altivec-regs.exp: Likewise.
10409 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10411 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10413 2005-03-27 Andreas Schwab <schwab@suse.de>
10415 * gdb.base/bigcore.c (main): Add missing mode argument in open
10418 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10420 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10422 * config/gdbserver.exp (gdb_load): Likewise.
10424 2005-03-14 Paul Brook <paul@codesourcery.com>
10426 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10429 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10431 * gdb.dwarf2/dup-psym.S: New file.
10432 * gdb.dwarf2/dup-psym.exp: New testcase.
10434 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10436 * gdb.ada/exec_changed/first.adb: New file.
10437 * gdb.ada/exec_changed/second.adb: New file.
10438 * gdb.ada/exec_changed.exp: New testcase.
10440 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10442 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10444 (main): Test operator+.
10445 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10448 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10449 * gdb.base/signull.exp: Disable if gdb,nosignals.
10450 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10451 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10452 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10453 * gdb.mi/mi2-console.exp: Likewise.
10454 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10455 continue output at start.
10456 (gdb_collect_locals_test): Robustify regexp.
10457 * gdb.trace/passc-dyn.exp: Fix comment typo.
10458 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10460 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10462 * gdb.asm/asm-source.exp: Add iq2000 case.
10463 * gdb.asm/iq2000.inc: New file.
10465 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10467 * gdb.base/command.exp: Change hardcoded value to regular expression.
10468 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10470 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10472 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10473 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10474 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10475 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10476 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10478 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10480 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10483 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10485 * lib/compiler.c: Add test for IBM's xlc compiler.
10486 * lib/compiler.cc: Likewise.
10488 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10490 * gdb.ada/fixed_points.exp: Create compilation object directory
10491 before running the test.
10492 * gdb.ada/null_record.exp: Likewise.
10493 * gdb.ada/packed_array.exp: Likewise.
10494 * gdb.ada/start.exp: Likewise.
10496 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10498 * gdb.ada/packed_array/pa.adb: New file.
10499 * gdb.ada/packed_array.exp: New testcase.
10501 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10503 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10506 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10507 on *-*-openbsd*. Correctly match whitespace in regukar
10510 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10512 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10514 * gdb.base/gdb1821.c: New test file.
10515 * gdb.base/gdb1821.exp: New test file.
10517 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10519 * gdb.base/start.c: New file.
10520 * gdb.base/start.exp: New testcase.
10522 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10524 * gdb.ada/start/dummy.adb: New file.
10525 * gdb.ada/start.exp: New testcase.
10527 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10529 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10530 for printing symbols and statistics.
10531 Add test for using relative pathnames in "maint print msymbols" test.
10532 Mark "maint info sections DATA" XFAIL on Cygwin.
10533 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10536 2005-02-09 Andreas Schwab <schwab@suse.de>
10538 Committed by Andrew Cagney <cagney@gnu.org>
10539 * gdb.base/remotetimeout.exp: New file.
10541 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10543 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10545 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10547 * gdb.ada/gnat_ada.gpr: New file.
10548 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10549 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10550 * configure.ac: No longer generate gnat_ada.gpr.
10551 * configure: Regenerate.
10552 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10553 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10554 * gdb.ada/null_record/bar.ads: Likewise.
10555 * gdb.ada/null_record/bar.adb: Likewise.
10556 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10557 * gdb.ada/null_record.exp (testdir): New variable.
10558 (testfile): executable is now in testdir subdirectory.
10559 (srcfile): Use full path to the main compilation unit.
10560 * gdb.ada/fixed_points.exp: Same changes as above.
10562 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10564 * gdb.base/interp.exp: New test.
10566 2005-01-24 Andrew Cagney <cagney@gnu.org>
10568 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10570 2005-01-19 Andrew Cagney <cagney@gnu.org>
10572 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10573 configure.ac not configure.in.
10575 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10577 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10578 * gdb.base/list.exp (test_list_function)
10579 (test_list_filename_and_function): Ditto.
10580 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10582 2005-01-16 Andrew Cagney <cagney@gnu.org>
10584 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10586 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10588 2005-01-14 Andrew Cagney <cagney@gnu.org>
10590 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10591 * gdb.mi/mi2-var-cmd.exp: Ditto.
10593 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10595 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10597 2005-01-07 Andrew Cagney <cagney@gnu.org>
10599 * configure.ac: Rename configure.in, require autoconf 2.59.
10600 * configure: Re-generate.
10601 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10602 * gdb.stabs/configure: Re-generate.
10603 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10604 * gdb.hp/configure: Re-generate.
10605 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10607 * gdb.hp/gdb.objdbg/configure: Re-generate.
10608 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10610 * gdb.hp/gdb.defects/configure: Re-generate.
10611 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10613 * gdb.hp/gdb.compat/configure: Re-generate.
10614 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10616 * gdb.hp/gdb.base-hp/configure: Re-generate.
10617 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10619 * gdb.hp/gdb.aCC/configure: Re-generate.
10621 2004-12-15 Jim Blandy <jimb@redhat.com>
10623 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10624 under NPTL when there is debugging info available for libpthread.
10626 2004-12-13 Jerome Guitton <guitton@gnat.com>
10628 * gdb.ada/fixed_points.c: New file.
10629 * gdb.ada/fixed_points.exp: New file.
10631 2004-12-03 Randolph Chung <tausq@debian.org>
10633 * gdb.arch/pa-nullify.exp: New file.
10634 * gdb.arch/pa-nullify.s: New file.
10636 2004-11-30 Randolph Chung <tausq@debian.org>
10638 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10639 instead of "tbug". Fix regexp to work properly with gdb_test.
10641 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10643 * gdb.base/bitfields2.exp: New test.
10644 * gdb.base/bitfields2.c: New file.
10646 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10648 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10650 2004-11-16 Randolph Chung <tausq@debian.org>
10652 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10654 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10656 * gdb.threads/threadapply.exp: Correct "macro details" test.
10658 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10660 * gdb.threads/threadapply.exp: New test.
10661 * gdb.threads/threadapply.c: New file.
10663 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10665 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10668 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10670 * gdb.base/cursal.exp: New file.
10671 * gdb.base/cursal.c: New file.
10673 2004-11-03 Andrew Cagney <cagney@gnu.org>
10675 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10677 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10679 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10680 NetBSD/ELF targets.
10682 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10684 * gdb.threads/bp_in_thread.c: New file, copied from
10685 pthread_cond_wait.c.
10686 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10687 file, rather than reusing the .c file from another testcase.
10689 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10691 * gdb.ada/null_record.exp: Check where we stopped after
10692 sending the start command, instead of where the associated
10693 temporary breakpoint was inserted.
10695 2004-10-14 Andrew Cagney <cagney@gnu.org>
10697 * gdb.mi/gdb701.c (main): Return 0.
10699 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10701 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10703 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10705 * gdb.threads/schedlock.c: Add comment markers to use to find
10707 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10709 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10712 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10714 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10716 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10718 * configure.in: Add gdb.dwarf2.
10719 * configure: Regenerated.
10720 * Makefile.in: Add gdb.dwarf2.
10721 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10722 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10723 gdb.dwarf2/file1.txt: New files.
10725 2004-10-11 Orjan Friberg <orjanf@axis.com>
10727 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10728 of "run", since the latter doesn't work with remote targets. Adjust
10729 the breakpoint numbering accordingly.
10730 * gdb.threads/pthread_cond_wait.exp: Ditto.
10732 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10734 * gdb.base/overlays.exp: Update copyright years.
10736 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10738 * gdb.base/overlays.exp: Disable if target is Linux.
10740 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10742 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10744 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10746 * gdb.asm/asm-source.exp: Add m32r-linux target.
10747 * gdb.asm/m32r-linux.inc: New file.
10749 2004-09-24 Andrew Cagney <cagney@redhat.com>
10750 David Anderson <anderson@redhat.com>
10752 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10753 command fails, assume things will work.
10754 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10755 (_GNU_SOURCE): Define.
10756 (print_unsigned, print_hex): Change parameter to "long long".
10757 (print_byte_count): New function, use to print byte counts.
10758 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10760 (main): Compute an upper bound on a corefile in max_core_size.
10761 Limit memory chunk size to max_core_size. Limit total memory
10762 allocated to max_core_size.
10764 2004-09-23 Andrew Cagney <cagney@gnu.org>
10766 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10767 from a separate process with code that creates a corefile by
10768 making the inferior dump core.
10770 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10772 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10775 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10777 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10778 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10779 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10782 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10784 * gdb.java/jprint.exp: New test case for java inferior call.
10785 * gdb.java/jprint.java: Ditto.
10787 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10789 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10791 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10793 * gdb.threads/killed.c: Include <stdlib.h>.
10794 * gdb.threads/pthreads.c: Likewise.
10796 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10798 * gdb.threads/killed.c: Add copyright notice.
10800 2004-09-10 Jason Molenda (jmolenda@apple.com)
10802 * gdb.base/define.exp: Two new tests to verify zero space chars
10803 after 'if' and 'while' commands in a user-defined command is correctly
10806 2004-09-08 Andrew Cagney <cagney@gnu.org>
10808 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10809 delivery test with duplicate at end of file.
10811 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10813 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10815 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10817 * config/hppro.exp: Removed.
10819 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10821 * config/sparclet.exp: Removed.
10823 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10825 * config/udi.exp: Removed.
10827 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10829 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10831 (advancei): Likewise.
10833 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10835 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10837 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10839 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10840 to check for nodebug in executable.
10841 * gdb.gdb/observer.exp (setup_test): Likewise.
10842 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10843 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10845 2004-09-01 Andrew Cagney <cagney@gnu.org>
10847 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10850 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10852 * gdb.base/unload.exp: Fix expected warning message to match
10855 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10857 * gdb.base/call-rt-st.exp: Fix typos.
10859 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10861 * gdb.threads/thread_check.exp: New testcase.
10862 * gdb.threads/thread_check.c: New testcase.
10864 2004-08-31 Andrew Cagney <cagney@gnu.org>
10866 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10867 (skip_to_handler_entry): New procedures. Test stepping into a
10868 handler when the breakpoint is at the handler's entry point.
10870 2004-08-30 Andrew Cagney <cagney@gnu.org>
10872 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10875 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10877 With code from Manoj Iyer <manjo@austin.ibm.com>:
10878 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10879 return value. Add an arm for "no debugging symbols found".
10880 Change a stray "error" to "perror".
10881 (gdb_run_cmd): Adapt to new return value.
10882 * gdb.base/remote.exp: Adapt to new return value.
10883 * gdb.gdb/complaints.exp: Likewise.
10884 * gdb.gdb/observer.exp: Likewise.
10885 * gdb.gdb/selftest.exp: Likewise.
10886 * gdb.gdb/xfullpath.exp: Likewise.
10888 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10890 * gdb.threads/bp_in_thread.exp: New testcase.
10892 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10894 Fix PR testsuite/1735.
10895 * gdb.threads/schedlock.c (thread_function): Add a cast
10896 to suppress a gcc warning.
10897 * gdb.threads/thread-specific.c (thread_function): Likewise.
10899 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10901 * gdb.base/unload.c: Include <stdlib.h>.
10903 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10905 From Paul Gilliam <pgilliam@us.ibm.com>:
10906 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10907 synchronized after the "return".
10909 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10911 * gdb.mi/basics.c: Include <stdio.h>.
10912 * gdb.mi/pthreads.c: Include <stdlib.h>.
10913 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10915 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10917 * gdb.threads/schedlock.c: Add copyright notice.
10919 2004-08-25 Andrew Cagney <cagney@gnu.org>
10921 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10922 (skip_over_handler, breakpoint_over_hander): New test procedures.
10923 (advance, advancei): Add a proper prefix, do not use
10925 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10927 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10929 * gdb.mi/basics.c: Add copyright notice.
10930 * gdb.mi/var-cmd.c: Add copyright notice.
10932 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10934 * lib/gdb.exp: Remove signed_keyword_not_used.
10935 * lib/compiler.c: Likewise.
10936 * lib/compiler.cc: Likewise.
10938 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10940 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10941 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10943 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10945 * gdb.base/whatis.c: Add copyright notice.
10947 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10949 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10950 it to skip the breakpoints encoded in the inline assembly.
10952 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10954 * Makefile.in: Add gdb.fortran.
10956 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10958 * gdb.base/call-sc.exp (test_scalar_returns):
10959 Fix cut-and-paste glitch in "Make fun return now".
10961 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10963 * configure.in: Add gdb.fortran.
10964 * configure: Regenerate.
10965 * gdb.fortran/Makefile.in: New file.
10966 * lib/gdb.exp (skip_fortran_tests): New procedure.
10968 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10970 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10971 reference to bug-gnu@prep.ai.mit.edu.
10972 * gdb.mi/mi-var-child.exp: Likewise.
10973 * gdb.mi/mi-var-cmd.exp: Likewise.
10974 * gdb.mi/mi-var-display.exp: Likewise.
10975 * gdb.mi/mi2-var-block.exp: Likewise.
10976 * gdb.mi/mi2-var-child.exp: Likewise.
10977 * gdb.mi/mi2-var-cmd.exp: Likewise.
10978 * gdb.mi/mi2-var-display.exp: Likewise.
10980 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10982 * gdb.base/unload.c (main): Make local variable msg const.
10984 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10986 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10987 to bug-gnu@prep.ai.mit.edu.
10988 * gdb.mi/mi-disassemble.exp: Likewise.
10989 * gdb.mi/mi-eval.exp: Likewise.
10990 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10991 default line number.
10992 * gdb.mi/mi-return.exp: Likewise.
10993 * gdb.mi/mi-simplerun.exp: Likewise.
10994 * gdb.mi/mi-stack.exp: Likewise.
10995 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10996 number with explicit range test.
10997 * gdb.mi/mi-watch.exp: Likewise.
10998 * gdb.mi/mi2-break.exp: Likewise.
10999 * gdb.mi/mi2-cli.exp: Likewise.
11000 * gdb.mi/mi2-disassemble.exp: Likewise.
11001 * gdb.mi/mi2-eval.exp: Likewise.
11002 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11003 default line number.
11004 * gdb.mi/mi2-return.exp: Likewise.
11005 * gdb.mi/mi2-simplerun.exp: Likewise.
11006 * gdb.mi/mi2-stack.exp: Likewise.
11007 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11008 number with explicit range test.
11009 * gdb.mi/mi2-watch.exp: Likewise.
11011 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11013 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11014 * gdb.cp/m-static.exp: Likewise.
11015 * gdb.cp/rtti.exp: Likewise.
11017 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11019 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11021 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11023 * ChangeLog: Prefix Local Variables with semi-colons and indent
11024 the reference to older ChangeLog files, to fix fontification in
11027 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11029 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11030 * gdb.mi/mi2-break.exp: Likewise.
11032 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11034 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11036 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11038 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11040 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11042 * gdb.cp/classes.exp: Remove unused declarations. Just let
11043 test names default instead of providing special names. Remove
11044 extraneous demangler test.
11046 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11048 * gdb.base/unload.exp: New test for breakpoints in dynamically
11050 * gdb.base/unload.c: Ditto.
11051 * gdb.base/unloadshr.c: Ditto.
11053 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11055 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11056 cp_test_ptype_class.
11057 (test_enums): Likewise.
11059 2004-08-10 Andrew Cagney <cagney@gnu.org>
11061 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11064 2004-08-10 Andrew Cagney <cagney@gnu.org>
11066 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11069 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11071 * ChangeLog: Add copyright notice. The notice is copied
11072 from emacs 21.3 top level ChangeLog.
11074 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11076 * lib/cp-support.exp: New file.
11077 * lib/cp-support.exp (cp_test_type_class): New function.
11078 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11079 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11080 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11081 cp_test_ptype_class.
11083 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11085 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11086 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11087 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11088 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11089 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11090 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11091 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11092 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11093 gdb.mi/mi2-watch.exp: Update copyright years.
11095 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11097 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11099 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11101 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11102 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11103 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11104 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11105 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11106 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11107 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11108 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11109 gdb.mi/mi-watch.exp: Update copyright years.
11111 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11114 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11115 from a breakpoint with a pending signal.
11117 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11120 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11121 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11123 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11125 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11127 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11129 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11132 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11135 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11137 * gdb.arch/i386-prologue.exp: Compile without debug information.
11139 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11141 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11142 rather than asking gdb to search.
11144 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11146 * gdb.base/gcore.c: Include <string.h>.
11148 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11150 * gdb.base/gcore.c: Add copyright notice.
11152 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11154 * gdb.base/freebpcmd.c: Include <stdio.h>.
11155 * gdb.base/long_long.c: Include <string.h>.
11156 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11157 * gdb.base/siginfo.c: Include <string.h>.
11158 * gdb.base/sigstep.c: Include <string.h>.
11160 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11162 * gdb.base/complex.c: Include <stdlib.h>.
11164 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11166 * gdb.base/complex.c: Add copyright notice.
11168 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11170 * gdb.base/charset.c: Include <stdlib.h>.
11172 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11174 * gdb.base/auxv.c: Include <stdlib.h>.
11176 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11178 * gdb.base/auxv.c: Add copyright notice.
11180 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11182 * gdb.base/coremaker.c: Add copyright notice.
11183 * gdb.base/coremaker2.c: Add copyright notice.
11185 2004-08-04 Andrew Cagney <cagney@gnu.org>
11187 * gdb.base/store.exp: Update copyright.
11188 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11189 names, do not import gdb_prompt.
11191 2004-08-01 Andrew Cagney <cagney@gnu.org>
11193 Fix PR testsuite/1729.
11194 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11195 not use capture_value with value 4.
11196 (capture_value): Add optional test name parameter.
11197 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11198 the prefix, pass to capture_value.
11200 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11202 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11203 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11204 (main): Call new function.
11206 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11208 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11210 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11212 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11214 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11216 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11217 Accept more values of vtbl pointer. Remove some messages
11218 about "obsolete gcc or gdb".
11220 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11222 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11224 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11226 * gdb.base/asm-source.exp: Properly convert target board
11227 debug flags from gcc format to binutils format.
11229 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11231 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11232 gdb1718". PR backtrace/1718 partially fixed.
11234 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11236 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11238 2004-07-26 Nick Clifton <nickc@redhat.com>
11240 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11241 good default value for a specific architecture is available then
11242 set it to that value. Otherwise default to the -gstabs switch.
11243 Remove the -g... switches from the asm-flags variable. Allow the
11244 target board info to override the value if it wants to. Pass the
11245 switch on the assembler command line.
11247 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11249 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11250 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11251 (main): Call new function.
11253 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11255 Test for PR exp/1715.
11256 * gdb.base/radix.exp: Refactor common procedures. Make all
11257 test names unique. Change XFAIL to KFAIL.
11259 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11261 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11262 * gdb.ada/gnat_ada.gin: ... to here.
11263 * configure.in: Use gnat_ada.gin.
11264 * configure: Regenerate.
11266 2004-07-20 Andrew Cagney <cagney@gnu.org>
11268 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11269 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11270 XFAILs. Clean up test messages and comments. Check backtraces.
11271 Delete re-sync code.
11273 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11276 * gdb.base/annota1.exp: Honor gdb,nosignals.
11277 * gdb.base/annota3.exp: Likewise.
11279 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11281 * lib/java.exp: Update copyright notice.
11283 2004-07-19 Andrew Cagney <cagney@gnu.org>
11285 * gdb.base/selftest.exp: Copy file from here ...
11286 * gdb.gdb/selftest.exp: ... to here.
11288 2004-07-16 Andrew Cagney <cagney@redhat.com>
11290 * lib/insight-support.exp: Delete file.
11291 * lib/java.exp (java_init): Fix copyright.
11293 2004-07-16 Andrew Cagney <cagney@gnu.org>
11295 * gdb.base/restore.c: Append "prologue" to comments marking the a
11296 function's prologue.
11297 * gdb.base/restore.exp: Update copyright, re-indent.
11298 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11299 callerN" prefix where needed. Update patterns that match a
11300 function's prologue.
11302 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11304 * gdb.base/restore.c: Add copyright notice.
11306 2004-07-16 Andrew Cagney <cagney@gnu.org>
11308 * gdb.base/logical.exp: Update copyright.
11309 (evaluate): New procedure. Use to re-implement tests using
11312 2004-07-14 Martin Hunt <hunt@redhat.com>
11314 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11315 which fixes some problems where init.tcl was not found.
11317 2004-07-13 Andrew Cagney <cagney@gnu.org>
11319 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11320 (check_sizeof, check_valueof): Do not include the output in the
11321 test name. Use gdb_test.
11322 (get_valueof): Use gdb_test_multiple.
11324 * gdb.base/step-test.exp: Update copyright. Use
11325 gdb_test_multiple. Ensure that test names do not include
11326 architecture dependent output.
11328 * gdb.gdb/observer.exp: Update copyright.
11329 (setup_test): Use gdb_test_multiple.
11330 (attach_first_observer, attach_second_observer)
11331 (attach_third_observer, detach_first_observer)
11332 (detach_second_observer, detach_third_observer)
11333 (reset_counters, check_counters): Make $message a prefix.
11334 (test_normal_stop_notifications): Add "args" parameter - a list of
11335 init functions to be called. Make $message a prefix,
11336 (test_observer_normal_stop): Change the message prefixes so that
11337 they are unique, pass the attach / detach procedures to
11338 test_normal_stop_notifications.
11340 * gdb.base/signull.exp (test_segv): Prefix all tests with
11341 "${name}". Clean up test messages.
11343 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11345 * gdb.base/ena-dis-br.exp: Update copyright.
11346 (break_at): New function. Replace send_gdb with gdb_test,
11347 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11348 ignore count, not stopped at bpt", with KFAIL.
11350 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11352 * gdb.base/attach.exp: Remove cleanupfile handling.
11354 2004-07-12 Andrew Cagney <cagney@gnu.org>
11356 * gdb.base/annota1.exp: Cleanup corefile test name.
11357 * gdb.base/annota3.exp: Ditto.
11359 2004-07-12 Andrew Cagney <cagney@gnu.org>
11361 * gdb.base/signals.exp: Clean up copyright, re-indent.
11363 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11364 gdb_test and gdb_test_multiple.
11366 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11368 * gdb.java/jmain.exp: Fix expected line number for main to
11369 break at. Set XFAIL for break at main test since gcj does not
11370 provide line number info for first statement in main.
11372 2004-07-08 Andrew Cagney <cagney@gnu.org>
11374 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11376 * gdb.base/sigbpt.exp: Make the common part of each test name a
11377 prefix instead of suffix.
11379 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11381 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11382 test from test_tbreak_creation_and_listing to
11383 test_file_list_exec_source_file
11384 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11385 Changed name of test from test_tbreak_creation_and_listing to
11386 test_file_list_exec_source_file
11388 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11390 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11391 the jmisc() constructor instead of <init>.
11392 * gdb.java/jmisc1.exp: Ditto.
11394 2004-07-07 Andrew Cagney <cagney@gnu.org>
11396 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11399 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11401 * gdb.cp/templates.exp: Accept whitespace change in demangler
11404 2004-07-06 Andrew Cagney <cagney@gnu.org>
11406 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11408 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11410 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11411 * lib/compiler.cc: Likewise.
11413 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11415 * lib/compiler.cc: Work around string preprocessing problem
11416 with old hp c++ compiler.
11417 * lib/compiler.c: Likewise.
11419 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11421 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11422 directives to conditionalize symbol prefixing.
11423 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11424 additional_flags handling. Add underscore prefix for Cygwin.
11425 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11426 conditionalize symbol prefixing.
11427 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11428 additional_flags handling. Add underscore prefix for Cygwin.
11430 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11432 * gdb.base/bigcore.exp: Skip test on Cygwin.
11434 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11436 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11437 formats for "info register". Use gdb_test_multiple. Fix
11438 the "invalid register" test.
11440 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11442 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11443 PID for Cygwin. Add Cygwin specific strings to check for in some
11445 (do_attach_tests): Add a test for user interaction when attaching
11446 to a process with no matching symbol table already loaded.
11448 2004-06-26 Andrew Cagney <cagney@gnu.org>
11450 Test PR java/1567 and PR java/1565.
11451 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11452 * gdb.java/jmisc2.exp: Delete file.
11454 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11456 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11458 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11460 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11463 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11465 * gdb.cp/pr-1553.exp: Remove.
11467 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11469 * gdb.cp/pr-1553.cc: Remove.
11470 * gdb.cp/pr-1553.exp: Disable this test.
11472 2004-06-20 Jim Blandy <jimb@redhat.com>
11474 Fix PR testsuite/1680.
11475 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11476 regular expressions.
11478 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11480 Fix PR testsuite/1679.
11481 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11482 Issue an UNSUPPORTED result instead.
11484 2004-06-18 Jim Blandy <jimb@redhat.com>
11486 * gdb.base/charset.exp: Only send a control-C if we see a new
11487 prompt and incomplete command.
11489 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11491 * gdb.cp/pr-574.cc: Add copyright notice.
11493 2004-06-17 Jim Blandy <jimb@redhat.com>
11495 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11496 cases where the regexp has no groups; this grabs random text from
11497 the previous test suite, whatever that was.
11499 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11501 * gdb.cp/printmethod.cc: Add copyright notice.
11503 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11505 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11507 2004-06-16 Andrew Cagney <cagney@gnu.org>
11509 * gdb.base/signull.c: Update copyright. Include <string.h>.
11510 (bowler): Replace data_pointer with data_read
11511 and data_write cases. Add code_descriptor case.
11512 (zero, desc): New array and pointer.
11513 (data, code): Change to simple pointers.
11514 * gdb.base/signull.exp: Fix probe pattern matching a function
11515 descriptor SIGSEGV. Replace data_pointer with data_read and
11518 2004-06-16 Andrew Cagney <cagney@gnu.org>
11520 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11522 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11524 * gdb.base/long_long.c: Add copyright notice.
11526 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11528 * gdb.base/long_long.exp: Remove reference to
11529 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11530 to gdb_breakpoint and gdb_continue_to_breakpoint.
11532 2004-06-14 Jim Blandy <jimb@redhat.com>
11534 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11537 2004-06-14 Andrew Cagney <cagney@gnu.org>
11539 * gdb.base/gcore.exp (capture_command_output): Delete the always
11540 passing tests containing inferior values.
11541 * gdb.base/ending-run.exp: Do not include the breakpoint address
11542 in the test message. Update copyright.
11543 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11544 size in the test name, use gdb_test_multiple. Update copyright.
11546 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11548 * gdb.cp/ref-types.cc: Add copyright notice.
11550 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11552 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11554 * lib/compiler.cc: Likewise.
11555 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11556 'set' commands. Log diagnostics for other lines. Set
11557 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11559 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11561 * gdb.cp/try_catch.cc: Add copyright notice.
11563 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11565 * gdb.cp/userdef.cc: Add copyright notice.
11567 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11569 * gdb.cp/virtfunc.cc: Add copyright notice.
11571 2004-06-11 Randolph Chung <tausq@debian.org>
11573 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11576 2004-06-10 Andrew Cagney <cagney@gnu.org>
11578 * lib/compiler.cc, lib/compiler.c: Append either
11579 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11580 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11581 instead of gcc-3-3.
11583 2004-06-09 Andrew Cagney <cagney@gnu.org>
11585 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11586 gdb/1455, bug is specific to "long long" and "double".
11588 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11589 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11590 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11593 2004-06-09 Andrew Cagney <cagney@gnu.org>
11595 * gdb.base/structs.exp (test_struct_returns): Replace
11596 "return_value_unknown" and "finish_value_unknown" by
11597 "return_value_known" and "finish_value_known". Instead of
11598 "return_value_unknown" iff "finish_value_unknown", check
11599 "return_value_known" implies "finish_value_known".
11601 2004-06-08 Martin Hunt <hunt@redhat.com>
11603 * gdb.base/float.exp: Add pattern for mips targets.
11605 2004-06-08 Randolph Chung <tausq@debian.org>
11607 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11608 message for unknown architectures more clear.
11610 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11612 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11613 start the execution of the program.
11615 2004-06-07 Jim Blandy <jimb@redhat.com>
11617 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11618 * gdb.arch/i386-cpuid.h: New helper file.
11620 2004-06-07 Randolph Chung <tausq@debian.org>
11622 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11625 2004-06-04 Roland McGrath <roland@redhat.com>
11628 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11629 differently to be robust to output buffering differences.
11631 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11633 * gdb.threads/pthreads.exp: Update copyright years.
11634 (check_control_c): Change asynchronous 'after' to synchronous.
11636 2004-06-04 Roland McGrath <roland@redhat.com>
11638 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11641 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11644 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11645 calls to synchronous.
11647 2004-05-26 Jim Blandy <jimb@redhat.com>
11649 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11651 2004-05-24 Randolph Chung <tausq@debian.org>
11653 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11654 * gdb.asm/pa.inc: New file.
11656 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11658 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11660 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11661 Daniel Jacobowitz <drow@mvista.com>
11663 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11666 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11668 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11669 setjmp/longjmp. Use sigaction instead of signal.
11671 2004-05-19 J. Brobecker <brobecker@gnat.com>
11672 Michael Snyder <msnyder@redhat.com>
11674 * gdb.threads/pthread_cond_wait.c: New file.
11675 * gdb.threads/pthread_cond_wait.exp: New testcase.
11677 2004-05-13 Andrew Cagney <cagney@redhat.com>
11679 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11680 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11682 2004-05-11 Andrew Cagney <cagney@redhat.com>
11684 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11685 fixed but revealed gdb/1639.
11687 2004-05-10 Andrew Cagney <cagney@redhat.com>
11689 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11690 func1" and "next to 2nd alarm", kernel bug avoided.
11692 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11695 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11696 XFAIL if it is smaller than bytes_allocated.
11697 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11698 (main): Make chunks_allocated unsigned. Correct comment.
11700 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11702 * gdb.arch/powerpc-aix-prologue.c: New file.
11703 * gdb.arch/powerpc-aix-prologue.exp: New file.
11705 2004-05-07 Jim Blandy <jimb@redhat.com>
11707 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11708 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11710 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11712 * gdb.base/sep.exp: No longer setup_kfail when the program was
11715 2004-05-05 Jim Ingham <jingham@apple.com>
11717 * gdb.base/pending.exp: Make sure pending breakpoints
11718 preserve the ignore count.
11720 2004-04-27 Jerome Guitton <guitton@gnat.com>
11722 * i386-prologue.exp: Add testcase for jump instruction as first
11723 instruction of the real code.
11724 * i386-prologue.c (jump_at_beginning): New function.
11726 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11728 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11731 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11733 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11736 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11738 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11739 expression that checks the return type.
11741 2004-04-23 Andrew Cagney <cagney@redhat.com>
11743 * gdb.base/call-sc.exp: New test of scalar call/return values.
11744 * gdb.base/call-sc.c: Ditto.
11746 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11748 * gdb.threads/manythreads.c: Reduce thread stack size.
11750 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11752 * gdb.threads/manythreads.c: Add copyright notice.
11754 2004-04-23 Andrew Cagney <cagney@redhat.com>
11756 * gdb.base/siginfo.exp: Better handle step out of signal.
11757 * gdb.base/sigstep.exp: Ditto.
11759 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11760 Daniel Jacobowitz <drow@mvista.com>
11762 * gdb.threads/manythreads.c: New testcase.
11763 * gdb.threads/manythreads.exp: Ditto.
11765 2004-04-22 Jim Blandy <jimb@redhat.com>
11767 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11768 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11770 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11772 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11774 2004-04-21 Andrew Cagney <cagney@redhat.com>
11776 * gdb.base/sigstep.c: New file.
11777 * gdb.base/sigstep.exp: New file.
11779 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11781 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11782 call to observer_notify_normal_stop.
11784 2004-04-15 Andrew Cagney <cagney@redhat.com>
11786 * gdb.base/siginfo.c: New file.
11787 * gdb.base/siginfo.exp: New file.
11789 2004-04-12 J. Brobecker <brobecker@gnat.com>
11791 * gdb.base/sep.exp: Fix typo in comment.
11793 2004-04-12 J. Brobecker <brobecker@gnat.com>
11795 * gdb.base/sep.c: New file.
11796 * gdb.base/sep-proc.c: New file.
11797 * gdb.base/sep.exp: New testcase.
11799 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11801 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11804 2004-04-05 Andrew Cagney <cagney@redhat.com>
11806 * gdb.base/sigaltstack.c: New file.
11807 * gdb.base/sigaltstack.exp: New file.
11809 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11811 * gdb.base/foll-fork.exp: Update the expected output for
11812 "help set follow-fork-mode", to match a change that was made
11813 to the help of this variable on 2004-01-13.
11815 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11817 * lib/ada.exp: Add copyright notice.
11818 * bar.ads: Likewise.
11819 * bar.adb: Likewise.
11820 * null_record.adb: Likewise.
11821 * null_record.exp: Likewise.
11822 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11824 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11826 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11827 * configure: Regenerate.
11829 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11831 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11832 to build the application. Remove the message printed when in
11833 verbose mode, redundant with the UNSUPPORTED message above.
11835 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11837 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11838 * gdb.ada (null_record.exp): New testcase.
11840 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11842 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11844 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11846 * gdb.ada: New subdirectory.
11847 * gdb.ada/Makefile.in: New file.
11848 * gdb.ada/gnat_ada.gpr.in: New file.
11850 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11852 * lib/ada.exp: New file.
11854 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11856 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11857 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11859 2004-03-22 Andrew Cagney <cagney@redhat.com>
11861 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11862 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11863 Problem identified by Ulrich Weigand.
11865 2004-03-17 David Carlton <carlton@kealia.com>
11867 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11870 2004-03-16 Roland McGrath <roland@redhat.com>
11872 * gdb.base/auxv.exp: New file.
11873 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11875 2004-03-12 David Carlton <carlton@kealia.com>
11877 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11878 * gdb.cp/pr-1553.cc: Ditto.
11879 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11882 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11884 * gdb.cp/templates.exp: Accept more template types.
11886 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11888 From Corinna Vinschen with modifications.
11889 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11890 local variable obj_with_enum.
11891 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11892 results with obj_with_enum.
11894 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11896 * gdb.cp/classes.cc: New file, copied from misc.cc.
11897 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11899 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11901 * gdb.cp/misc.cc: Add copyright notice.
11903 2004-03-05 David Carlton <carlton@kealia.com>
11905 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11906 * gdb.cp/rtti.h: Update copyright.
11907 (namespace n2::n3): New.
11908 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11909 (n2::n3::func3): New.
11910 (main): Call n2::n3::func3.
11911 * gdb.cp/rtti2.cc: Update copyright.
11912 (n2::create3): New.
11914 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11916 * gdb.asm/openbsd.inc: Fix typo.
11918 2004-03-03 Fred Fish <fnf@redhat.com>
11920 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11921 "val" instead of unused "size". Update copyright year.
11923 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11925 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11926 to use unsigned char.
11927 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11928 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11930 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11932 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11935 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11937 * gdb.base/relocate.c (dummy): Initialize.
11939 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11941 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11942 a breakpoint at exit.
11944 2004-02-27 Fred Fish <fnf@redhat.com>
11946 * gdb.base/chng-syms.exp: Add expect condition to match failing
11947 case that isn't a timeout.
11949 2004-02-27 Andrew Cagney <cagney@redhat.com>
11951 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11954 2004-02-26 Fred Fish <fnf@redhat.com>
11956 * gdb.arch/gdb1431.c: Remove.
11957 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11958 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11959 of "until" incorrectly.
11961 2004-02-26 J. Brobecker <brobecker@gnat.com>
11963 * gdb.cp/class2.cc (empty): New class.
11964 (refer): New function.
11965 (main): Declare an object of type empty and use it.
11966 * gdb.cp/class2.exp: Print the value of an object of type empty.
11968 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11970 * gdb.base/langs.exp: Update query string to match the
11971 new nquery format used for pending breakpoints.
11973 2004-02-26 Andrew Cagney <cagney@redhat.com>
11976 * gdb.base/charset.c: Update copyright notice.
11977 (main, init_string): Remove the escape character '\e' tests.
11978 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11979 * gdb.base/charset.exp (valid_host_charset): Ditto.
11980 * gdb.base/setvar.exp: Ditto.
11982 2004-02-24 Andrew Cagney <cagney@redhat.com>
11984 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11985 mmapped data in core file" PASS and FAIL messages consistent.
11987 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11988 setting a breakpoint. Work around PR java/1565.
11990 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11992 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11994 * gdb.base/pending.exp: Ditto.
11996 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11998 * configure.in: Run stabs tests on *BSD.
11999 * configure: Regenerated.
12001 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12003 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12005 2004-02-20 Fred Fish <fnf@redhat.com>
12007 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12008 blank in test for "returns short", for consistency with other
12009 "returns xxx" tests. Update copyright year.
12011 2004-02-19 Fred Fish <fnf@redhat.com>
12013 New testcase for PR breakpoint/1558.
12014 * gdb.arch/gdb1558.exp: New file.
12015 * gdb.arch/gdb1558.c: New file.
12017 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12019 * gdb.base/nodebug.exp: Fix typo.
12021 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12023 Committed by Jim Blandy <jimb@redhat.com>.
12025 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12027 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12029 * gdb.base/float.exp: Support s390*-*-* targets.
12031 2004-02-17 Adam Fedor <fedor@gnu.org>
12033 * gdb.base/gdb1555.exp: New file.
12034 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12036 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12038 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12040 2004-02-16 Fred Fish <fnf@redhat.com>
12042 * gdb.arch/gdb1291.c: Remove
12043 * gdb.arch/gdb1291.s: New test input file.
12044 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12045 fail. Test for correct result, known incorrect result, other
12046 failures and timeouts.
12048 2004-02-16 Andrew Cagney <cagney@redhat.com>
12050 * gdb.base/bigcore.exp: New file.
12051 * gdb.base/bigcore.c: New file.
12053 2004-02-13 Andrew Cagney <cagney@redhat.com>
12055 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12056 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12057 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12058 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12059 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12060 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12061 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12062 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12063 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12064 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12066 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12068 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12069 executed is an alloc instruction.
12071 2004-02-11 David Carlton <carlton@kealia.com>
12073 * gdb.cp/breakpoint.exp: New.
12074 * gdb.cp/breakpoint.cc: New.
12076 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12078 Partial fix for PR gdb/1543.
12079 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12080 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12081 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12082 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12083 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12084 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12085 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12086 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12087 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12088 to bug-gdb@prep.ai.mit.edu .
12089 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12090 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12091 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12094 2004-02-10 Andrew Cagney <cagney@redhat.com>
12096 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12097 using gdb_internal_error_resync.
12099 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12101 * gdb.threads/thread-specific.exp: Stop early if no threads are
12104 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12106 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12108 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12110 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12113 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12115 * config/sim.exp (gdb_load): Handle $arg == "".
12116 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12117 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12119 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12121 * gdb.base/maint.exp: Update test to reflect
12124 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12126 * gdb.base/pendshr.c (pendfunc): New function that calls
12128 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12130 2004-02-04 Fred Fish <fnf@redhat.com>
12132 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12133 function symbols and update copyright years.
12134 * gdb.arch/gdb1291.c: Ditto.
12136 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12138 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12140 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12142 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12144 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12146 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12148 2004-02-02 Fred Fish <fnf@redhat.com>
12150 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12151 remote targets. Update copyright years.
12153 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12155 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12157 * gdb.base/langs.exp: Fix test which attempts to create
12158 breakpoint on non-existent function to handle new pending
12160 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12162 * gdb.base/pending.exp: New test.
12163 * gdb.base/pending.c: New file.
12164 * gdb.base/pendshr.c: Ditto.
12166 2004-02-02 David Carlton <carlton@kealia.com>
12168 * gdb.cp/overload.exp: Add overloadNamespace tests.
12169 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12170 (overloadNamespace, XXX): New.
12171 (main): Call XXX::marker2.
12173 2004-02-01 Fred Fish <fnf@redhat.com>
12175 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12176 * gdb.base/finish.exp: Ditto.
12177 * gdb.base/gcore.exp: Ditto.
12178 * gdb.base/huge.exp: Ditto.
12179 * gdb.base/info-proc.exp: Ditto.
12180 * gdb.base/return2.exp: Ditto.
12181 * gdb.threads/gcore-thread.exp: Ditto.
12183 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12185 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12187 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12189 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12190 that opening the file succeeds on OpenBSD.
12192 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12194 * gdb.threads/thread-specific.c: New file.
12195 * gdb.threads/threads-specific.exp: New test script.
12196 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12199 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12201 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12202 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12203 only on the "print_small_structs from print_long_arg_list" test.
12205 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12207 * gdb.base/completion.exp: Kill a stray backslash.
12209 From Jim Ingham <jingham@apple.com>:
12210 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12211 agrees with the result from sending a tab.
12213 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12215 * gdb.base/chng-syms.exp: Remove stray newline.
12217 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12219 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12221 * gdb.asm/openbsd.inc: New file.
12223 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12225 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12226 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12227 *-*solaris2*. Remove commented out default settings for
12228 asm-flags. Replace gdb_compile with target_link.
12230 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12232 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12233 for all tests. Remove old hp-ux and cygnus xfail cases.
12235 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12237 * gdb.base/chng-syms.exp: New file.
12238 * gdb.base/chng-syms.c: New file.
12240 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12242 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12243 Provide arms for current output in all my configurations.
12245 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12247 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12248 * lib/compiler.cc: Likewise.
12249 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12250 get the right preprocessor. Eval the output directly. Remove
12251 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12252 hp_f77_compiler and hp_f90_compiler completely.
12253 (gdb_preprocess): Delete.
12254 (get_compiler): Delete.
12256 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12258 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12261 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12263 * gdb.mi/mi-stack.exp: Update copyright.
12265 2004-01-23 David Carlton <carlton@kealia.com>
12267 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12268 test for cp_lookup_transparent_type.
12269 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12272 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12274 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12277 2004-01-23 David Carlton <carlton@kealia.com>
12279 * gdb.cp/namespace.cc (C::ensureRefs): New.
12280 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12282 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12284 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12285 case "-stack-list-locals 2".
12286 * gdb.mi/mi-var-child.exp: Test for case
12287 "-var-list-children --all-values NAME".
12289 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12291 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12293 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12295 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12296 used with gdb_test_multiple.
12298 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12299 read at address 0. This fixes PR testsuite/1504.
12301 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12303 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12304 Remove downloading, guessing the host executable, the calls to
12305 gdb_file_cmd and gdb_target_cmd, and "load" support.
12306 (infer_host_exec): New function broken out from gdb_load.
12307 (gdb_load): New wrapper for gdbserver_gdb_load.
12308 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12309 gdb_target_cmd. Use -target-select.
12310 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12311 Download binaries to the host. Clear last_mi_remote_file when
12312 we load a new binary.
12313 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12314 call gdbserver_gdb_load and mi_gdb_target_cmd.
12316 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12318 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12321 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12323 * gdb.cp/templates.exp: Fix typo in test name of
12324 "print Foo<volatile char*>::foo".
12326 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12328 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12330 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12332 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12333 (clean mostlyclean): Remove empty rm.
12335 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12337 * gdb.base/setvar.exp: Add copyright years.
12339 2004-01-14 David Carlton <carlton@bactrian.org>
12341 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12342 PR c++/1511 and update coment.
12343 * gdb.cp/templates.exp: Update patterns to match current output.
12344 If changes involve something other than whitespace, KFAIL
12345 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12347 2004-01-14 David Carlton <carlton@kealia.com>
12349 * gdb.cp/namespace.exp: Add tests involving classes defined within
12351 * gdb.cp/namespace.cc (C::CClass): New.
12352 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12354 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12356 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12357 what debug info we have. Print a better message if something goes
12358 wrong while producing the separate debug info file.
12360 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12362 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12364 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12366 * gdb.base/callfuncs.c: Add copyright notice.
12368 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12370 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12371 inheritance. PR gdb/1498, PR gcc/13539.
12373 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12375 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12376 test specific name.
12377 * gdb.mi/gdb669.exp: Ditto.
12378 * gdb.mi/mi-pthreads.exp: Ditto.
12379 * gdb.mi/mi1-pthreads.exp: Ditto.
12380 * gdb.mi/mi2-pthreads.exp: Ditto.
12382 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12384 * gdb.cp/member-ptr.cc: Add copyright notice.
12386 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12388 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12389 some patterns for recent versions of gcc and hpacc. Delete
12390 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12391 Delete tests that access a NULL pointer-to-member-data. This
12392 script is still disabled for gcc.
12394 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12396 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12399 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12401 * gdb.base/sepdebug.exp: New file.
12402 * gdb.base/sepdebug.c: New file.
12403 * lib/gdb.exp (separate_debug_filename): New procedure.
12404 (gdb_gnu_strip_debug): New procedure.
12406 2004-01-12 Andrew Cagney <cagney@redhat.com>
12408 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12409 * gdb.mi/ChangeLog-1999-2003: New file.
12411 2004-01-12 Andrew Cagney <cagney@redhat.com>
12413 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12414 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12415 or EEXIST", treat EBUSY as an XFAIL.
12417 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12419 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12422 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12424 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12427 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12429 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12430 and "(aCC)" decorations. Remove obsolete doco about old
12433 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12435 * gdb.cp/exception.exp: Fix typo in doco.
12437 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12439 * gdb.base/gdb1476.exp: Fix typo.
12441 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12443 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12446 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12448 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12449 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12450 Use gdb_compile. Remove restriction on gcc. Add some patterns
12451 for recent version of gdb. Delete second half, which was a copy
12452 of the first half with different build flags. This test is
12453 still disabled because it is still not ready for production.
12455 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12457 * gdb.cp/exception.cc: Add copyright notice.
12458 * gdb.cp/exception.exp: Add a notice that this file is broken
12459 because of line number changes caused by addition of copyright
12462 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12464 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12465 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12467 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12469 * gdb.cp/classes.exp: Accept gnu abi 2.
12470 * gdb.cp/derivation.exp: Likewise.
12471 * gdb.cp/overload.exp: Likewise.
12472 * gdb.cp/virtfunc.exp: Likewise.
12474 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12476 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12477 semicolon after end of function.
12479 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12481 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12482 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12483 boilerplate code for compiling and running the program under
12484 test. Add some string method tests.
12486 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12488 * gdb.cp/bs15503.cc: Add copyright notice.
12489 * gdb.cp/bs15503.exp: Adjust line number.
12491 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12493 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12494 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12496 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12498 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12501 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12503 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12504 * gdb.cp/ctti.exp: Use the marker instead of "next".
12505 With gcc, run further before bailing.
12507 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12509 * gdb.cp/cttiadd.cc: Add copyright notice.
12510 * gdb.cp/cttiadd1.cc: Likewise.
12511 * gdb.cp/cttiadd2.cc: Likewise.
12512 * gdb.cp/cttiadd3.cc: Likewise.
12514 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12516 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12517 Use gdb_test, gdb_test_multiple. Use floating-point values that
12518 have exact representations in IEEE-ish formats.
12520 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12522 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12523 compilers. Delete duplicate call to get_compiler_info.
12524 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12525 * gdb.base/volatile.exp: Likewise.
12527 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12529 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12530 memory at address 0.
12532 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12534 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12535 to test for hp-ux assembler. Fix copyright years.
12537 2004-01-07 Andrew Cagney <cagney@redhat.com>
12539 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12541 2004-01-07 Andrew Cagney <cagney@redhat.com>
12543 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12544 when creating the read-only file. From analysis by Roland McGrath
12547 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12549 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12551 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12553 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12556 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12558 * gdb.cp/m-static.exp: Compile one source file at a time.
12559 Delete unused call to get_compiler_info.
12561 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12563 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12564 * gdb.base/call-rt-st.exp: Likewise.
12565 * gdb.base/nodebug.exp: Likewise.
12566 * gdb.base/volatile.exp: Likewise.
12567 * gdb.cp/ref-types.exp: Likewise.
12568 * gdb.cp/templates.exp: Likewise.
12570 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12572 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12574 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12576 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12579 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12581 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12584 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12585 sparc64-*-* and sparc*-solaris2*.
12587 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12589 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12590 return ${tests}" test. The ${tests} already mentions the
12593 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12595 * gdb.cp/local.exp: Accept gcc abi 2.
12597 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12599 * gdb.cp/templates.exp: Accept gcc abi 2.
12601 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12603 * lib/compiler.cc: Remove supports_template_debugging.
12604 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12606 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12608 * gdb.cp/namespace.exp: Accept gcc abi 2.
12610 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12612 * gdb.cp/method.exp: Accept gcc abi 2.
12614 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12616 * gdb.cp/classes.exp: Generate identical results as old version.
12617 * gdb.cp/derivation.exp: Likewise.
12618 * gdb.cp/overload.exp: Likewise.
12619 * gdb.cp/virtfunc.exp: Likewise.
12621 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12623 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12624 mysterious bug with sourceware version of expect.
12626 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12628 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12629 current versions of gcc, including gcc abi 2. Remove gratuitous
12630 restart of test program. Use gdb_test_multiple and gdb_test for
12631 all tests. Add patterns to xfail missing "const" in "const char *"
12632 and kfail PR gdb/1155.
12634 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12636 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12637 current versions of gcc, including gcc abi 2. Remove gratuitous
12638 restart of test program. Use gdb_test_multiple and gdb_test for
12639 all tests. Add patterns to kfail PR gdb/1498.
12641 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12643 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12644 current versions of gcc, including gcc abi 2. Use "breakpoint"
12645 and "continue" instead of restarting the target program. Use
12646 gdb_test_multiple and gdb_test for all tests.
12648 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12650 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12653 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12655 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12656 current versions of gcc, including gcc abi 2. Use "breakpoint"
12657 and "continue" instead of restarting the target program several
12658 times. Use gdb_test_multiple and gdb_test for all tests.
12660 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12662 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12665 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12667 * gdb.base/environ.exp: Handle compiling test case from multiple
12670 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12672 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12674 2003-12-17 Jim Blandy <jimb@redhat.com>
12676 * gdb.base/freebpcmd.c: Add copyright notice.
12678 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12680 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12682 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12684 2003-12-13 Jim Blandy <jimb@redhat.com>
12686 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12688 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12690 * gdb.asm/frv.inc: New file.
12691 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12693 2003-12-09 Fred Fish <fnf@redhat.com>
12695 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12696 functions to break1.c and leave prototypes behind. Add more
12697 "set breakpoint NN here" comments.
12698 * gdb.base/break1.c: New file.
12700 * gdb.base/break.exp: Handle compiling test case from multiple
12701 source files and change source file references as needed.
12702 * gdb.base/completion.exp: Ditto.
12703 * gdb.base/condbreak.exp: Ditto.
12704 * gdb.base/define.exp: Ditto.
12705 * gdb.base/ena-dis-br.exp: Ditto.
12706 * gdb.base/info-proc.exp: Ditto.
12707 * gdb.base/maint.exp: Ditto.
12708 * gdb.base/until.exp: Ditto.
12710 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12711 hardcoded line numbers.
12712 * gdb.base/define.exp: Ditto.
12713 * gdb.base/ena-dis-br.exp: Ditto.
12714 * gdb.base/maint.exp: Ditto.
12715 * gdb.base/until.exp: Ditto.
12717 * gdb.base/completion.exp: Use "break1" for completion tests since
12718 "break" is no longer a unique prefix.
12720 2003-12-06 Andrew Cagney <cagney@redhat.com>
12722 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12723 "return_value_unimplemented". When an unimplemented struct return
12724 architecture, report incorrect values as a KFAIL
12726 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12728 * gdb.cp/rtti.exp: Accept new wording of warning from
12729 cp_lookup_rtti_type.
12731 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12733 Partial fix for PR testsuite/1456.
12734 * gdb.base/scope.exp (test_at_main): Replace references to
12735 gcc_compiled with calls to test_compiler_info.
12736 (test_at_foo): Likewise.
12737 (test_at_bar): Likewise.
12739 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12741 Partial fix for PR testsuite/1456.
12742 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12743 to test_compiler_info.
12745 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12747 * gdb.base/so-impl-ld.exp: Update copyright notice.
12749 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12751 Partial fix for PR testsuite/1456.
12752 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12753 to test_compiler_info.
12755 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12757 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12758 from current versions of gdb. Clean up regular expressions.
12759 Delete redundant timeout case.
12761 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12763 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12764 from current versions of gdb. Clean up regular expressions.
12765 Delete redundant timeout case.
12767 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12769 Partial fix for PR testsuite/1456.
12770 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12771 gcc_compiled with call to test_compiler_info.
12773 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12775 Partial fix for PR testsuite/1456.
12776 * gdb.base/list.exp (test_list_function): Delete unused declaration
12779 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12781 Partial fix for PR testsuite/1456.
12782 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12783 call to test_compiler_info.
12785 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12787 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12788 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12789 it to create the appropriate note.inc.
12790 * gdb.asm/asmsrc1.s: Include "note.inc".
12791 * gdb.asm/netbsd.inc: New file.
12792 * gdb.asm/empty.inc: New file.
12794 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12796 Partial fix for PR testsuite/1456.
12797 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12798 calls to test_compiler_info.
12800 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12802 Partial fix for PR testsuite/1456.
12803 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12804 calls to test_compiler_info.
12806 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12808 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12809 pattern for the KFAILs.
12811 2003-11-25 Adam Fedor <fedor@gnu.org>
12813 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12814 * gdb.objc/objcdecode.m: New file.
12816 2003-11-25 Adam Fedor <fedor@gnu.org>
12818 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12819 * gdb.objc/nondebug.m: New file.
12821 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12823 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12824 NetBSD as it does on FreeBSD. Modelled on a similar change by
12825 Mark Kettenis on 2003-05-30.
12826 (link-flags): Set to "--entry _start" regardless of target.
12827 Special linker flags are to be appended to $link-flags.
12828 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12830 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12832 * gdb.cp/method.exp: Accept output of new demangler.
12834 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12836 * gdb/class2.exp: New file.
12837 * gdb/class2.cc: New file.
12839 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12841 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12844 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12846 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12849 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12851 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12852 "continue" into "run".
12854 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12856 Partial fix for PR testsuite/1456.
12857 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12858 call to test_compiler_info.
12859 * gdb.cp/ctti.exp: Likewise.
12860 * gdb.cp/derivation.exp: Likewise.
12861 * gdb.cp/member-ptr.exp: Likewise.
12862 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12863 reference to gcc_compiled.
12865 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12867 Fix PR testsuite/1463.
12868 * gdb.base/structs.exp (start_structs_test): Call
12869 get_debug_format before using the debug format.
12871 2003-11-22 Andrew Cagney <cagney@redhat.com>
12873 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12874 * gdb.base/structs.exp: Use gdb_test_multiple.
12876 2003-11-20 Andrew Cagney <cagney@redhat.com>
12878 * gdb.base/structs.exp: Handle and recover from internal errors.
12879 Replace "foo${n}" with "foo<n>" in test messages.
12881 * gdb.base/structs.exp: Update copyright. Rewrite.
12882 * gdb.base/structs.c: Update copyright. Rewrite.
12884 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12885 resync count exceeded.
12887 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12888 from the internal error.
12889 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12890 Original from Jim Blandy.
12891 (gdb_test_multiple): Use gdb_internal_error_resync.
12893 2003-11-19 Andrew Cagney <cagney@redhat.com>
12895 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12898 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12900 New testcase for PR backtrace/1435.
12901 * gdb.arch/i386-unwind.exp: New file.
12902 * gdb.arch/i386-unwind.c: New file.
12904 2003-11-17 Andrew Cagney <cagney@redhat.com>
12906 * lib/gdb.exp (compiler_info): New global.
12907 (test_compiler_info): New function.
12908 (get_compiler_info): Set compiler_info.
12909 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12910 "compiler_info" to gcc-<major>-<minor>.
12912 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12914 * gdb.trace/configure: Remove.
12916 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12918 * gdb.base/break.c: Add comments to aid finding line numbers for
12920 * gdb.base/break.exp: Remove all references to explicit line
12923 2003-11-11 Nick Clifton <nickc@redhat.com>
12925 * gdb.base/shreloc.exp: Do not run for targets which do not
12926 support shared objects.
12928 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12930 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12931 Don't run tests if nofileio flag is given.
12933 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12935 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12936 as well as 'Watchpoint'.
12938 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12940 Reported by Jim Ingham <jingham@apple.com>:
12941 * gdb.base/annota1.exp: Match at least one occurrence of the
12942 signal handler annotation.
12944 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12946 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12947 as well as 'Watchpoint'.
12949 2003-11-05 Michael Chastain <mec@shout.net>
12951 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12953 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12955 * gdb.arch/gdb1291.c: New test file.
12956 * gdb.arch/gdb1291.exp: New test script.
12957 * gdb.arch/gdb1431.c: New test file.
12958 * gdb.arch/gdb1431.exp: New test script.
12960 2003-10-22 Michael Chastain <mec@shout.net>
12962 * gdb.mi/pthreads.c: Add copyright notice.
12964 2003-10-22 Michael Chastain <mec@shout.net>
12966 * gdb.threads/pthreads.c: Add copyright notice.
12968 2003-10-20 Michael Chastain <mec@shout.net>
12970 * gdb.base/gdb1056.exp: New test script.
12972 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12974 * gdb.threads/killed.exp: Use gdb_run_cmd.
12976 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12978 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12979 create a core file.
12980 * gdb.threads/gcore-thread.exp: Likewise.
12982 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12984 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12985 type, based on char type.
12986 (struct bit_flags_short_t): New bitfield type, based on short type.
12987 (init_bit_flags_char): New fuction.
12988 (init_bit_flags_short): Ditto.
12989 (print_bit_flags_char): Ditto.
12990 (print_bit_flags_short): Ditto.
12991 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12993 2003-10-11 Michael Chastain <mec@shout.net>
12995 * gdb.base/call-rt-st.exp: Update copyright year.
12997 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12999 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13000 * gdb.disasm/sh3.s: Ditto.
13002 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13004 * gdb.threads/switch-threads.exp: New test.
13005 * gdb.threads/switch-threads.c: New source file.
13007 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13009 * gdb.base/ending-run.exp: Add sh specific case.
13011 2003-10-06 Andrew Cagney <cagney@redhat.com>
13013 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13014 * gdb.disasm/mn10200.exp: Delete obsolete file.
13016 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13018 * ChangeLog: Correct an entry command.exp -> commands.exp.
13019 * gdb.base/commands.exp (bp_deleted_in_command_test)
13020 (temporary_breakpoint_commands): Check noargs.
13022 2003-09-25 David Carlton <carlton@kealia.com>
13024 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13025 of some print tests, where appropriate. Add tests for C::D::cd,
13026 E::ce, F::cXfX, G::XgX.
13027 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13029 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13031 * lib/java.exp (java_init): Import target_alias before using it.
13033 2003-09-25 David Carlton <carlton@kealia.com>
13035 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13037 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13039 * gdb.base/selftest.exp: Accomodate more instruction reordering
13042 2003-09-17 Michael Chastain <mec@shout.net>
13044 * gdb.cp/gdb1355.exp: New file.
13045 * gdb.cp/gdb1355.c: New file.
13047 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13049 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13050 * gdb.asm/sh.inc: New file.
13052 2003-09-11 David Carlton <carlton@kealia.com>
13054 * gdb.cp/namespace.exp: Add tests for namespace types.
13055 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13056 (test_namespace): New.
13058 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13060 * gdb.base/relocate.exp: Handle new gdb output at startup.
13061 * gdb.stabs/weird.exp: Ditto.
13063 2003-09-08 Michael Chastain <mec@shout.net>
13065 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13067 2003-09-07 Michael Chastain <mec@shout.net>
13069 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13072 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13074 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13076 2003-08-30 Michael Chastain <mec@shout.net>
13078 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13079 * gdb.gdb/observer.exp: Ditto.
13080 * gdb.gdb/xfullpath.exp: Ditto.
13082 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13084 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13087 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13089 * gdb.base/dump.exp: Skip for ia64.
13091 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13093 * gdb.asm/asm-source.exp: Add ia64 support.
13094 * gdb.asm/ia64.inc: New file.
13096 2003-08-22 Michael Chastain <mec@shout.net>
13098 * gdb.cp: New directory.
13099 * gdb.cp/*: Copy from gdb.c++/*.
13100 * gdb.c++/*: Remove.
13101 * Makefile.in: Change gdb.c++ to gdb.cp.
13102 * configure.in: Ditto.
13103 * configure: Regnerate.
13105 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13107 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13108 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13110 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13112 * mi-var-display.exp (-var-list-children weird): Accept function
13113 pointers with argument types.
13114 * mi1-var-display.exp (-var-list-children weird): Likewise.
13115 * mi2-var-display.exp (-var-list-children weird): Likewise.
13117 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13119 * gdb.base/annota3.exp: Add missing newline.
13121 2003-08-06 Michael Chastain <mec@shout.net>
13123 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13125 2003-08-12 Michael Snyder <msnyder@redhat.com>
13127 * gdb.base/float.exp: Add test for SH.
13129 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13131 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13133 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13135 * gdb.base/completion.exp: Remove reduntant completion test
13138 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13140 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13141 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13142 gdb.trace/save-trace.exp: Make sure that full pathnames are
13145 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13147 * configure.in: Don't generate config.h from config.hin.
13148 * configure: Regenerate.
13149 * config.hin: Remove file.
13150 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13151 * gdb.threads/pthreads.c: Ditto.
13153 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13155 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13156 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13157 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13158 Replace ld24 with seth/add3.
13160 2003-08-02 Andrew Cagney <cagney@redhat.com>
13162 * gdb.base/annota3.exp: New file.
13163 * gdb.base/annota3.c: New file.
13164 * gdb.c++/annota3.exp: New file.
13165 * gdb.c++/annota3.cc: New file.
13167 2003-07-29 Michael Chastain <mec@shout.net>
13169 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13171 (do_pass): Likewise.
13172 * gdb.threads/tls.exp: Always initialize no_of_threads.
13174 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13176 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13178 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13179 * gdb.threads/tls.exp: Recognize one case of the host library not
13182 2003-07-27 Andrew Cagney <cagney@redhat.com>
13184 * gdb.base/fileio.exp: Use SH when running commands using
13187 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13189 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13190 * gdb.base/relocate.c (dummy): New padding array.
13192 2003-07-22 Michael Snyder <msnyder@redhat.com>
13194 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13196 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13197 patterns to be more general, accepting old and new output.
13198 Some output chars (such as '+') also must be quoted.
13199 Some addresses are displayed numerically instead of
13202 2003-07-23 Michael Snyder <msnyder@redhat.com>
13204 * gdb.base/return2.exp: Don't test long-long return.
13206 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13207 * gdb.disasm/t01_mov.exp: Ditto.
13208 * gdb.disasm/t02_mova.s: Ditto.
13209 * gdb.disasm/t02_mova.exp: Ditto.
13210 * gdb.disasm/t03_add.s: Ditto.
13211 * gdb.disasm/t03_add.exp: Ditto.
13212 * gdb.disasm/t04_sub.s: Ditto.
13213 * gdb.disasm/t04_sub.exp: Ditto.
13214 * gdb.disasm/t05_cmp.s: Ditto.
13215 * gdb.disasm/t05_cmp.exp: Ditto.
13216 * gdb.disasm/t06_ari2.s: Ditto.
13217 * gdb.disasm/t06_ari2.exp: Ditto.
13218 * gdb.disasm/t07_ari3.s: Ditto.
13219 * gdb.disasm/t07_ari3.exp: Ditto.
13220 * gdb.disasm/t08_or.s: Ditto.
13221 * gdb.disasm/t08_or.exp: Ditto.
13222 * gdb.disasm/t09_xor.s: Ditto.
13223 * gdb.disasm/t09_xor.exp: Ditto.
13224 * gdb.disasm/t10_and.s: Ditto.
13225 * gdb.disasm/t10_and.exp: Ditto.
13226 * gdb.disasm/t11_logs.s: Ditto.
13227 * gdb.disasm/t11_logs.exp: Ditto.
13228 * gdb.disasm/t12_bit.s: Ditto.
13229 * gdb.disasm/t12_bit.exp: Ditto.
13230 * gdb.disasm/t13_otr.s: Ditto.
13231 * gdb.disasm/t13_otr.exp: Ditto.
13233 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13235 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13237 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13239 * gdb.threads/tls.c : New file.
13240 * gdb.threads/tls.exp : New file.
13241 * gdb.threads/tls-main.c : New file.
13242 * gdb.threads/tls-shared.c : New file.
13243 * gdb.threads/tls-shared.exp : New file.
13245 2003-07-22 Andreas Schwab <schwab@suse.de>
13247 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13249 2003-07-20 Andreas Schwab <schwab@suse.de>
13251 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13252 due to insn reordering.
13254 2003-07-15 Andrew Cagney <cagney@redhat.com>
13256 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13258 2003-07-15 Michael Chastain <mec@shout.net>
13260 * gdb.base/gdb1250.exp: New file.
13261 * gdb.base/gdb1250.c: New file.
13263 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13265 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13266 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13268 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13270 * gdb.threads/tls.c: New file.
13271 * gdb.threads/tls.exp: New file.
13272 * gdb.threads/tls-main.c: New file.
13273 * gdb.threads/tls-shared.c: New file.
13274 * gdb.threads/tls-shared.exp: New file.
13276 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13278 * gdb.base/annota1.exp: Make sure that we properly escape the
13279 full path of the source file. Xfail more permissive patterns,
13280 due to a compiler debug info problem.
13282 2003-07-07 Andreas Schwab <schwab@suse.de>
13284 * gdb.asm/m68k.inc: New file.
13285 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13287 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13288 arguments"): Also match negative number.
13290 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13292 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13294 * gdb.base/store.c (charest): New typedef.
13295 (add_char): Rename to add_charest, update.
13296 (wack_char): Rename to wack_charest, update types. Return l + r
13297 to keep r live across the call.
13298 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13299 (wack_double, wack_doublest): Return l + r to keep r live across
13301 * gdb.base/store.exp: Accomodate store.c changes.
13303 2003-06-30 David Carlton <carlton@kealia.com>
13305 * gdb.c++/maint.exp (test_invalid_name): New.
13306 (test_first_component): Add tests for invalid names.
13308 2003-06-29 Michael Chastain <mec@shout.net>
13310 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13311 output of '<VTT for class>' for virtual base classes.
13313 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13315 * gdb.base/completion.exp: Tab-complete "complet" instead of
13317 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13319 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13321 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13322 * gdb.base/volatile.exp: Likewise.
13324 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13326 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13329 2003-06-28 Michael Chastain <mec@shout.net>
13330 Daniel Jacobowitz <drow@mvista.com>
13332 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13333 initial line count of 'captured_main' from 26 to 32.
13334 (test_with_self): Allow xmalloc call to be interleaved with the
13335 preceding two lines.
13337 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13339 * gdb.base/bang.exp: New testcase.
13341 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13343 * gdb.base/langs.exp: Add some tests for the "minimal" language
13346 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13348 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13351 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13353 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13356 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13358 * gdb.c++/pr-1210.cc: New file.
13359 * gdb.c++/pr-1210.exp: New file.
13361 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13363 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13366 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13368 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13369 on *-*-*bsd* instead of *-*-freebsd*.
13371 2003-06-14 Andrew Cagney <cagney@redhat.com>
13373 * gdb.base/store.exp: Test longest and doublest. Test all
13374 parameters. Weaken return statement match.
13375 * gdb.base/store.c: Add longest and doublest - aka long long and
13376 long double functions. Put all parameters into local register
13377 variables. Use negative values.
13379 2003-06-14 Andrew Cagney <cagney@redhat.com>
13381 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13382 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13384 * gdb.base/fileio.exp: Disable target when nointerrupts and
13385 noinferiorio, instead of limiting it to remote. Use remote_exec
13388 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13390 * gdb.base/float.exp: Add ia64 support.
13392 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13394 * gdb.base/fileio.exp: Run only on remote targets.
13396 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13398 * gdb.base/fileio.c: New file, testing File-I/O.
13399 * gdb.base/fileio.exp: Ditto.
13401 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13403 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13404 shared objects after relocation at load time (gdb PR/1132).
13405 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13406 as above, part of the shared object relocation test.
13408 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13410 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13411 fully filled history list.
13412 * gdb.base/gdb_history: New file.
13414 * gdb.base/signals.exp: XFAIL "continue to func1" on
13417 * gdb.base/attach.exp: When trying to attach to a nonexistent
13418 process, make it possible to specify the PID based on the target,
13419 and do so for *-*-freebsd*.
13421 2003-06-02 Richard Henderson <rth@redhat.com>
13423 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13425 2003-06-02 Richard Henderson <rth@redhat.com>
13427 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13429 2003-06-02 Richard Henderson <rth@redhat.com>
13431 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13433 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13435 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13438 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13440 * gdb.asm/asm-source.exp: Check for memory read errors in
13441 disassembler test on *BSD too.
13443 2003-06-01 Richard Henderson <rth@redhat.com>
13445 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13447 (gdbasm_call): Lose ldgp.
13448 (gdbasm_startup): Add frame information.
13449 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13451 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13453 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13456 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13458 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13461 2003-05-29 Richard Henderson <rth@redhat.com>
13463 * gdb.asm/alpha.inc: New file.
13464 * gdb.asm/asm-source.exp: Use it.
13466 2003-05-29 Jim Blandy <jimb@redhat.com>
13468 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13471 2003-05-22 Jim Blandy <jimb@redhat.com>
13473 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13476 2003-05-20 David Carlton <carlton@math.stanford.edu>
13478 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13481 2003-05-19 David Carlton <carlton@bactrian.org>
13483 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13484 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13486 2003-05-19 David Carlton <carlton@bactrian.org>
13488 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13490 Bump copyright date.
13491 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13492 (main): Call C::D::marker2.
13493 * gdb.c++/namespace1.cc: New file.
13495 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13497 Roland McGrath <roland@redhat.com>
13498 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13499 there is no manager thread.
13501 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13503 * gdb.threads/schedlock.exp: Remove assumption that all threads
13504 will run in a particular small time slice. Also ensure we break
13505 in one of the child threads rather than the main thread.
13507 2003-05-07 Jim Blandy <jimb@redhat.com>
13509 Add support for assembly source testing on the s390x.
13510 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13512 * gdb.asm/s390x.inc: New file.
13514 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13515 succession of 'if' statements.
13517 2003-05-05 Andrew Cagney <cagney@redhat.com>
13519 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13521 2003-05-05 Andrew Cagney <cagney@redhat.com>
13523 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13524 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13526 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13528 * gdb.base/charset.exp: Update based on new behavior of set/show
13531 2003-05-01 Andrew Cagney <cagney@redhat.com>
13533 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13534 variable do not give memory errors.
13536 2003-04-30 Adam Fedor <fedor@gnu.org>
13538 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13539 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13540 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13541 gdb.objc/basicclass.m: : New files
13543 * lib/gdb.exp (gdb_compile_objc): New procedure.
13545 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13547 * gdb.base/signals.exp: Make backtrace tests more specific.
13549 2003-04-23 David Carlton <carlton@bactrian.org>
13551 * gdb.c++/maint.exp (test_first_component): Add tests for
13552 'operator' in more locations.
13554 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13556 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13558 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13560 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13561 func marke' instead. Update test name.
13563 2003-04-15 David Carlton <carlton@math.stanford.edu>
13565 * gdb.c++/maint.exp: New file.
13567 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13569 * gdb.threads/schedlock.c: Change type of thread function argument
13570 to long, to avoid warnings on 64-bit platforms.
13572 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13574 * gdb.base/attach.exp: Add new message from ptrace in case of
13575 attaching to nonexistent process.
13577 2003-04-11 Jim Blandy <jimb@redhat.com>
13579 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13580 gdb.c++/userdef.cc: Place comments on the lines to which the
13581 marker function might return.
13582 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13583 gdb.c++/userdef.exp: Look for those comments to check that we've
13584 returned to the right place, instead of checking line numbers.
13586 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13588 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13589 match on sourcefile name, instead of directory name.
13591 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13593 * gdb.base/completion.exp: Use string_to_regexp to match the
13594 working directory name.
13596 2003-04-09 Jim Blandy <jimb@redhat.com>
13598 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13599 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13600 after an inferior function call, report the failure, but allow the
13603 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13605 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13608 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13610 * gdb.base/break.exp: Revert last patch.
13612 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13614 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13617 2003-04-02 Andrew Cagney <cagney@redhat.com>
13619 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13620 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13621 matching directories by the name breakpoint.
13622 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13623 Make "continue to marker1" consistent.
13624 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13625 message consistent.
13626 * lib/gdb.exp: Put "the program is no longer running", and "the
13627 program exited" in parenthesis.
13628 * lib/mi-support.exp: Ditto.
13630 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13632 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13634 2003-03-29 Andrew Cagney <cagney@redhat.com>
13636 * gdb.base/sizeof.c (main): Print the value of '\377'.
13637 * gdb.base/sizeof.exp: Check the sign of '\377'.
13639 2003-03-27 Michael Chastain <mec@shout.net>
13641 * gdb.base/gdb1090.exp: New file.
13642 * gdb.base/gdb1090.cc: New file.
13644 2003-03-27 J. Brobecker <brobecker@gnat.com>
13646 * gdb.gdb/observer.exp: New regression test.
13648 2003-03-27 Michael Chastain <mec@shout.net>
13650 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13651 * gdb.base/ptype.exp: Likewise.
13653 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13655 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13657 2003-03-26 Michael Chastain <mec@shout.net>
13659 * gdb.base/ptype.exp: Actually use some typedef'd types.
13661 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13663 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13664 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13666 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13668 * gdb.base/default.exp: Fix regular expression.
13670 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13672 * gdb.base/args.exp: Fix regular expression.
13674 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13676 * gdb.base/help.exp: Allow Win32 child process.
13678 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13680 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13681 when stepping out of main().
13683 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13685 * gdb.base/default.exp: Check for win32 specific message when calling
13686 "run" without executable.
13688 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13690 * gdb.base/args.exp: Expect .exe in output.
13692 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13694 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13697 2003-03-17 Andrew Cagney <cagney@redhat.com>
13699 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13701 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13702 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13704 2003-03-17 David Carlton <carlton@math.stanford.edu>
13706 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13707 test, for PR breakpoints/38.
13708 Call test_watchpoint_and_breakpoint.
13709 * gdb.base/watchpoint.c (func3): New function.
13710 (main): Call func3.
13712 2003-03-04 David Carlton <carlton@math.stanford.edu>
13714 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13715 Garply<Garply<char> >:: garply".
13716 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13717 with respect to PR c++/1111; note also PR c++/1113.
13718 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13719 respect to PR c++/1062.
13720 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13722 2003-03-03 David Carlton <carlton@math.stanford.edu>
13724 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13725 with respect to PR c++/57.
13726 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13728 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13729 respect to PR c++/57.
13731 2003-03-03 David Carlton <carlton@math.stanford.edu>
13733 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13734 respect to PR c++/33 into FAILs.
13736 2003-03-03 Michael Chastain <mec@shout.net>
13738 * configure.in: Update copyright years.
13740 2003-03-03 Michael Chastain <mec@shout.net>
13742 * Makefile.in: Update copyright years.
13744 2003-02-28 David Carlton <carlton@math.stanford.edu>
13746 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13747 print class instead of struct and/or superfluous protection
13748 specifiers, as long as the resulting output is equivalent to the
13750 Delete FIXME from end of messages on tests that don't need
13753 2003-02-28 David Carlton <carlton@math.stanford.edu>
13755 * gdb.c++/templates.exp (do_tests): Allow const in the two
13756 Foo<volatile char *>::foo tests.
13758 2003-02-27 Michael Snyder <msnyder@redhat.com>
13760 * gdb.base/restore.c (main): Return zero, so exit code
13761 will be consistant.
13763 2003-02-26 David Carlton <carlton@math.stanford.edu>
13765 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13766 char *>::foo" test with respect to PR c++/33. Create a new test
13767 which is identical to that one except that it doesn't put the
13768 space between the "char" and the "*"; KFAIL it, too.
13770 2003-02-26 David Carlton <carlton@math.stanford.edu>
13772 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13773 template types into either PASSes or KFAILs (corresponding to PR
13774 c++/57). Tweak indentation. Update copyright.
13776 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13778 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13780 2003-02-13 Michael Chastain <mec@shout.net>
13782 * gdb.base/exprs.exp: Remove i960 remnants.
13783 * gdb.base/funcargs.exp: Likewise.
13784 * gdb.base/list.exp: Likewise.
13785 * gdb.base/ptype.exp: Likewise.
13787 2003-02-14 David Carlton <carlton@math.stanford.edu>
13789 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13790 pEe->D::vg()" from XFAIL to KFAIL.
13792 2003-02-13 Jason Molenda (jmolenda@apple.com)
13794 * gdb.base/maint.exp: Update maint print statistics regexp to include
13797 2003-02-13 Michael Chastain <mec@shout.net>
13799 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13801 2003-02-12 Michael Chastain <mec@shout.net>
13803 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13804 * gdb.c++/inherit.exp: Likewise.
13805 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13806 * gdb.c++/templates.exp: Likewise.
13807 * gdb.c++/virtfunc.exp: Likewise.
13809 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13811 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13812 why the code is written that way.
13814 2003-02-05 Michael Chastain <mec@shout.net>
13816 * gdb.base/dump.exp: Add missing copyright line.
13818 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13820 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13821 at the beginning so the breakpoint doesn't get set on the loop.
13823 2003-02-05 Michael Chastain <mec@shout.net>
13825 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13826 output for configurations with gcc 2.95.3.
13828 2003-02-05 Keith Seitz <keiths@redhat.com>
13829 Andrew Cagney <ac131313@redhat.com>
13831 * gdb.mi/mi-cli.exp: New file.
13833 2003-02-04 Michael Chastain <mec@shout.net>
13835 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13836 Call perror and then continue.
13838 2003-02-03 Michael Chastain <mec@shout.net>
13840 * gdb.c++/pr-1023.cc: New file.
13841 * gdb.c++/pr-1023.exp: New file.
13843 2003-02-05 Jim Blandy <jimb@redhat.com>
13845 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13846 it's local to foobar. Check for it there, and check that it's not
13848 * gdb.c++/local.cc (marker2): New function.
13849 (foobar): Call marker1.
13850 (main): Call marker2 instead of marker1.
13852 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13854 * gdb.disasm/mn10200.exp: Obsolete file.
13855 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13856 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13857 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13859 2003-02-04 David Carlton <carlton@math.stanford.edu>
13861 * gdb.c++/overload.exp: Test intToChar(1).
13862 * gdb.c++/overload.cc (intToChar): New.
13863 (main): Call intToChar.
13865 2003-02-03 David Carlton <carlton@math.stanford.edu>
13867 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13869 KFAIL some of the continue_to_bp_overloaded calls, according to
13872 2003-02-01 Michael Chastain <mec@shout.net>
13874 * gdb.base/advance.c (marker1): New marker function.
13875 * gdb.base/advance.exp: When the 'advance' command lands on the
13876 return breakpoint, it can legitimately stop on either the
13877 current line or the next line. Accommodate both outcomes.
13878 * gdb.base/until.exp: Likewise.
13880 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13882 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13883 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13884 now a list, not a tuple.
13885 * gdb.mi/mi-var-display.exp: Ditto.
13886 * gdb.mi/gdb792.exp: Ditto.
13888 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13890 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13891 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13893 * gdb.mi/mi-syn-frame.c: Part of same.
13895 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13897 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13898 gdb.mi/mi1-pthreads.exp: Return instead of calling
13899 gdb_suppress_entire_file.
13901 2003-02-01 Mark Salter <msalter@redhat.com>
13903 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13905 2003-01-31 Mark Salter <msalter@redhat.com>
13907 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13910 2003-01-30 Michael Chastain <mec@shout.net>
13912 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13913 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13914 has been fixed in gdb/readline on 2003-01-09.
13916 2003-01-29 Michael Snyder <msnyder@redhat.com>
13918 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13919 * gdb.base/display.exp: Allow for leading underscore in symbol.
13920 * gdb.base/args.exp: Skip if target does not support args passing.
13922 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13924 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13925 gdb_test. Accept a list of expect arguments as the third
13927 (gdb_test): Use it.
13929 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13931 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13932 allow for different test tree configurations. Update some
13933 tescases accordingly.
13934 * gdb.arch/altivec-regs.exp: Ditto.
13935 * gdb.asm/asm-source.exp: Ditto.
13936 * gdb.base/advance.exp: Ditto.
13937 * gdb.base/display.exp: Ditto.
13938 * gdb.base/long_long.exp: Ditto.
13939 * gdb.base/mips_pro.exp: Ditto.
13940 * gdb.base/overlays.exp: Ditto.
13941 * gdb.base/relocate.exp: Ditto.
13942 * gdb.base/setshow.exp: Ditto.
13943 * gdb.base/step-line.exp: Ditto.
13944 * gdb.base/step-test.exp: Ditto.
13945 * gdb.base/until.exp: Ditto.
13946 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13948 2003-01-17 David Carlton <carlton@math.stanford.edu>
13950 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13951 corresponding to PR c++/945.
13954 2003-01-17 David Carlton <carlton@math.stanford.edu>
13956 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13957 corresponding to PR c++/68.
13959 2003-01-17 David Carlton <carlton@math.stanford.edu>
13961 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13962 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13963 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13965 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13967 * gdb.base/break.exp: Fix change of default location, because of
13968 removal of until tests.
13969 * gdb.base/help.exp: Update test for new 'until' help message.
13970 Add test for help on 'advance'.
13971 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13973 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13975 * gdb.base/default.exp: Adapt "info float" test for recent changes
13976 to that command. Add test for "info vector".
13977 * gdb.base/float.exp: New file. Add test for "info float" that
13978 resembles the old test in gdb.base/default.exp.
13980 2003-01-15 David Carlton <carlton@math.stanford.edu>
13982 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13984 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13986 * gdb.base/break.exp: Move the tests of until command from here...
13987 * gdb.base/until.exp: ... to here. New file. Add other tests.
13988 * gdb.base/advance.c: New file.
13989 * gdb.base/advance.exp: New file.
13991 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13993 * gdb.base/args.c: New file.
13994 * gdb.base/args.exp: New file.
13996 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13998 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14000 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14002 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14004 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14006 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14009 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14011 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14013 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14015 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14017 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14019 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14021 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14022 * gdb.mi/mi1-console.exp: Likewise.
14024 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14026 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14027 * gdb.mi/mi1-console.exp: Likewise.
14029 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14031 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14033 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14035 * gdb.base/detach.exp: New test.
14037 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14039 * Makefile.in (ALL_SUBDIRS): New variable.
14040 (subdirs, clean, distclean): Use it.
14041 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14042 regenerating Makefile, since it is generated from the top level.
14043 * gdb.asm/Makefile.in: Likewise.
14044 * gdb.base/Makefile.in: Likewise.
14045 * gdb.c++/Makefile.in: Likewise.
14046 * gdb.disasm/Makefile.in: Likewise.
14047 * gdb.java/Makefile.in: Likewise.
14048 * gdb.mi/Makefile.in: Likewise.
14049 * gdb.threads/Makefile.in: Likewise.
14050 * gdb.trace/Makefile.in: Likewise.
14052 2003-01-09 David Carlton <carlton@math.stanford.edu>
14054 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14055 Add copyright year 2003.
14057 2003-01-06 Michael Chastain <mec@shout.net>
14059 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14060 When selecting a thread, 'line' and 'file' are optional.
14061 * gdb.mi/mi1-pthreads.exp: Likewise.
14063 2003-01-06 Andreas Schwab <schwab@suse.de>
14065 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14068 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14071 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14072 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14074 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14075 instead of calling gdb_suppress_entire_file.
14076 * gdb.threads/print-threads.exp: Likewise.
14077 * gdb.threads/schedlock.exp: Likewise.
14079 * gdb.threads/killed.exp: Return instead of calling
14080 gdb_suppress_entire_file.
14081 * gdb.threads/linux-dp.exp: Likewise.
14082 * gdb.threads/pthreads.exp: Likewise.
14084 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14086 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14088 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14089 * gdb.base/whatis.exp: Always allow (void) after function names.
14091 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14093 * gdb.c++/casts.exp: Correct regexp.
14095 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14097 * configure.in: Call AC_CONFIG_HEADER. Don't call
14098 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14099 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14100 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14101 aforementioned directories in the AC_OUPUT call.
14102 * config.hin: New file.
14103 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14104 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14105 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14106 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14107 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14108 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14109 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14110 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14111 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14112 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14113 gdb.threads/configure.in, gdb.threads/configure,
14114 gdb.threads/config.in, gdb.trace/configure.in,
14115 gdb.trace/configure: Removed.
14117 2003-01-03 Michael Chastain <mec@shout.net>
14119 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14120 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14122 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14124 * gdb.base/store.exp: Fix regular expressions.
14126 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14128 * configure.in: Rewrite.
14129 * configure: Regenerated.
14131 2003-01-03 David Carlton <carlton@math.stanford.edu>
14133 * gdb.base/psymtab.exp: New file.
14134 * gdb.base/psymtab1.c: Ditto.
14135 * gdb.base/psymtab2.c: Ditto.
14137 2002-12-23 Adam Fedor <fedor@gnu.org>
14139 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14141 2002-12-23 David Carlton <carlton@math.stanford.edu>
14143 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14144 and current_directory initialization.
14146 2002-12-22 Jim Blandy <jimb@redhat.com>
14148 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14149 rather than as part of the output file name.
14151 * gdb.base/attach.exp: There's no need to copy the test program to
14152 /tmp; that was only ever necessary on HP/UX, and this test is
14153 entirely disabled there anyway.
14155 2002-12-21 Jim Blandy <jimb@redhat.com>
14157 * gdb.c++/psmang.exp: Doc fix.
14159 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14162 2002-12-20 David Carlton <carlton@math.stanford.edu>
14164 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14166 2002-12-18 Michael Chastain <mec@shout.net>
14168 * gdb.c++/annota2.exp: Add copyright year 2002.
14170 2002-12-17 David Carlton <carlton@math.stanford.edu>
14172 * gdb.c++/try_catch.cc: Add marker comments.
14173 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14174 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14175 * gdb.c++/m-static.cc: Ditto.
14176 * gdb.c++/m-static1.cc: Ditto.
14177 * gdb.c++/try_catch.cc: Ditto.
14179 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14181 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14182 to see whether we are using the new -environment-directory
14183 command which resets via -r or the old version of the command
14184 which may prompt the user. Part of fix for gdb/741.
14186 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14188 * gdb.fortran/types.exp: Update obsolete comment.
14189 * gdb.fortran/exprs.exp: Ditto.
14190 * lib/gdb.exp: Delete obsolete code.
14191 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14192 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14193 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14194 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14195 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14196 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14197 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14198 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14199 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14200 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14201 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14202 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14203 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14204 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14205 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14206 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14207 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14208 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14209 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14210 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14211 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14212 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14213 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14214 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14215 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14216 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14217 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14218 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14219 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14220 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14221 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14222 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14223 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14224 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14225 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14226 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14227 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14229 2002-12-11 David Carlton <carlton@math.stanford.edu>
14231 * gdb.c++/m-data.exp: Add test for members that shadow global
14232 variables: see PR gdb/804.
14233 * gdb.c++/m-data.cc: Ditto.
14235 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14237 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14239 2002-12-06 David Carlton <carlton@math.stanford.edu>
14241 * gdb.base/store.c: Don't declare functions static.
14243 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14245 * gdb.base/store.exp, gdb.base/store.c: New files.
14247 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14249 * gdb.base/selftest.exp: Update for current gdb.
14251 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14253 * gdb.base/maint.exp: Only dump symbols from one source file
14256 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14258 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14261 2002-11-25 Jim Blandy <jimb@redhat.com>
14263 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14264 function appearing in error message.
14266 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14268 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14270 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14272 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14273 for mi1 and current mi is in correct format. New mi startup message
14274 should be in mi console format. This is part of fix for PR gdb/604.
14276 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14278 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14279 which explicitly prints the zero offset as "+0".
14281 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14283 * gdb.threads/schedlock.c (args): Make unsigned.
14285 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14287 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14288 numbers. Allow "foo2|selected stack frame".
14289 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14290 * gdb.asm/asmsrc2.s: Likewise.
14291 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14293 * gdb.asm/mips.inc: New file.
14295 2002-10-18 Adam Fedor <fedor@gnu.org>
14297 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14298 * gdb.base/help.exp: Likewise.
14300 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14302 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14303 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14305 2002-10-02 Jim Blandy <jimb@redhat.com>
14307 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14309 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14311 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14312 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14313 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14314 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14315 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14316 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14317 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14319 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14321 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14322 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14323 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14324 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14325 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14326 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14327 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14329 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14331 * gdb.base/annota1.exp (info break): Make directory components of
14332 path optional since not all compilers emit this debug information.
14334 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14335 step ends up stepping out of the function instead of stopping on
14338 2002-09-26 Keith Seitz <keiths@redhat.com>
14340 * lib/insight-support.exp (gdbtk_start): Figure out where
14341 the insight executable is based on where gdb is. Use this
14342 executable to start insight instead of gdb.
14344 2002-09-25 Andrew Cagney <cagney@redhat.com>
14346 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14348 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14350 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14351 test_isolated_complaints.
14352 (test_empty_complaint): New function.
14353 (test_empty_complaints): New function. Check no output when no
14356 2002-09-19 Jim Blandy <jimb@redhat.com>
14358 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14360 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14362 * gdb.gdb/complaints.exp: New file.
14364 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14366 * gdb.base/maint.exp: Check `help maint internal-warning'.
14368 2002-09-18 David Carlton <carlton@math.stanford.edu>
14370 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14371 numbers, and replace them by a single breakpoint after the
14372 constructors are all finished.
14374 * gdb.c++/m-static.cc: Add test 4.
14375 * gdb.c++/m-static.h: New file.
14376 * gdb.c++/m-static1.cc: New file.
14378 * gdb.c++/printmethod.exp: New file.
14379 * gdb.c++/printmethod.cc: New file.
14381 * gdb.c++/pr-574.exp: New file.
14382 * gdb.c++/pr-574.cc: New file.
14384 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14386 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14387 embedded targets which never actually exit.
14389 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14391 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14392 "don't step after run" as unresolved or unsupported, instead of xfail.
14394 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14396 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14397 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14398 Add newline to expected string in "step out of main (status wrapper)"
14401 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14403 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14404 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14406 2002-09-17 Tom Tromey <tromey@redhat.com>
14408 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14409 \000, not \0, in double-quoted string.
14411 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14413 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14414 string after running the commands execution on breakpoint tests.
14416 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14418 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14420 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14422 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14424 2002-09-10 Keith Seitz <keiths@redhat.com>
14426 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14428 (mi_run_to_main): Use mi_runto.
14429 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14431 2002-09-10 Keith Seitz <keiths@redhat.com>
14433 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14434 regexp for stopping at main. Could have multiple event notifications.
14435 Don't assume that main was declared with no parameters.
14436 (mi_next): Use mi_step_to.
14437 (mi_step): Use mi_next_to.
14439 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14441 * gdb.base/default.exp: Fix expected string in `info float' test.
14443 2002-09-09 Ben Elliston <bje@redhat.com>
14445 * config/mips.exp: Update comments.
14446 * config/mips-idt.exp: Likewise.
14447 * config/nind.exp: Likewise.
14448 * config/slite.exp: Likewise.
14449 * config/sparclet.exp: Likewise.
14450 * config/udi.exp: Likewise.
14451 * config/vx.exp: Likewise.
14452 * config/vxworks29k.exp: Likewise.
14454 2002-09-05 Jim Blandy <jimb@redhat.com>
14456 * gdb.threads/killed.exp: Fix test failure message.
14458 2002-09-04 Keith Seitz <keiths@redhat.com>
14460 * lib/mi-support.exp: Update copyright.
14461 (mi_gdb_test): Increase the priority of the expected pattern
14462 so that it matches gdb_test.
14464 2002-09-03 Keith Seitz <keiths@redhat.com>
14466 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14467 Use integer comparison instead of string comparison for testing
14468 whether binary was built.
14470 2002-09-03 Jim Blandy <jimb@redhat.com>
14472 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14474 2002-08-29 Jim Blandy <jimb@redhat.com>
14476 * gdb.threads/pthreads.exp: Move the portable thread compilation
14477 code into a function in lib/gdb.exp, and call that from here.
14478 * lib/gdb.exp (gdb_compile_pthreads): New function.
14480 2002-08-29 Keith Seitz <keiths@redhat.com>
14482 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14483 expect_out so that callers can get at it.
14485 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14487 * gdb.threads/print-threads.c: New file.
14488 * gdb.threads/print-threads.exp: New file.
14489 * gdb.threads/schedlock.c: New file.
14490 * gdb.threads/schedlock.exp: New file.
14492 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14494 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14497 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14499 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14500 targets. The problem should be fixed now.
14502 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14504 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14505 2002-07-24 change that removes final dots from error messages.
14507 2002-08-13 Tom Tromey <tromey@redhat.com>
14509 * gdb.base/readline.exp: New file.
14511 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14513 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14516 2002-08-01 Andrew Cagney <cagney@redhat.com>
14518 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14519 CHILL_FOR_TARGET and CHILL_LIB.
14520 * configure.in (configdirs): Remove gdb.chill.
14521 * configure: Regenerate.
14522 * lib/gdb.exp: Obsolete references to chill.
14523 * gdb.fortran/types.exp: Ditto.
14524 * gdb.fortran/exprs.exp: Ditto.
14526 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14528 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14529 set Irix-specific compile and link flags.
14531 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14533 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14534 source files. The ``-o'' option doesn't work with the ``-E'' option
14535 when using the Irix compiler.
14537 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14539 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14540 Improve support for reusing an exec file. Copy exec file
14541 to target, and run gdbserver on the target instead of on the host.
14543 2002-07-18 Jim Blandy <jimb@redhat.com>
14545 * gdb.base/ending-run.exp: Don't expect to see the program end in
14546 some orderly fashion when we're running on a real stand-alone
14549 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14550 targets that don't support interrupts.
14552 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14554 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14556 Move comments in expect statements to inside the actions, so that they
14557 don't get matched against.
14559 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14561 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14562 function when asleep" test.
14564 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14566 * gdb.base/page.exp: Rewrite to handle problems with very long
14567 `info set' output. Update copyright.
14569 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14571 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14573 * gdb.hp/configure: Regenerate.
14574 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14575 * gdb.hp/gdb.threads-hp/configure: Delete file.
14576 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14578 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14580 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14581 setlocale, bindtextdomain and textdomain.
14583 2002-06-11 Jim Blandy <jimb@redhat.com>
14585 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14586 preprocessor macro information is present.
14588 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14591 2002-06-06 Michael Snyder <msnyder@redhat.com>
14593 * gdb.base/overlays.exp: Record addresses of overlay
14594 functions in TCL variables rather than in GDB variables,
14595 to avoid having GDB convert them to pointers (with loss
14598 * gdb.base/d10v.ld: Merge in several years worth of
14599 default linker script changes.
14600 * gdb.base/long_long.exp: Add check for sizeof (long double).
14602 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14604 * gdb.asm/asm-source.exp: Add x86-64 target.
14605 * gdb.asm/x86_64.inc: New.
14607 2002-05-30 Michael Chastain <mec@shout.net>
14609 From Benjamin Kosnik <bkoz@redhat.com>:
14610 * gdb.c++/m-static.cc: New file.
14611 * gdb.c++/m-static.exp: New file.
14613 2002-05-28 Michael Snyder <msnyder@redhat.com>
14615 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14618 2002-05-27 Michael Chastain <mec@shout.net>
14620 From Benjamin Kosnik <bkoz@redhat.com>:
14621 * gdb.c++/m-data.cc: New file.
14622 * gdb.c++/m-data.exp: New file.
14624 2002-05-27 Michael Chastain <mec@shout.net>
14626 From Benjamin Kosnik <bkoz@redhat.com>:
14627 * gdb.c++/try_catch.cc: New file.
14628 * gdb.c++/try_catch.exp: New file.
14630 2002-05-27 Michael Chastain <mec@shout.net>
14632 * gdb.c++/local.exp: Accept more nested types in output.
14634 2002-05-26 Michael Chastain <mec@shout.net>
14636 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14638 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14640 * lib/gdb.exp (gdb_wrapper_init): Just because
14641 gdb_wrapper_file exists, this does not mean that the file
14642 should not be rebuilt. That is what gdb_wrapper_initialized
14644 (default_gdb_init): Reset gdb_wrapper_initialized.
14646 2002-05-23 Michael Snyder <msnyder@redhat.com>
14648 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14649 the precision of the floating point test results.
14650 * gdb.base/call-rt-st.exp: Ditto.
14652 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14653 * gdb.base/call-rt-st.exp: Ditto.
14655 2002-05-19 Michael Chastain <mec@shout.net>
14657 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14659 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14661 * configure.in (configdirs): Add gdb.arch.
14662 * configure: Regenerate.
14664 2002-05-17 Jim Blandy <jimb@redhat.com>
14666 * gdb.base/completion.exp: Recognize the more detailed error
14667 messages produced by the macro expander's lexical analyzer.
14669 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14671 * gdb.arch/altivec-abi.c: New file.
14672 * gdb.arch/altivec-abi.exp: New file.
14673 * gdb.arch/altivec-regs.c: New file.
14674 * gdb.arch/altivec-regs.exp: New file.
14676 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14678 * gdb.base/maint.exp (maint print type): Update for new type
14681 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14683 * gdb.arch: New directory.
14684 * gdb.arch/configure.in: New file.
14685 * gdb.arch/configure: New file.
14686 * gdb.arch/Makefile.in: New file.
14688 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14690 * gdb.asm/asm-source.exp: Add v850 as supported target.
14691 * gdb.asm/v850.inc: New file.
14693 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14695 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14697 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14699 * gdb.base/break.exp: Check 'break "marker2"'.
14701 2002-05-10 Michael Snyder <msnyder@redhat.com>
14703 * gdb.base/long_long.exp: Fix typo.
14705 2002-05-10 Jim Blandy <jimb@redhat.com>
14707 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14710 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14711 Recognize more detailed error message produced by the macro
14712 expander's lexical analyzer.
14713 * lib/gdb.exp (test_print_reject): Same.
14715 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14717 * gdb.c++/method.exp: Fix typo.
14719 2002-05-08 Michael Snyder <msnyder@redhat.com>
14721 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14722 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14723 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14724 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14725 Add iftarget clause for strongarm.
14727 2002-05-06 Michael Snyder <msnyder@redhat.com>
14729 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14730 (gdb_continue_to_end): Accept output from status wrapper.
14731 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14732 Clean up fail messages to match pass messages.
14734 Enable the "needs_status_wrapper" testsuite feature.
14735 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14736 (gdb_compile): Conditionally call gdb_wrapper_init.
14737 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14738 * gdb.c++/method.exp: Recognize output from status wrapper.
14740 2002-05-06 Ben Elliston <bje@redhat.com>
14741 From Graydon Hoare <graydon@redhat.com>
14743 * config/sid.exp: Include support for "rawsid" protocol.
14745 2002-05-03 Jim Blandy <jimb@redhat.com>
14747 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14748 * gdb.c++/hang3.C: New file.
14750 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14752 * gdb.base/default.exp: Remove obsolete code.
14753 * gdb.c++/misc.exp: Ditto. Update copyright.
14754 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14755 * gdb.base/whatis.exp: Ditto. Update copyright.
14756 * gdb.base/scope.exp: Ditto. Update copyright.
14757 * gdb.base/ptype.exp: Ditto. Update copyright.
14758 * gdb.base/printcmds.exp: Ditto. Update copyright.
14759 * gdb.base/opaque.exp: Ditto. Update copyright.
14760 * gdb.base/list.exp: Ditto.
14761 * gdb.base/funcargs.exp: Ditto. Update copyright.
14762 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14763 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14764 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14765 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14766 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14767 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14769 2002-05-02 Michael Snyder <msnyder@redhat.com>
14771 * gdb.base/watchpoint.exp: Add xscale target.
14772 * gdb.base/long_long.exp: Add xscale target.
14773 * gdb.base/default.exp: Add xscale target.
14775 2002-05-01 Jim Blandy <jimb@redhat.com>
14777 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14778 gdb.c++/hang.exp: New test.
14780 2002-05-01 Fred Fish <fnf@redhat.com>
14782 * gdb.base/completion.exp: Handle completions of "./Make" for
14783 more than one completion possibility, as is the case when we
14784 build and test in the source tree.
14786 2002-04-29 Anthony Green <green@redhat.com>
14788 * gdb.java/jmisc1.exp: New file.
14789 * gdb.java/jmisc2.exp: New file.
14791 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14793 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14795 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14797 * gdb.base/help.exp: Change 'help status' to allow for target
14798 dependent output differences.
14800 2002-04-22 Michael Chastain <mec@shout.net>
14802 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14804 2002-04-22 Michael Chastain <mec@shout.net>
14806 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14808 2002-04-17 David S. Miller <davem@redhat.com>
14810 * gdb.asm/sparc64.inc: New file.
14811 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14813 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14815 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14816 instruction file directly into the build tree. Clean up at end of
14819 2002-04-18 David S. Miller <davem@redhat.com>
14821 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14822 handle 64-bit platforms correctly.
14823 * gdb.base/maint.exp: Likewise.
14825 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14827 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14828 ``-fpic'' when compiling files comprising a shared library, but
14829 it does need additional linker flags in order to find shared
14830 libraries at run time.
14832 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14834 * gdb.base/cvexpr.c (use): New function.
14835 (main): Invoke use() on all global variables to prevent
14836 some linkers from deleting these otherwise unused symbols.
14838 2002-04-17 Michael Chastain <mec@shout.net>
14839 From David S. Miller <davem@redhat.com>
14841 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14842 handle 64-bit platforms correctly.
14844 2002-04-12 Michael Snyder <msnyder@redhat.com>
14845 From Jim Blandy <jimb@redhat.com>
14846 * gdb.base/foo.c (foox): Remove section attribute; the linker
14847 script can handle this instead.
14848 * gdb.base/bar.c (barx): Same.
14849 * gdb.base/baz.c (bazx): Same.
14850 * gdb.base/grbx.c (grbxx): Same.
14852 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14853 manager doesn't automatically unmap overlays unnecessarily.
14855 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14857 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14858 stepping out of main.
14860 2002-04-09 Michael Chastain <mec@shout.net>
14862 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14863 scope so that the nested scope tests will make sense.
14864 * gdb.c++/local.exp: Write patterns that actually work with gcc
14865 (the HP patterns "were never known to work with gcc").
14866 Keep the old aCC patterns too.
14868 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14870 * gdb.base/attach.exp: Correct target board test.
14872 2002-04-08 Michael Chastain <mec@shout.net>
14874 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14875 in a const method. Add some xfail and fail cases for configurations
14876 that do not emit the "const ...".
14878 2002-04-07 Michael Chastain <mec@shout.net>
14880 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14881 Accept "A * const" and "const A * const" as type of "this".
14882 Fix spelling of getFunky throughout. Make messages uniform.
14884 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14886 Work around for PR gdb/285:
14887 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14889 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14891 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14892 instructions file at run time instead of configure time.
14893 Sometimes we run the test in a directory that is not the one we
14895 * gdb.asm/configure.in: Delete creation of symlink.
14896 * gdb.asm/configure: Regenerate.
14898 2002-04-05 J. Brobecker <brobecker@gnat.com>
14900 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14901 xfullpath () function.
14903 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14905 * gdb.asm/Makefile.in: Correct dependencies.
14907 * gdb.asm/powerpc.inc: New file.
14908 * gdb.asm/asm-source.exp: Add PowerPC.
14909 * gdb.asm/configure.in: Likewise.
14910 * gdb.asm/configure: Regenerated.
14912 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14914 * gdb.base/relocate.exp: New file.
14915 * gdb.base/relocate.c: New file.
14917 2002-04-04 Fred Fish <fnf@redhat.com>
14919 * gdb.base/step-test.exp: Update comment regarding stopping in
14920 memcpy/bcopy calls inserted as part of the compiler runtime.
14922 2002-04-04 Michael Snyder <msnyder@redhat.com>
14924 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14926 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14928 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14929 (gdb_expect): Remove $notransfer hack.
14931 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14933 * gdb.c++/classes.exp ("calling method for small class"): Match
14934 updated register output.
14936 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14939 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14940 when finished. Make gdb_file_cmd send "exec-file" when
14943 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14945 * gdb.base/attach.exp: Remove extra setup_xfail.
14947 2002-03-26 Michael Snyder <msnyder@redhat.com>
14949 * gdb.base/default.exp: Add tests for dump, append, and restore.
14950 * gdb.base/help.exp: Add tests for dump, append, and restore.
14951 * gdb.base/dump.exp: New file, test dump, append and restore.
14952 * gdb.base/dump.c: New file.
14954 2002-03-27 Michael Snyder <msnyder@redhat.com>
14956 * gdb.base/help.exp: Modify expect strings to reflect
14957 clean-ups in help messages.
14959 2002-03-26 Fred Fish <fnf@redhat.com>
14961 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14962 have debugging info for those functions and the compiler uses them
14963 internally to copy structs around.
14965 2002-03-26 Fred Fish <fnf@redhat.com>
14967 * gdb.base/list.exp: Revert the change made yesterday and add note
14968 about why we don't list the default lines for remote targets.
14970 2002-03-25 Michael Snyder <msnyder@redhat.com>
14972 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14974 2002-03-25 Fred Fish <fnf@redhat.com>
14976 * gdb.base/list.exp: This test works on remote targets so remove
14977 the short circuit for remote targets. Update copyright.
14979 2002-03-25 Fred Fish <fnf@redhat.com>
14981 * gdb.base/attach.exp: Fix logic error that was suppressing this
14982 test for all non hppa*-*-hpux* targets, instead of the hp target.
14983 Move comments closer to the suppression point. Also now need to
14984 check that we are running natively.
14986 2002-03-22 Michael Snyder <msnyder@redhat.com>
14988 * gdb.base/default.exp: Add test for gcore. Update copyright.
14989 * gdb.base/help.exp: Add test for gcore. Update copyright.
14991 2002-03-06 Fred Fish <fnf@redhat.com>
14993 * gdb.base/funcargs.c: Remove extraneous ';' character.
14994 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14996 2002-03-04 Michael Chastain <mec@shout.net>
14998 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14999 accommodate gcc v3 function signature.
15000 * gdb.mi/mi0-var-cmd-exp: Ditto.
15002 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15004 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15005 ``GNU/Linux'' or ``Linux kernel''
15006 * testsuite/gdb.threads/pthreads.c: Ditto.
15008 2002-02-24 Michael Chastain <mec@shout.net>
15010 * gdb.threads/pthreads.c (thread1): Add a return statement.
15011 (thread2): Likewise.
15014 2002-02-23 Michael Chastain <mec@shout.net>
15016 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15019 2002-02-23 Michael Chastain <mec@shout.net>
15021 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15022 test "ptype bint". The test passes on all my stabs configurations.
15024 2002-02-21 Jim Blandy <jimb@redhat.com>
15026 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15027 filename at a time, and watch for the ones we want to see.
15029 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15030 types of pointers to prototyped functions.
15032 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15034 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15035 signed, unsigned and straight char.
15036 (padding_char, padding_short, padding_int, padding_long,
15037 padding_long_long, padding_float, padding_double,
15038 padding_long_double): New global variables.
15039 (fill, fill_structs): New functions.
15041 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15042 for correctly sized writes. Update copyright.
15043 (get_valueof): New procedure.
15044 (get_sizeof): Call get_valueof.
15045 (check_valueof): New procedure.
15046 (check_padding): New procedure.
15048 2002-02-20 Michael Chastain <mec@shout.net>
15050 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15051 to setup_xfail. Document some of the remaining calls.
15053 2002-02-18 Michael Chastain <mec@shout.net>
15055 * gdb.c++/userdef.exp: Update copyright year.
15057 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15059 * gdb.c++/userdef.exp: Test overloaded operators properly.
15062 2002-02-14 Michael Snyder <msnyder@redhat.com>
15064 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15066 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15068 * gdb.base/a2-run.exp: Check for a remote target properly.
15069 * gdb.base/annota1.exp: Likewise.
15070 * gdb.base/list.exp: Likewise.
15071 * gdb.base/reread.exp: Likewise.
15072 * gdb.base/scope.exp: Likewise.
15073 * gdb.base/shlib-call.exp: Likewise.
15074 * gdb.base/term.exp: Likewise.
15075 * gdb.c++/annota2.exp: Likewise.
15077 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15079 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15081 2002-02-10 Michael Chastain <mec@shout.net>
15083 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15084 (call_after_alloca): Ditto.
15086 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15088 * gdb.base/ending-run.exp: Guard "cont" test with
15089 gdb_skip_stdio_test.
15091 2002-02-06 Jim Blandy <jimb@redhat.com>
15093 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15095 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15096 To here. Disable this test on non-HP platforms. Add big comment.
15098 2002-02-04 Michael Snyder <msnyder@redhat.com>
15100 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15101 other than d10v and m32r.
15103 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15105 * gdb.base/default.exp: Rewrite test patterns to reduce time
15106 taken to match them.
15108 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15110 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15111 Allow a start function above main.
15112 * gdb.threads/linux-dp.exp: Fix copyright date.
15114 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15116 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15117 (check_philosopher_stack): Check for manager thread before checking
15118 for a just-starting thread.
15120 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15122 From Neil Booth <neil@daikokuya.demon.co.uk>:
15123 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15126 2002-01-21 Fred Fish <fnf@redhat.com>
15128 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15131 2002-01-21 Jim Blandy <jimb@redhat.com>
15133 * gdb.base/reread.exp: Check that GDB properly re-reads the
15134 executable file when it changes while no inferior is running.
15136 2002-01-21 Fred Fish <fnf@redhat.com>
15138 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15139 optionally accept the "shlib events" variation.
15141 2002-01-21 Jim Blandy <jimb@redhat.com>
15143 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15144 call `fflush' after every `printf', so that the output is produced
15145 at predictable points, regardless of whatever buffering does (or
15146 doesn't) take place.
15147 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15148 at different points.
15150 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15152 * gdb.c++/inherit.exp: Update copyright years.
15153 * gdb.c++/method.exp: Likewise.
15155 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15157 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15158 artificial methods/arguments.
15159 * gdb.c++/derivation.exp: Likewise.
15160 * gdb.c++/inherit.exp: Likewise.
15161 * gdb.c++/method.exp: Likewise.
15162 * gdb.c++/virtfunc.exp: Likewise.
15164 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15166 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15167 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15168 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15169 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15170 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15171 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15173 2002-01-17 Jim Blandy <jimb@redhat.com>
15175 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15176 anchoring the pattern matching the entry point symbol's name.
15178 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15180 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15181 continue/quit query. Update copyright.
15183 2002-01-14 Michael Snyder <msnyder@redhat.com>
15185 * gdb.base/gcore.exp: Remove extra debugging output.
15187 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15189 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15190 for slightly dubious v2 mangled string.
15192 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15194 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15196 2002-01-10 Jason Merrill <jason@redhat.com>
15198 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15200 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15202 * gdb.c++/derivation.exp: Likewise.
15203 * gdb.c++/templates.exp: Likewise.
15204 * gdb.c++/virtfunc.exp: Likewise.
15206 2002-01-10 Michael Snyder <msnyder@redhat.com>
15208 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15210 2002-01-08 Michael Snyder <msnyder@redhat.com>
15212 * gdb.base/gcore.exp: New test for generate-core-file command.
15213 * gdb.base/gcore.c: Testcase for above.
15214 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15216 2002-01-08 Jason Merrill <jason@redhat.com>
15218 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15220 2002-01-07 Fred Fish <fnf@redhat.com>
15222 * gdb.c++/overload.exp: Remove unconditional xfails for:
15223 print foo_instance1.overloadargs(1)
15224 print foo_instance1.overloadargs(1, 2)
15225 print foo_instance1.overloadargs(1, 2, 3)
15226 print foo_instance1.overloadargs(1, 2, 3, 4)
15227 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15228 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15229 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15230 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15231 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15232 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15233 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15234 print foo_instance1.overload1arg()
15235 print foo_instance1.overload1arg((char)arg2)
15236 print foo_instance1.overload1arg((signed char)arg3)
15237 print foo_instance1.overload1arg((unsigned char)arg4)
15238 print foo_instance1.overload1arg((int)arg7)
15239 print foo_instance1.overload1arg((unsigned int)arg8)
15240 print foo_instance1.overload1arg((float)arg11)
15241 print foo_instance1.overload1arg((double)arg12)
15243 2002-01-07 Michael Snyder <msnyder@redhat.com>
15245 * gdb.base/huge.exp: New test. Print a very large target data object.
15246 (skip_huge_test): New test variable. Define if you want to skip this
15247 test. The test reads an 8 megabyte data object from the target, so it
15248 might be very time consuming on remote targets with a slow connection.
15249 * gdb.base/huge.c: New file. Test case for above.
15251 2002-01-07 Fred Fish <fnf@redhat.com>
15253 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15254 g_instance.bfoo, and g_instance.cfoo.
15256 2002-01-07 Jeffrey A Law <law@redhat.com>
15258 * gdb.base/break.c (multi_line_if_conditional): New function.
15259 (multi_ilne_while_conditional): Likewise.
15260 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15261 IF or WHILE condition puts the breakpoint at the start of
15264 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15265 hppa*-*-hpux* expected failure.
15266 * gdb.base/structs.exp (do_function_calls): Similarly.
15268 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15271 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15274 * gdb.base/structs.exp: Replace skip for a29k with skip for
15275 gdb,cannot_call_functions.
15276 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15277 * gdb.base/callfuncs.exp: Ditto.
15278 * gdb.base/call-rt-st.exp: Ditto.
15279 * gdb.base/call-strs.exp: Ditto.
15280 * gdb.base/callfwmall.exp: Ditto.
15281 * gdb.base/scope.exp: Obsolete xfail a29k.
15282 * gdb.c++/misc.exp: Ditto.
15283 * gdb.c++/cplusfuncs.exp: Ditto.
15284 * gdb.base/ptype.exp: Ditto.
15285 * gdb.base/printcmds.exp: Ditto.
15286 * gdb.base/opaque.exp: Ditto.
15287 * gdb.base/list.exp: Ditto.
15288 * gdb.base/funcargs.exp: Ditto.
15289 * gdb.base/default.exp: Ditto.
15291 2002-01-04 Michael Snyder <msnyder@redhat.com>
15293 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15294 * gdb.base/maint.exp: Add tests for maint info sections options.
15296 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15298 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15300 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15302 * gdb.asm/arm.inc: New file.
15303 * gdb.asm/asm-source.exp: Add arm targets.
15304 * gdb.asm/configure.in: Ditto.
15305 * gdb.asm/configure: Recreated from configure.in.
15307 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15309 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15310 with HP's compiler.
15311 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15312 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15313 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15314 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15316 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15317 either HP's compilers or GCC.
15319 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15320 a SIGBUS or SIGSEGV.
15322 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15324 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15325 can be compiled with either HP's compiler or GCC.
15327 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15328 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15329 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15331 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15332 to match current gdb output. Update due to using auto-solib-limit
15333 for limiting instead of overloading auto-solib-add.
15334 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15337 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15338 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15339 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15340 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15341 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15342 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15343 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15344 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15345 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15346 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15347 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15348 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15349 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15351 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15352 a SIGTRAP to the inferior.
15354 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15356 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15357 Substitute call to target_link by call to gdb_compile.
15359 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15361 * gdb.base/break.exp: Fix HP specific search string when testing
15362 backtracing in a called function.
15364 * gdb.base/constvars.exp: Only set lang to C++ if we're
15365 compiling the test with HP's compilers.
15366 * gdb.base/volatile.exp: Similarly.
15368 2001-12-19 Jim Blandy <jimb@redhat.com>
15370 * gdb.base/printcmds.exp: Expect the null character to be printed
15371 as '\0', and the '\013' to be printed as '\v'.
15372 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15373 * gdb.base/setvar.exp: Same.
15375 2001-12-17 Jim Blandy <jimb@redhat.com>
15377 * gdb.base/completion.exp: Rather than completing very long
15378 filenames, which can make the readline library produce output we
15379 don't recognize, cd to the directory first, and then complete
15380 using nice, short relative paths.
15382 * gdb.base/completion.exp: On some systems, there is, in fact, a
15383 variable named `b' in scope, since GDB treats all static
15384 variables as being in scope. So use `no_var_named_this'
15387 * gdb.base/corefile.exp: Recognize the message saying that GDB
15388 can't find the core file's registers as a failure.
15390 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15392 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15393 test expect string more specific.
15395 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15397 * gdb.asm/asm-source.exp: Add support for xstormy16.
15398 * gdb.asm/configure.in: Ditto.
15399 * gdb.asm/configure: Rebuild.
15400 * gdb.asm/xstormy16.inc: New file.
15402 2001-12-10 Fred Fish <fnf@redhat.com>
15404 * gdb.base/maint.exp: Update to match changes in type dumping code.
15406 2001-12-10 Jim Blandy <jimb@redhat.com>
15408 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15409 matching the entry point symbol's name at the beginning of the
15412 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15414 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15415 gdb.c++/inherit.exp, gdb.c++/method.exp,
15416 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15417 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15418 and class layout support.
15420 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15422 * gdb.c++/classes.exp: Add test for static member function.
15423 * gdb.c++/misc.cc: Add class with static member function.
15425 2001-12-07 Jim Blandy <jimb@redhat.com>
15427 If GDB says it can't find the struct the function returned, report
15428 those tests as `unsupported'.
15429 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15430 Rewrite subsequent tests to use it.
15432 If GDB says it can't find the struct the function returned, report
15433 those tests as `unsupported'.
15434 * gdb.base/structs.exp (call_struct_func): New function.
15435 (do_function_calls): Use call_struct_func to call the functions
15438 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15439 whether functions are prototyped or not, so we can't possibly pass
15440 arguments to t_float_values2 properly.
15442 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15443 value of `timeout' for targets other than the mips*tx39-*.
15445 2001-12-06 Michael Snyder <msnyder@redhat.com>
15447 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15448 and detect whether the start symbol has a leading underscore.
15450 2001-12-04 Jim Blandy <jimb@redhat.com>
15452 * gdb.base/completion.exp: Clarify indentation.
15454 2001-12-03 Jim Blandy <jimb@redhat.com>
15456 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15457 variables on the S/390, not `.word'.
15459 2001-11-30 Jim Blandy <jimb@redhat.com>
15461 Add assembly-source tests for s390-ibm-linux.
15462 * gdb.asm/s390.inc: New file.
15463 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15464 the S/390 architecture.
15465 * gdb.asm/configure: Regenerated.
15467 2001-11-30 Michael Snyder <msnyder@redhat.com>
15469 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15470 next, info source, info sources, info line, global and static
15471 variables, and static functions.
15472 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15473 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15474 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15475 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15476 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15477 (gdbasm_leave): Restore frame pointer.
15478 (gdbasm_startup): Copy stack set-up from crt0.S.
15480 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15482 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15483 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15484 to a local (non-static) variable. Copy tstruct.a to a static buffer
15485 and return a pointer to that buffer.
15486 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15488 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15490 * gdb.asm/configure.in: Fix recognition of ix86 target.
15491 * gdb.asm/configure: Regenerate.
15493 2001-11-21 Michael Snyder <msnyder@redhat.com>
15495 * gdb.asm/sparc.inc: New file.
15496 * gdb.asm/asm-source.exp: Recognize sparc target.
15497 * gdb.asm/configure.in: Recognize sparc target.
15498 * gdb.asm/configure: Regenerate.
15500 2001-11-21 Michael Snyder <msnyder@redhat.com>
15502 * gdb.asm/m32r.inc: New file.
15503 * gdb.asm/asm-source.exp: Recognize m32r target.
15504 * gdb.asm/configure.in: Recognize m32r target.
15505 * gdb.asm/configure: Regenerate.
15507 2001-11-20 Michael Snyder <msnyder@redhat.com>
15509 * gdb.asm/i386.inc: New file.
15510 * gdb.asm/asm-source.exp: Recognize ix86 target.
15511 * gdb.asm/configure.in: Recognize ix86 target.
15512 * gdb.asm/configure: Regenerate.
15514 * gdb.c++/namespace.exp: Fix quotes in output messages.
15516 2001-11-14 Michael Snyder <msnyder@redhat.com>
15518 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15519 qualifier in a type cast expression, to designate an address
15520 in the instruction space (Harvard architecture).
15522 2001-11-13 Michael Snyder <msnyder@redhat.com>
15524 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15525 Tests for expressions using 'const' and 'volatile'.
15527 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15529 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15531 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15533 * lib/mi-support.exp (mi_run_to_helper): Move comments
15534 outside of gdb_expect.
15536 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15538 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15539 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15540 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15541 mi0_run_to): New functions.
15542 * gdb.mi/mi-simplerun.exp: Use them.
15543 * gdb.mi/mi0-simplerun.exp: Likewise.
15544 * gdb.mi/mi-var-cmd.exp: Likewise.
15545 * gdb.mi/mi0-var-cmd.exp: Likewise.
15547 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15549 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15550 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15552 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15554 * gdb.base/restore.exp: Include $expected value in restored test
15557 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15559 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15562 2001-11-08 Michael Snyder <msnyder@redhat.com>
15564 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15565 Add pass/fail message for stop at breakpoint in call dummy function.
15567 2001-11-07 Michael Snyder <msnyder@redhat.com>
15569 * gdb.c++/templates.exp (test_template_breakpoints):
15570 If we get an overload menu, but it does not match what
15571 we expect, we still need to issue the "cancel" command.
15572 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15573 making the whitespace optional. Argument for "new" may be
15574 "unsigned" as well as "unsigned int/long".
15575 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15576 making the whitespace optional. Also replace "(void) with
15577 "((void|)), making the keyword "void" optional.
15578 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15579 making the whitespace optional. Also replace "(void) with
15580 "((void|)), making the keyword "void" optional.
15581 * gdb.base/callfuncs.c (t_float_values): This function must
15582 _not_ be prototyped, and the following function (t_float_values2)
15583 must be prototyped (if the compiler supports it), so that GDB
15584 can be tested against both cases. Usually one case involves
15585 promotion of float to double, while the other does not.
15586 * gdb.base/callfwmall.c: Ditto.
15587 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15588 includes a stack frame for "start".
15590 2001-11-05 Jim Blandy <jimb@redhat.com>
15592 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15593 pointers are 32 bits long, and that offsets of relocs are always
15594 stored in the data (REL-style), and not in the reloc entry itself
15596 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15599 2001-11-01 Michael Snyder <msnyder@redhat.com>
15601 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15602 and regular expression operators by using quoting.
15604 2001-10-31 Michael Snyder <msnyder@redhat.com>
15606 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15607 depending on what the symbol table contains.
15608 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15609 the output of the ptype command. Similarly, accept both "const &"
15612 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15614 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15615 symbol `STORAGE' to allow to choose the storage class of
15616 the local datastructures.
15617 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15618 compiler directive.
15620 2001-10-30 Michael Snyder <msnyder@redhat.com>
15622 * gdb.base/jump.exp: Allow it to run for all targets.
15624 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15626 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15627 with new double_array size.
15628 (main): Change storage class of all local variables to static.
15629 Reduce size of double_array to 9.
15630 * gdb.base/call-ar-st.exp: Increase timeout value.
15631 Change expected output for double array to match new size in
15634 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15636 * gdb.base/ending-run.exp: Create identical output when passing
15637 `step to end of run' case. Add regular expression branch satisfying
15640 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15642 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15643 that we catch the expected failure under Linux/x86.
15645 2001-10-29 Orjan Friberg <orjanf@axis.com>
15647 * gdb.base/setvar.exp: Escape curly braces.
15648 * gdb.stabs/weird.exp: Ditto.
15650 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15652 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15653 * gdm.mi/mi0-hack-cli.exp: Likewise.
15655 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15657 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15660 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15662 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15663 checking MI enabled.
15665 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15667 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15669 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15671 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15672 if gdb child process crashes, just signal an error.
15674 2001-10-02 Jim Blandy <jimb@redhat.com>
15676 * lib/gdb.exp (test_xfail_format): Simplify.
15678 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15679 front of the variable name `format'. Simplify `if'.
15681 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15683 * gdb.threads/pthreads.exp: Wait for output and delay
15686 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15688 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15689 some incorrect output instead of timing out.
15690 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15692 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15694 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15695 check to allow additional `int'.
15697 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15699 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15700 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15702 2001-09-27 Michael Snyder <msnyder@redhat.com>
15704 * lib/gdb.exp (test_debug_format): New proc.
15705 (setup_xfail_format): Use new proc test_debug_format.
15706 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15707 proc; use new service proc test_debug_format.
15708 Replace all other "gcc_compiled" tests with this test.
15709 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15710 proc; use new service proc test_debug_format.
15711 Replace all other "gcc_compiled" tests with this test.
15713 2001-09-27 Michael Snyder <msnyder@redhat.com>
15715 * gdb.base/cvexpr.exp: New file.
15716 * gdb.base/cvexpr.c: New file
15717 Test for expressions using const and volatile keywords.
15719 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15721 * gdb.base/constvars.exp: Check for different orders of keywords
15722 and additional "int" strings in output.
15724 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15726 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15727 responses from "help maint".
15729 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15731 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15732 to localhost:NNN instead of :NNN, in case Xvfb is listening
15735 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15737 * gdb.base/recurse.exp: When checking leaving the watchpoint
15738 scope, recognize when gdb is in function's epilogue and pass.
15740 2001-09-18 Keith Seitz <keiths@redhat.com>
15742 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15743 support for running tests against sid targets.
15744 (gdbtk_done): Ditto.
15746 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15748 * gdb.base/ending-run.c (main): Set stdout buffersize
15749 to the same reasonable value for any target.
15750 * gdb.base/ending-run.exp: Add a regular expression
15751 to make testsuite happy on Sanyo Stormy16 target.
15753 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15755 * gdb.base/display.c (do_loops): Add float variable `f'.
15756 Increment f in loop.
15757 * gdb.base/display.exp: Increment timeout by 60 seconds.
15758 Change float display test to use variable `f'.
15760 2001-09-17 Jim Blandy <jimb@redhat.com>
15762 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15763 overflowing the limited breakpoint tables on some ROM monitors
15766 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15768 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15769 the "-ac" (disable access control) flag.
15771 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15773 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15776 2001-08-30 Keith Seitz <keiths@redhat.com>
15778 * lib/gdb.exp: Move all insight-related functionality into
15780 * lib/insight-support.exp: New file.
15782 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15784 * config/sid.exp (sid_start): Never set sid verbosity; disable
15785 expect_background {} that consumed its stdout; tolerate </dev/null.
15786 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15788 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15790 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15791 CLI jump command to start it.
15792 (mi_run_to_main): Fail immediatly when unexpected output.
15794 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15796 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15797 beginning of function. Fix PR gdb/191.
15799 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15801 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15802 what to force sid endianness to.
15804 2001-08-15 Keith Seitz <keiths@redhat.com>
15806 * lib/gdb.exp (gdbtk_start): Don't set environment
15807 variables for TCL_LIBRARY and friends. Insight will
15808 now figure these out for itself.
15810 2001-08-02 Michael Snyder <msnyder@redhat.com>
15812 * gdb.base/completion.exp: Remove the symbol "a64l" from
15813 the expect string; this is target-specific, and not related
15814 to what is being tested.
15816 2001-08-02 Dave Brolley <brolley@redhat.com>
15818 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15820 2001-07-25 Michael Snyder <msnyder@redhat.com>
15822 * gdb.base/consecutive.exp: New file. Test stepping over
15823 breakpoints on consecutive instructions.
15824 * gdb.base/consecutive.c: New file.
15826 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15827 curly braces in regular expressions.
15829 2001-07-25 Michael Snyder <msnyder@redhat.com>
15831 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15832 legitimate output from stepping out of main.
15834 2001-07-22 Keith Seitz <keiths@redhat.com>
15836 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15837 the empty string, do not run the tests.
15839 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15841 * gdb.base/long_long.exp: Detect size of pointer. Take into
15842 account 2-byte pointers when testing for p/a results.
15844 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15846 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15847 and defined to 1K for m68hc11.
15848 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15849 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15850 (sizeof_random_data): New variable to tell the size of the data table;
15851 don't test past this size; always run to main.
15853 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15855 * gdb.base/return2.exp: return of long long and double fails for
15856 68HC11; don't execute these tests on that platform.
15857 * gdb.base/return.exp: Return of a double fails for 68hc11.
15859 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15861 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15862 tests that print a float.
15863 * call-rt-st.exp: Likewise.
15865 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15867 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15868 running this test on Linux.
15870 2001-06-24 Michael Chastain <chastain@redhat.com>
15872 * gdb.base/arithmet.exp: Remove some tests to make all test names
15875 2001-07-03 Michael Snyder <msnyder@redhat.com>
15877 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15878 the output of the ptype command.
15880 2001-07-02 Michael Snyder <msnyder@redhat.com>
15882 * gdb.base/completion.exp: Don't assume that break.c is the only
15883 source file that may contain functions named "marker".
15884 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15886 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15888 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15889 of files to delete.
15891 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15892 * gdb.disasm/h8300s.exp: New file.
15893 gdb.disasm/h8300s.s: Likewise.
15895 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15897 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15898 empty breakpoint tables.
15900 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15902 * lib/mi-support.exp: Update args=... part of stop-reason
15903 patterns. Accept either a list or a tuple.
15905 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15907 * lib/mi-support.exp: Remove local emacs variable defining
15908 change-log-default-name.
15910 2001-06-22 Michael Chastain <chastain@redhat.com>
15912 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15913 This is operationally compatible with the previous version.
15915 2001-06-13 Jim Blandy <jimb@redhat.com>
15917 * lib/gdb.exp (gdb_test): Doc fix.
15919 2001-06-10 Michael Chastain <chastain@redhat.com>
15921 * gdb.base/exprs.exp: Remove a duplicate test.
15923 2001-06-06 Jim Blandy <jimb@redhat.com>
15925 * gdb.base/return2.exp (main): Use values to test float and double
15926 returns that are not NaN's, to avoid being confused by IEEE
15929 2001-06-04 Michael Snyder <msnyder@redhat.com>
15931 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15932 non-zero if control_c fails. Terminate the test on failure,
15933 rather than wait for 12 more tests to time out.
15935 2001-06-06 Jim Blandy <jimb@redhat.com>
15937 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15938 Don't forget to match the GDB prompt.
15940 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15942 2001-06-04 Jim Blandy <jimb@redhat.com>
15944 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15947 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15949 * gdb.base/annota1.exp (info break): Match four or more spaces
15952 2001-05-31 Michael Chastain <chastain@redhat.com>
15954 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15955 (dm_type_int_star): Likewise.
15956 (dm_type_long_star): Likewise.
15957 (dm_type_void_star): Likewise.
15959 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15961 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15962 to a known value in order to get consistent results regardless
15963 of the setting of INPUTRC or the presence or contents of .inputrc.
15965 2001-05-24 Michael Snyder <msnyder@redhat.com>
15967 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15968 Don't require that the main thread and the manager thread are the
15971 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15972 debugging. If test fails, issue an "unsupported" not a "fail".
15974 2001-05-24 Jim Blandy <jimb@redhat.com>
15976 Don't assume that short is shorter than int.
15977 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15978 assume that shorts are smaller than ints. On a 16-bit machine,
15980 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15981 an int, is not equal to ~0 stored in an unsigned char. This tests
15982 the same thing that the previous test meant to, but works on
15983 16-bit machines, too.
15984 ("print unsigned char != (~0)"): Same test, complemented.
15986 2001-05-24 Michael Snyder <msnyder@redhat.com>
15988 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15989 test for (full_coverage == 0). This makes the test run faster,
15990 and prevents dejagnu getting out of step.
15992 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15994 * gdb.base/finish.exp (finish_void): Revise pattern for
15995 stopping on the call statement to not permit stopping at
15996 the start of the instructions comprising the call sequence.
15998 2001-05-19 Michael Chastain <chastain@redhat.com>
16000 * gdb.base/callfuncs.exp: Make all test names unique.
16001 * gdb.base/commands.exp: Make all test names unique.
16002 * gdb.base/condbreak.exp: Make all test names unique.
16003 * gdb.base/dbx.exp: Make all test names unique.
16004 * gdb.base/default.exp: Make all test names unique.
16005 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16006 and TIMEOUT messages to their corresponding PASS message.
16007 * gdb.base/ending-run.exp: Make all test names unique.
16008 * gdb.base/long_long.exp: Remove duplicate test.
16010 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16012 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16013 stop on the call statement as well as the statement after the
16016 2001-05-21 Michael Snyder <msnyder@redhat.com>
16018 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16020 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16022 * gdb.base/completion.exp: Revamp test. Make it execute on all
16025 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16027 * config/gdbserver.exp (gdb_load): Handle the case
16028 in which the arguments to gdbserver are given in the
16029 baseboard configuration file.
16030 Also handle the case in which the server needs to do a
16033 2001-05-07 Keith Seitz <keiths@cygnus.com>
16035 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16036 set up the display for testing.
16037 (gdbtk_start): Convert all paths to paths that tcl will like.
16038 Export target information to environment.
16039 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16041 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16042 (to_tcl_path): New proc to convert a given pathname into
16043 a path acceptible as an argument to a tcl command.
16044 (_gdbtk_export_target_info): New proc to export target info
16045 into the environment for gdbtk testing.
16046 (gdbtk_done): New proc to signal end-of-test.
16048 2001-05-06 Jim Blandy <jimb@redhat.com>
16050 * restore.c: Make the code of caller0 correspond to its comment.
16052 2001-05-03 Michael Snyder <msnyder@redhat.com>
16054 * config/sid.exp (gdb_target_sid): Check for error messages.
16055 On error or timeout, don't make expect exit (which will terminate
16056 all subsequent tests); instead just make gdb exit.
16057 (gdb_load): Check for error messages. On error or timeout,
16058 return a negative value.
16060 2001-04-24 Jim Blandy <jimb@redhat.com>
16062 * gdb.c++/templates.exp: If we see the prompt for the overload
16063 list, but we haven't recognized any of the longer patterns,
16064 arrange for this test to fail, not hang.
16066 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16069 2001-04-22 Michael Chastain <chastain@redhat.com>
16071 * gdb.c++/local.exp: Use the 'runto' library function.
16072 * gdb.c++/namespace.exp: Likewise.
16073 * gdb.c++/overload.exp: Likewise.
16075 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16077 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16078 * gdb.base/step-line.exp: New file. Test step/next in presence of
16080 * gdb.base/step-line.c: New file. Test program for the above.
16081 * gdb.base/step-line.inp: New file. We pretend that this file has
16082 been transformed by some other tool into step-line.c.
16084 2001-03-21 Jim Blandy <jimb@redhat.com>
16086 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16087 unmangled operator names.
16089 2001-03-20 Jim Blandy <jimb@redhat.com>
16091 * gdb.threads/linux-dp.exp: Recognize an additional message
16092 generated by GDB when it doesn't understand how to debug threads
16093 on the target system.
16095 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16097 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16099 2001-03-12 Michael Chastain <chastain@redhat.com>
16101 * gdb.c++/derivation.exp: Use the 'runto' library function.
16103 2001-03-12 Michael Chastain <chastain@redhat.com>
16105 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16107 2001-02-24 Michael Chastain <chastain@redhat.com>
16109 * gdb.c++/ref-types.exp: Change handwritten code to library
16112 2001-03-16 Orjan Friberg <orjanf@axis.com>
16114 * gdb.base/signals.exp: Set count to 0 explicitly.
16116 2001-03-15 Mark Salter <msalter@redhat.com>
16118 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16119 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16120 (gdb_load): Add support for additional target_info: gdb_download_size
16121 and gdb_load_timeout.
16123 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16125 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16126 file -- to prevent failing when the compile fails but we have no
16127 intention of running the tests anyway.
16129 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16132 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16135 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16136 * gdb.c++/namespace.exp: Ditto.
16138 2001-03-07 Orjan Friberg <orjanf@axis.com>
16140 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16141 * gdb.base/pointers.exp: Relax pattern match of decimals.
16143 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16145 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16146 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16147 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16148 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16149 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16150 config/sh.exp, config/sid.exp, config/slite.exp,
16151 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16152 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16153 config/vxworks.exp, config/vxworks29k.exp,
16154 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16155 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16156 gdb.base/arithmet.exp, gdb.base/assign.exp,
16157 gdb.base/async.exp, gdb.base/attach.exp,
16158 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16159 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16160 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16161 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16162 gdb.base/commands.exp, gdb.base/completion.exp,
16163 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16164 gdb.base/constvars.exp, gdb.base/corefile.exp,
16165 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16166 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16167 gdb.base/ending-run.exp, gdb.base/environ.exp,
16168 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16169 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16170 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16171 gdb.base/funcargs.exp, gdb.base/help.exp,
16172 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16173 gdb.base/logical.exp, gdb.base/long_long.exp,
16174 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16175 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16176 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16177 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16178 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16179 gdb.base/regs.exp, gdb.base/relational.exp,
16180 gdb.base/remote.exp, gdb.base/reread.exp,
16181 gdb.base/restore.exp, gdb.base/return2.exp,
16182 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16183 gdb.base/selftest.exp, gdb.base/setshow.exp,
16184 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16185 gdb.base/sigall.exp, gdb.base/signals.exp,
16186 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16187 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16188 gdb.base/step-test.exp, gdb.base/structs.c,
16189 gdb.base/structs.exp, gdb.base/structs2.exp,
16190 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16191 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16192 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16193 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16194 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16195 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16196 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16197 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16198 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16199 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16200 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16201 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16202 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16203 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16204 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16205 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16206 gdb.trace/circ.exp, gdb.trace/collection.exp,
16207 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16208 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16209 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16210 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16211 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16212 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16213 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16216 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16218 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16219 first arg is int not float.
16221 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16223 * gdb.base/reread.exp: Unsupported for non-native targets;
16224 doesn't work for remote debugging.
16226 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16228 From Drew Moseley <dmoseley@redhat.com>
16229 * gdb.base/ending-run.exp: Properly handle the BSP state when
16230 stepping past the end of main.
16232 2001-02-19 John Moore <jmoore@redhat.com>
16234 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16235 Converted HPUX fix for non-expected items following multiple
16236 step commands into general solution for all platforms.
16238 2001-02-18 Michael Chastain <chastain@redhat.com>
16240 * gdb.c++/classes.exp (do_tests): Change runto statements
16241 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16242 statements demangler agnostic.
16243 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16244 (gdb_virtfunc_restart): Likewise.
16246 2001-02-14 Michael Chastain <chastain@redhat.com>
16248 * gdb.c++/inherit.exp (do_tests): Change runto statements
16249 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16250 statements demangler agnostic.
16252 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16254 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16255 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16256 before calling common_routine 15 times'' tests.
16258 2001-02-11 Michael Chastain <chastain@redhat.com>
16260 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16261 Helps the test script figure out which demangler is in use.
16262 (dm_type_foo_ref): Ditto.
16263 (dm_type_int_star): Ditto.
16264 (dm_type_long_star): Ditto.
16265 (dm_type_unsigned_int): Ditto.
16266 (dm_type_void): Ditto.
16267 (dm_type_void_star): Ditto.
16268 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16269 Probe the gdb demangler and set variables to accommodate
16270 formatting differences.
16271 (info_func_regexp): New function. Same as info_func, but
16272 matches against a regexp.
16273 (info_func): Match against a literal string.
16274 (print_addr_2): New function. Match against a literal string,
16275 which can be different from the input to gdb.
16276 (print_addr): Simply call print_addr_2 with the same argument twice.
16277 (test_lookup_operator_functions): Use demangler formatting variables.
16278 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16279 the tests in the same order as the C++ class declaration.
16280 (test_paddr_operator_functions): Ditto.
16281 (test_paddr_overloaded_functions): Ditto.
16282 (test_paddr_hairy_functions): Use demangler formatting variables.
16283 Add reference to gdb/19 for related tests.
16284 (do_tests): Call probe_demangler.
16286 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16288 * gdb.c++/templates.cc (printf): Remove unused function definition.
16290 2001-01-26 Felix Lee <flee@redhat.com>
16292 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16294 2001-01-25 matthew green <mrg@redhat.com>
16296 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16298 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16300 2001-01-25 matthew green <mrg@redhat.com>
16302 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16303 Deprecate $sid_spawn_id.
16304 (sid_exit): Remove code necessary only for `spawn.'
16306 2001-01-25 matthew green <mrg@redhat.com>
16308 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16310 2001-01-28 Michael Chastain <chastain@redhat.com>
16312 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16313 to call when tests fail. It takes gdb out of the overloaded
16314 function choice menu back to the main prompt, so that the test
16315 program stays synchronized.
16316 (set_bp_overloaded): New proc to collect all the common
16317 code for setting a breakpoint on an overloaded name. Calls
16318 take_gdb_out_of_choice_menu when needed.
16319 (menu_overload1arg): New variable to collect the repeated
16320 instances of the expected menu for an overloaded name. Change
16321 the regular expression to handle changes in g++ type encoding:
16322 "void" can be either "void" or "", and "unsigned int" can be
16323 either "unsigned int" or "unsigned".
16324 (continue_to_bp_overloaded): Change regular expressions to handle
16325 changes in g++ type encoding.
16326 (no proc): Call take_gdb_out_of_choice_menu when needed.
16327 Remove redundant calls to "info break". Accept either "canceled"
16328 or "cancelled". Change regular expressions in "info break"
16329 calls to handle changes in g++ type encoding. Give all tests
16332 2001-01-17 Ben Elliston <bje@redhat.com>
16334 * config/sid.exp: New file.
16336 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16338 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16340 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16342 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16343 Add a RE to accept a non-ascii char if one is ever presented.
16345 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16347 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16349 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16351 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16352 in regexp. One '\' does not suffice on Linux.
16354 2000-12-09 Michael Chastain <chastain@redhat.com>
16356 * gdb.base/break.exp (test_clear_command): Use a marker function
16357 rather than 'main' for the test function. Also move this
16358 test to an execution point where the marker function names are
16359 guaranteed to be bound to functions. (Executing tests after a
16360 'finish' from main runs into name conflicts with local names
16361 in __libc_start_main).
16363 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16365 * gdb.base/finish.exp: New test for gdb's "finish" command.
16366 * gdb.base/return2.exp: New test for gdb's "return" command.
16367 * gdb.base/return2.c: New source file for above.
16369 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16371 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16372 * gdb.base/miscexprs.exp: Ditto.
16373 * gdb.base/pointers.exp: Ditto.
16374 * gdb.c++/derivation.exp: Ditto.
16375 * gdb.c++/local.exp: Ditto.
16376 * gdb.c++/namespace.exp: Ditto.
16377 * gdb.c++/overload.exp: Ditto.
16378 * gdb.c++/ref-types.exp: Ditto.
16380 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16382 * gdb.base/constvars.exp: Test result of "up" command.
16383 * gdb.base/miscexprs.exp: Ditto.
16384 * gdb.base/pointers.exp: Ditto.
16385 * gdb.base/scope.exp: Ditto.
16386 * gdb.c++/derivation.exp: Ditto.
16387 * gdb.c++/local.exp: Ditto.
16388 * gdb.c++/namespace.exp: Ditto.
16389 * gdb.c++/overload.exp: Ditto.
16390 * gdb.c++/ref-types.exp: Ditto.
16392 2000-11-22 Michael Chastain <chastain@redhat.com>
16394 * mips_pro.exp: Accept either "middle -> top -> main" or
16395 "middle -> main" in the backtrace, because gcc can optimize
16396 tail calls to jumps. Remove setup_xfail for the hppa case.
16397 Add a comment with the original warning messages from PR 3016,
16398 which was filed in 1993, to preserve them for posterity.
16400 2000-11-17 Nick Duffek <nsd@redhat.com>
16402 * lib/gdb.exp (gdb_test): Override timeout with board info.
16404 2000-11-17 Nick Duffek <nsd@redhat.com>
16406 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16407 the second kill and detach messages.
16409 2000-11-17 Nick Duffek <nsd@redhat.com>
16411 * configure.in: Add AC_EXEEXT.
16412 * configure: Regenerate.
16413 * Makefile.in (just-check): Export EXEEXT.
16414 * lib/gdb.exp ($EXEEXT): Import from environment.
16415 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16416 expect "maint dump-me" on Cygwin.
16417 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16420 2000-11-17 Nick Duffek <nsd@redhat.com>
16422 * gdb.base/break.exp: Test backtrace and finish from called
16423 function on all platforms, not just HP-UX.
16425 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16427 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16428 code from gdb_target_monitor, so it can be used independantly
16429 for gdbserver. Also comment out an unnecessary PUTS.
16431 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16433 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16434 * gdb.base/corefile.exp: Expect the message "Program is being
16435 debugged already" when we send the "corefile" command, since
16436 the preceeding gdb_load may have connected gdb to a remote target.
16437 * gdb.base/display.exp: Disable hardware watchpoints if new
16438 board info variable "no_hardware_watchpoints" is true.
16439 Replace single-letter commands with more readable ones.
16440 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16441 if new board info variable "no_hardware_watchpoints" is true.
16442 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16443 to see if stdio (printf) testing is possible.
16444 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16445 board info variable "no_hardware_watchpoints" is true. Use new
16446 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16448 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16450 From Orjan Friberg <orjanf@axis.com>:
16451 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16452 in array print pattern match.
16454 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16456 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16457 spelling "cancelled" to U.S. spelling "canceled" to match changes
16459 * gdb.c++/ovldbreak.exp: Ditto.
16461 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16463 * gdb.base/callfuncs.c (main): Moved to end of file, call
16464 t_double_values to initialize the FPU before inferior calls are made.
16465 * gdb.base/callfuncs.exp: Test for register preservation after calling
16466 inferior functions. Add tests for continuining, finishing and
16467 returning from a stop in a call dummy.
16469 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16471 * gdb.base/commands.exp: Break up long lines, and re-indent.
16473 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16475 * config/gdbserver.exp: Rewritten from the ground up, to make it
16476 compatible with the current dejagnu tree, and to make it work with
16477 the new "gdbserver" in libremote.
16479 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16481 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16482 * gdb.base/varargs.exp: Skip entire test if no printf support.
16483 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16484 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16486 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16488 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16489 no floating point support.
16490 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16491 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16492 * gdb.base/call-rt-st.exp: Ditto.
16493 * gdb.base/call-strs.exp: Ditto.
16495 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16497 * gdb.base/sizeof.c: include <stdio.h>.
16499 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16500 'finish', otherwise uncaptured gdb_prompt would potentially
16501 throw remaining test points out of sync.
16503 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16505 * gdb.base/recurse.exp: Run tests for all targets.
16506 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16507 gnu-oldld case on ARM.
16508 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16511 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16513 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16514 * gdb.java/configure: Rebuild.
16516 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16518 * gdb.java/jv-exp.exp: New file.
16520 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16522 * configure: Rebuilt.
16523 * configure.in (configdirs): Add gdb.java.
16524 * gdb.java/jmisc.java: New file.
16525 * gdb.java/jmisc.exp: New file.
16526 * gdb.java/Makefile.in: New file.
16527 * gdb.java/configure: Rebuilt.
16528 * gdb.java/configure.in: New file.
16529 * lib/java.exp: New file.
16531 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16533 * gdb.base/exprs.exp: Test casts to a pointer including over and
16536 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16538 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16539 and the compilers sizes.
16541 2000-07-09 Nick Duffek <nsd@redhat.com>
16543 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16544 (use_methods): New function.
16545 (main): Call use_methods().
16546 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16547 (do_tests): Call test_method_param_class.
16549 2000-07-09 Nick Duffek <nsd@redhat.com>
16551 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16553 (test_enums): New procedure. Move enum tests from end of script
16554 to here. Set breakpoint on function name instead of line number.
16555 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16556 (enums2): New marker function.
16557 (enums1): New function.
16558 (main): Call enums1(). Move enum tests to enums1().
16560 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16562 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16563 compile/link program. Update line numbers.
16564 * gdb.asm/d10v.inc: Define ``startup''.
16565 * gdb.asm/asmsrc1.s: Add definition of _start.
16567 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16569 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16571 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16573 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16574 of 'help maint print' command.
16576 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16578 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16579 they use gdb_expect_list.
16581 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16583 * gdb.base/commands.exp: Use ``set remote
16584 memory-read-packet-size'' instead of ``set endian big'' to test
16587 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16589 * gdb.c++/templates.exp (do_tests): Make all of these work under
16590 g++, and stop skipping them.
16592 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16595 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16598 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16600 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16601 the regular expression: accept an (almost) arbitrary sequence of
16602 "frames-invalid" and "breakpoints-invalid" messages both before
16603 and after the "starting" message.
16605 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16607 * gdb.c++/local.exp: This test has never been known to work with g++.
16609 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16611 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16612 Relax the regular expression a little, make it pass on Solaris 8.
16614 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16616 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16617 a call, do not require that gdb stop on the line after the call.
16618 Instead, it is permissible for gdb to stop on the line of the
16621 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16623 * gdb.base/break.exp (bp on small function, optimized file):
16624 Add a second pass pattern. The behavior differs here between stabs
16625 and dwarf for one-line functions. Stabs preserves two line symbols
16626 (one before the prologue and one after) with the same line number,
16627 but dwarf regards these as duplicates and discards one of them.
16628 Therefore the address after the prologue (where the breakpoint is)
16629 has no exactly matching line symbol, and GDB reports the breakpoint
16630 as if it were in the middle of a line rather than at the beginning.
16632 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16634 * gdb.base/interrupt.exp: Make "pass" message say "send"
16635 rather than "send_gdb" (for consistancy).
16637 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16639 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16640 * gdb.c++/templates.cc: Properly check for GCC version number.
16641 * lib/compiler.cc: Likewise
16643 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16645 * gdb.base/break.exp: When compiled with -O2 optimization,
16646 gdb may not stop at the first line of main, due to code motion.
16648 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16650 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16651 This test depends on parsing the printf output from the target.
16652 Since the sparclet stub doesn't do stdio, this will never work.
16653 * gdb.base/call-rt-st.exp: ditto.
16654 * gdb.base/call-strs: ditto.
16656 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16658 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16660 * gdb.base/ending-run.exp: After connecting to a remote target,
16661 but before running, the target will appear to be in a random
16662 location. Specify both a file and a line for breakpoints.
16663 Also, the function that calls main may be called 'init'
16664 rather than 'start'.
16666 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16668 * gdb.base/help.exp: Update output for add-symbol-file command.
16670 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16672 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16673 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16675 2000-04-07 J.T. Conklin <jtc@redback.com>
16677 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16679 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16681 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16683 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16684 values that can be represented exactly.
16685 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16686 above change, and to not check against the directory part of the source
16688 (step into print_long_arg_list): Likewise.
16689 (print print_small_structs from print_long_arg_list): Likewise.
16690 (print print_long_arg_list): Likewise.
16692 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16694 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16696 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16698 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16700 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16702 * gdb.base/commands.exp (deprecated_command_test): Add test for
16703 deprecate with no arguments.
16705 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16707 * gdb.base/break.exp: Add new test for setting breakpoints on
16708 optimized code so we can test breakpoints work even when function
16709 prologues may be optimized away
16711 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16713 From David Whedon <dwhedon@gordian.com>
16714 * gdb.base/commands.exp : Added command deprecator tests.
16716 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16718 * gdb.base/help.exp: Added test for new apropos command.
16720 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16722 * gdb.base/pointers.c (usevar): New function.
16723 (main): Make sure that global variables v_int_pointer2, rptr,
16724 and y are all referenced someplace in the program by calling
16725 usevar() on them. [Some linkers delete symbols which are
16726 never referenced. The space remains, but there's no way to
16727 get a (symbolic) handle on the variable from the debugger.]
16729 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16731 * gdb.base/printcmds.c: Add typedeffed arrays.
16733 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16734 procedure to test arrays that are typedef'd.
16736 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16738 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16739 the library directories.
16741 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16743 * configure.in (configdirs): Add sub directory gdb.mi.
16744 * configure: Re-generate.
16746 * gdb.mi: New directory.
16748 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16750 * gdb.base/long_long.exp: Correct test suite failure when printing
16751 a long long value as a double on ARM platforms.
16753 2000-02-16 Jim Blandy <jimb@redhat.com>
16755 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16756 default source file is set properly before running this test.
16758 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16760 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16761 gdbtk/library directory, not in gdbtcl2.
16763 2000-02-04 Jim Blandy <jimb@redhat.com>
16765 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16766 backslash from regexp pattern.
16768 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16769 procedure. Use it to run all the "continue to bp overloaded"
16770 tests. Note that this changes the names of the tests slightly.
16771 If the breakpoint hit message includes a hex PC value, because
16772 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16773 from the real source code, still consider that a pass.
16775 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16776 XFAIL here if the breakpoint message contains a hex address. Note
16777 similar change on 1999-11-02.
16779 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16781 * gdb.base/ptype.exp: Establish a default source file before
16782 calling get_debug_format.
16784 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16786 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16788 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16790 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16791 of successive stepi commands -- while in the prologue we should see
16792 the function entry bracket.
16794 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16796 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16797 reach __change_mode() when stepping through the end of main().
16799 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16801 * gdb.base/default.exp: Fix expected pattern.
16802 * gdb.base/help.exp: Same.
16804 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16806 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16807 Don't use xfail's because that affects only the following test.
16809 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16812 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16814 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16816 * gdb.base/display.exp: Some yacc parsers like to say
16817 "A syntax error" rather than "A parse error". Accept both.
16819 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16821 * gdb.base/default.exp: Remove OS dependent string from "target
16823 * gdb.base/help.exp: Same for "help target remote" test.
16825 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16827 From Jim Kingdon <kingdon@redhat.com>:
16829 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16830 prompt (cleanup rather than necessity, but still might keep output
16831 from spilling to next test).
16833 2000-01-02 Fred Fish <fnf@cygnus.com>
16835 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16836 AIX, which defines them in <sys/types.h>.
16838 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16840 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16843 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16845 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16847 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16848 outermost frame disallowed".
16850 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16852 * gdb.base/setvar.exp: New tests for setting the value of a struct
16853 with a constant list.
16855 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16857 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16858 require the user to type a cast before setting the value of a struct.
16860 1999-12-06 Jim Blandy <jimb@cygnus.com>
16862 * gdb.base/default.exp: Expect the new 'info float' command on
16863 all i386 platforms.
16865 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16866 LinuxThreads libraries that don't support debugging.
16868 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16870 * gdb.base/remote.c: Fill the buffer with truely random data.
16871 Change the buffer type to ``unsigned char'' to simplify size
16874 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16875 stub only handles 400-1 byte packets. Verify that the download
16878 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16880 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16881 tests, using UNRESOLVED for the untested cases. Also, does not wait
16882 for a timeout if the prompt was received before a recognizable pattern.
16884 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16886 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16888 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16890 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16893 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16895 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16897 * gdb.c++/local.exp: Be more flexible in recognizing local class
16898 name mangling. Don't allow horribly truncated method names.
16899 * gdb.c++/derivation.exp: Expect protected inheritance.
16900 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16901 * gdb.c++/virtfunc.exp: Likewise.
16902 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16903 when printing a nested enum.
16905 1999-11-22 Jim Blandy <jimb@cygnus.com>
16907 * gdb.base/step-test.exp: Properly await GDB's response to setting
16908 a breakpoint on the call to large_struct_by_value.
16910 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16911 just because we have debug info for the `start' function.
16913 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16915 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16916 "Unknown signal" messages, which indicate (on LinuxThreads) that
16917 GDB doesn't know how to debug threads on this system. This is
16918 better than hanging while philosopher 0 dumps chatter into gdb.log.
16920 1999-11-18 Tom Tromey <tromey@cygnus.com>
16922 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16924 1999-11-18 Fred Fish <fnf@cygnus.com>
16926 * gdb.base/coremaker2.c: Add sample program for generating
16927 cores that is more self contained than coremaker.c. Eventually
16928 I'll add more code to this and tie it into the testsuite.
16930 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16932 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16934 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16936 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16938 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16941 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16943 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16944 'continue with watch' test point.
16946 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16948 Merged from p2linux-990323-branch:
16950 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16952 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16954 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16955 {limit,fixed}''. Test ``set download-write-size''.
16957 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16959 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16962 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16964 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16966 1999-11-03 Mark Salter <msalter@cygnus.com>
16968 * gdb.base/break.exp: Fix "stub continue" pattern.
16970 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16972 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16974 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16976 * gdb.base/display.exp ("finish"): Add timeout clause.
16978 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16979 plain prompt clause, so this doesn't have to time out in order to
16982 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16983 breakpoint hit messages include an address.
16985 * gdb.base/display.exp: Don't forget to escape parens in regular
16986 expressions. Unix regexp notatation sucks.
16988 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16990 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16991 order for 'signalled' message.
16993 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16995 From Jimmy Guo <guo@cup.hp.com>:
16996 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16997 * gdb.base/annota1.c: Add code for tests to work with.
16999 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17001 * gdb.base/remote.exp: New test for remote downloading settings.
17002 * gdb.base/remote.c: New file with large .data.
17004 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17006 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17007 for LinuxThreads support, merged from the Code Fusion branch.
17009 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17011 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17012 containing exp_continue into a while within an expect. Don't
17013 attempt a start more than three times. Check return value from
17016 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17018 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17021 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17023 * gdb.base/break.c (main): Added a statement that we can step
17025 * gdb.base/break.exp: Added tests for setting a breakpoint
17026 at an offset and stepping onto a breakpoint.
17028 1999-10-01 Fred Fish <fnf@cygnus.com>
17030 * gdb.base/help.exp (help add-symbol-file): Update to match current
17033 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17035 * gdb.base/break.exp: Code locations are in hex, don't forget!
17038 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17040 * condbreak.exp: Use break.c as test program.
17041 * condbreak.c: Remove, redundant with break.c.
17043 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17045 * config/monitor.exp (gdb_target_monitor): Disable X- and
17046 Z-packets if the target needs it.
17048 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17050 * gdb.c++/overload.exp: Added tests for listing overloaded
17051 functions with function pointers in the arg, explicitly calling
17052 out the version you want.
17054 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17056 * long_long.exp: Add variations of test cases that work for
17057 targets with 16-bit ints and 32-bit doubles.
17059 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17061 * break.c (main): Compare a possibly-uninitialized argc with an
17062 unlikely value that fits in 16 bits.
17064 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17066 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17067 0xfeeb, don't want negative numbers if ints are 16 bits.
17069 * lib/gdb.exp (skip_cplus_tests): New proc.
17070 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17071 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17072 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17073 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17074 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17075 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17076 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17077 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17079 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17081 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17083 * gdb.base/corefile.exp (up): Allow a parameter to appear
17084 in the frame that we're going up to.
17086 From Jim Blandy <jimb@cygnus.com>:
17088 * gdb.base/default.exp (info float): Expect some output now.
17090 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17091 returning floating-point values to fail on the x86.
17092 * gdb.base/callfwmall.exp (do_function_calls): Same.
17094 * gdb.base/list.exp (test_listsize): Correct expectations for
17095 listing line 1 with listsize 2. Also, listing a single line
17096 works now, as does listing three lines. [Kevin's note: There
17097 were a number of other cases fixed too where the expectations
17100 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17102 * gdb.base/selftest.exp: Add case for when version prints as
17103 constant string instead of char pointer.
17105 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17107 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17108 stepping out of main.
17110 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17113 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17114 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17116 * gdb.c++/ovldbreak.exp: Update match string in test that
17117 includes a warning of multiple breakpoints.
17119 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17121 * gdb.base/display.exp: Improve precision of step-after-finish
17124 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17127 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17128 configs when using G++, not just hppa*.
17130 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17132 * gdb.base/async.c: New file.
17133 * gdb.base/async.exp: New file.
17135 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17137 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17140 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17142 * gdb.base/display.exp: "finish" can leave us mid-line on many
17143 targets, deal with it. Add a small constant to main, instead of
17144 1000 since main+1000 may not be a valid address in the target.
17146 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17149 * gdb.base/attach.exp: Handle another hpux11 error message variant
17150 when attaching to a process that does not exist.
17152 1999-08-19 J.T. Conklin <jtc@redback.com>
17154 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17155 characters in 'continue to 1241' test.
17157 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17159 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17160 stop in print_long_arg_list, define and use a whitespace
17161 variable in print_small_structs test, add an XFAIL for Solaris.
17162 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17163 interested enough to fix.
17165 1999-08-13 Keith Seitz <keiths@cygnus.com>
17167 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17168 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17169 proc knows about targets other than the natives.
17170 (test_assign): Use "gdb_run_cmd" to "run" the target.
17171 Check that we've actually hit the breakpoint at main.
17172 When we attempt to assign a value to a local variable, check
17173 that the variable is in the current scope, i.e., don't use
17174 a test with an empty result.
17176 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17178 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17181 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17183 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17184 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17185 gdb.compat, gdb.threads-hp.
17186 gdb.hp/configure, gdb.hp/configure.in: New files.
17187 gdb.hp/Makefile.in: Recurse into new subdirs.
17188 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17189 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17191 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17193 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17195 * gdb.base/display.exp: Help expect by putting a newline in the
17196 funky printf, remove a bogus p/a test.
17198 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17200 * gdb.base/display.exp: Make sure that when we say 'run', we are
17201 connected to the target. This is necessary when running not
17204 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17206 * gdb.base/step-test.exp: Removed some extraneous messages.
17208 * gdb.base/long_long.exp: Don't run memory examination tests
17209 on little-endian targets (they will need a different set of
17212 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17214 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17215 until somebody decides to fix GDB.
17217 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17219 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17220 matches for a couple x/2 commands.
17222 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17224 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17225 by merging in ref-types2 tests.
17226 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17228 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17229 * gdb.c++/Makefile.in: Add standard actions.
17230 (EXECUTABLES): Rename from PROGS, update list.
17231 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17233 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17234 foo and bar locals.
17235 * gdb.c++/anon-union.exp: Fix tests to match.
17236 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17237 expect matches to handle output variations.
17238 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17239 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17240 output, add HP alternatives for new and delete prints.
17241 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17242 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17243 * gdb.c++/demangle.exp: Use $style when reporting failure.
17244 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17245 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17246 match alternatives.
17247 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17249 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17250 * gdb.c++/method.exp: Add match alternatives.
17251 * gdb.c++/misc.cc: Add bool types.
17252 * gdb.c++/misc.exp: Add tests for bool types.
17253 * gdb.c++/overload.exp: Add xfails.
17254 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17255 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17256 add some more template parameter tests (only for HP currently).
17257 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17258 * gdb.c++/virtfunc.cc: Add return type and value for main.
17259 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17260 match alternatives.
17262 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17264 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17266 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17268 * gdb.base/signals.exp: Don't expect getting a backtrace from
17269 within a signal handler to fail on Linux.
17271 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17273 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17274 * lib/gdb.exp: Remove some gratuitious semicolons.
17275 (delete_breakpoints): Increase timeout.
17276 (gdb_expect): Add -notransfer option.
17277 (gdb_test): Use -notransfer option.
17278 (get_compiler_info): Add f77 case.
17279 (get_compiler): New proc, split out from gdb_preprocess, add f77
17281 (gdb_preprocess): Call get_compiler.
17283 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17284 * gdb.base/attach.exp, gdb.base/display.exp,
17285 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17286 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17287 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17288 third arg to gdb_test.
17289 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17290 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17291 HP-UX xfails, add others.
17292 * gdb.base/completion.exp: Reflect name change of self-test.
17293 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17294 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17295 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17297 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17298 useless HP-UX 10.30 references.
17299 * gdb.base/maint.exp: Loosen matches.
17300 * gdb.base/pointers.c (main): Declare more_code.
17301 * gdb.base/pointers.exp: Match on output of a `next'.
17302 * gdb.base/structs.c: Add prototypes.
17303 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17304 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17306 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17308 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17311 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17313 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17314 Fix run to main failures. Watchpoint can be hardware watchpoint.
17316 * gdb.base/annota1.exp: Clean up some more, in case printf has
17317 debug info. Deal with lack of signal hanlder info in stack.
17319 From Jim Kingdon <kingdon@redhat.com>:
17320 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17322 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17324 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17325 gdb.base/foll-vfork.exp: Don't run for crosses.
17327 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17329 * gdb.base/configure.in: Check for gdbvars.exp instead of
17331 * gdb.base/configure: Re-generate.
17333 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17335 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17336 in trying to run first and name is too long.
17338 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17339 pointers2.c and pointers2.exp, respectively.
17340 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17343 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17345 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17346 callfuncs2.c and callfuncs2.exp.
17348 * gdb.base/list.exp: Remove mistaken xfails.
17349 * gdb.base/list0.h: Add optional prototypes.
17351 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17353 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17355 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17356 * ptype.exp: Move test for get_debug_format to before its first
17359 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17361 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17362 * gdb.base/annota2.cc, annota2.exp: Move from here.
17363 * gdb.c++/annota2.cc, annota2.exp: To here.
17364 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17366 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17368 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17369 a consistent format.
17371 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17373 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17374 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17375 HP compilers, also set the globals $true and $false.
17377 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17378 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17379 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17380 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17381 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17382 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17383 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17384 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17385 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17386 whatis.c} Add C++ compatible function definitions and return
17387 types, add includes for library functions.
17388 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17389 * gdb.base/step-test.c (myglob): Rename from glob.
17390 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17391 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17392 files, move here from gdb.hp.
17393 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17394 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17395 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17396 Adjust line numbers in regexps.
17398 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17399 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17402 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17403 foll-vfork.exp: New files, move here from gdb.hp.
17404 * gdb.base/page.exp: New file, test of pagination command.
17406 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17408 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17410 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17411 gdb.base/solib.exp: Fix compiler invocation process.
17413 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17414 HP-UX 11, turn off overload resolution explicitly.
17415 * gdb.base/commands.exp: Set argument list explicitly, add
17417 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17419 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17420 expressions properly.
17421 * gdb.base/corefile.exp: Loosen the match slightly.
17422 * gdb.base/default.exp: Allow "Error accessing memory" message
17424 * gdb.base/display.exp: Skip over x/0 j if PA64.
17425 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17426 * gdb.base/interrupt.exp: Ditto.
17427 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17429 * gdb.base/list.exp: Add xfails for HP-UX.
17430 * gdb.base/long_long.exp: Refine some of the numeric matches.
17431 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17432 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17433 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17434 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17435 * gdb.base/ptype.exp: Succeed on more varieties of output.
17436 * gdb.base/scope.exp: Add xfails for HP-UX.
17437 * gdb.base/sect-cmd.exp: Add more cases.
17438 * gdb.base/setvar.exp: Add xfails for HP-UX.
17439 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17440 * gdb.base/signals.exp: Match on void symbolically.
17441 * gdb.base/step-test.exp: Add case for PA64.
17442 * gdb.base/term.exp: Add exit and restart.
17443 * gdb.base/twice.exp: Clean up after self.
17444 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17445 * gdb.base/whatis.exp: Allow more ways to pass tests.
17447 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17450 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17452 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17454 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17455 print_double_array(double_array)", "continuing to breakpoint
17456 1018", "print print_double_array(array_d)" and "continuing to
17459 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17461 * Makefile.in: Add empty html and install-html targets.
17463 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17465 * config/mt-*: Remove, these haven't been used since 1996.
17467 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17469 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17470 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17471 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17473 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17475 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17476 simpler match case for the ptype of the big class.
17478 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17480 * gdb.exp: Fix test for gdb_prompt existence.
17482 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17484 * gdb.exp (gdb_test): Add fail after calls to perror.
17486 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17488 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17490 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17492 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17494 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17496 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17497 malloc() is linked in.
17499 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17501 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17504 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17506 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17508 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17510 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17512 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17513 * gdb.base/mips_pro.exp: Likewise.
17515 1999-06-02 Keith Seitz <keiths@cygnus.com>
17517 * gdb.c++/templates.cc: Change all "new" operators to throw
17519 * gdb.c++/cplusfuncs.cc: Likewise.
17521 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17523 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17525 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17526 * gdb.base/ending-run.exp: When stepping out of main, accept a
17527 step into an arbitrary assembler file.
17529 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17531 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17532 "breakpoint-invalid" to be printed.
17533 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17534 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17535 * gdb.base/annota2.cc: Initialize a.x to 0.
17537 1999-05-17 Keith Seitz <keiths@cygnus.com>
17539 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17540 when "skip_float_tests" set.
17541 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17542 "print print_ten_doubles", and "step into print_long_arg_list".
17543 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17544 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17545 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17546 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17547 "skip_float_tests" is set.
17548 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17549 when "skip_float_tests" set.
17551 1999-05-06 Keith Seitz <keiths@cygnus.com>
17553 * gdb.base/annota2.cc: Include stdio.h.
17555 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17557 * gdb.base/crossload.exp: Remove, this has been disabled ever
17558 since BFD stopped including all targets, and cross-GDB gets
17559 plenty of testing anyway.
17560 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17561 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17562 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17563 * gdb.base/README: Remove, was doc for this.
17564 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17567 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17569 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17572 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17573 * gdb.base/annota2.exp: New file. More annotation tests.
17574 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17575 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17577 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17579 * config/cfdbug.exp: New file.
17581 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17583 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17584 Marcus Daniel's and Dale Hawkins's demangler crashes.
17586 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17587 test_lucid_style_demangling, test_arm_style_demangling,
17588 test_hp_style_demangling): Try Tom Tromey's core-dumping
17589 identifier under each demangling style.
17591 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17593 * gdb.c++/demangle.exp: Include the current demangling style
17595 (current_demangling_style): New global variable.
17596 (set_demangling_style, test_demangling_core, test_demangling,
17597 test_demangling_exact): New functions.
17598 (test_gnu_style_demangling, test_lucid_style_demangling,
17599 test_arm_style_demangling, test_hp_style_demangling): Use those,
17600 instead of calling gdb_test and gdb_test_exact directly.
17601 (catch_demangling_errors): New function, which reports errors
17602 signalled by the demangling test functions in an orderly way.
17603 (do_tests): Use catch_demangling_errors.
17605 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17607 * gdb.base/signals.exp (test_handle_all_print): Use () for
17608 grouping in expressions, not {}.
17610 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17613 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17615 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17618 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17620 * gdb.stabs/weird.exp: Test for CC being defined before
17621 looking at its value.
17623 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17625 * gdb.base/call-ar-st.exp: Remove stray '#'.
17626 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17627 "short int" and "long int".
17628 * gdb.c++/overload.cc: Cast the string added in the previous
17629 change, to mollify finicky HP compiler.
17630 * gdb.hp/reg-test.exp (testfile): Fix file name.
17631 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17633 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17634 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17635 alternate form of enum ptype.
17637 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17639 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17640 * gdb.hp/*.exp: Change all to run compiler probe only after
17641 passing skip_hp_tests, so as not to waste time on guaranteed
17644 * gdb.c++/overload.cc: Pass string instead of char addr, always
17646 * gdb.c++/templates.cc: Fix syntax error.
17648 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17650 * gdb.base/commands.exp: Add test for correct position of '>'
17651 when issuing the 'commands' command after a 'while' or 'if'
17654 1999-03-18 James Ingham <jingham@cygnus.com>
17656 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17658 * gdb.c++/method.exp: It was testing an uninitialized int on the
17659 stack and assuming it was positive.
17661 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17663 * gdb.base/step-test.exp: Catch a case where finish is broken and
17664 keep it from killing the rest of the tests.
17665 Use gdb_continue_to_end.
17667 * gdb.base/sigall.exp: use gdb_continue_to_end.
17669 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17671 * gdb.base/display.exp: use runto_main, not run.
17673 * gdb.base/default.exp: Check for the current error message in the
17674 r abbreviation test.
17675 Add strongarm to the targets that know info float.
17677 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17678 run which doesn't work with monitors.
17680 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17682 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17684 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17685 program. Traps the case (in Cygmon) when the program never really
17686 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17687 more places, so I used my name. Sorry Mark...
17689 * config/monitor.exp (gdb_target_monitor): added another
17690 target_info parameter: remotebinarydownload. This will set the
17691 remotebinarydownload flag if this is causing some boards trouble.
17693 1999-03-18 Mark Salter <msalter@cygnus.com>
17695 * lib/gdb.exp (continue_to_exit): New function.
17697 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17698 * gdb.base/ending-run.exp: Ditto.
17699 * gdb.base/step-test.exp: Ditto.
17701 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17703 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17704 (suggested by Art Haas <ahaas@neosoft.com>).
17706 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17708 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17710 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17712 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17713 descriptions of types (short unsigned int vs unsigned short, etc).
17715 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17717 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17718 a call to strlen; sometimes we do have sources.
17720 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17722 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17723 character, so GDB won't print garbage after its end.
17725 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17726 breakpoint there instead. Sometimes GCC emits memcpy to handle
17727 the large structures being passed by value, so we step into that
17728 instead of sum_array_print, which obscures what we're really testing.
17729 * gdb.base/step-test.exp: However, we do want a test that notices
17730 the bizarre steps into memcpy, so do that here. Add check for
17731 stepping into function calls that pass large structures by value.
17732 ("Is that a noun clause, or are you just happy to see me?")
17733 Remove all references to specific line numbers.
17734 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17735 New type and function.
17736 (main): Call large_struct_by_value, passing it a large struct by value.
17737 * lib/gdb.exp (gdb_get_line_number): New function.
17739 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17742 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17744 * lib/gdb.exp: Doc fixes.
17746 1999-03-05 Nick Clifton <nickc@cygnus.com>
17748 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17750 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17752 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17753 commands. They're not germane to this test, and they don't work
17754 that way on remote targets.
17756 1999-03-01 James Ingham <jingham@cygnus.com>
17758 * Changelog entries merged over from gdb development branch.
17760 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17762 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17763 for outputting results of test run.
17765 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17767 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17769 1999-02-25 Felix Lee <flee@cygnus.com>
17771 * lib/gdb.exp (debug_format): initialize
17773 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17775 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17776 * gdb.base/call-rt-st.c: Ditto.
17778 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17780 * gdb.threads/pthreads.exp (horiz): New variable.
17781 (test_startup): Fix regexps that capture thread numbers.
17783 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17785 * gdb.base/smoke.exp: Disambiguate two test case names (both
17788 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17790 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17793 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17795 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17796 actual output formatting.
17797 * gdb.base/smoke.exp: GDB removes leading 0's.
17798 * gdb.base/volatile.exp: Don't check type of remuneration;
17799 that variable is no longer defined in constvars.c.
17800 * gdb.base/step-test.c (main): Exit with explicit exit code.
17801 * gdb.base/step-test.exp: Remove two nexti checks--they are
17804 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17806 * gdb.base/help.exp ("help delete display"): Fix test to match
17809 * gdb.base/long_long.c (known_types): Initialize values to zero.
17810 * gdb.base/long_long.exp: Step one more line
17811 so 'dec' is initialized in "get to known place". GDB removes
17812 leading zeros. Explicitly ask for hex formatting. Use
17813 unique test case names.
17815 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17817 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17819 * gdb.c++/method.exp: Add missing close brace.
17821 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17823 * gdb.base/maint.exp: Use 'set height 0' to disable page
17824 prompting, not 'set height 400'.
17826 Fix a bunch of timeouts.
17827 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17828 four separate tests, so expect doesn't take forever to match a ton
17829 of text against a regexp with lots of .* forms.
17830 ("maint print psymbols", "maint print symbols"): Make some of
17831 these greps more selective, so that expect doesn't try to wade
17832 through huge piles of output and time out.
17834 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17836 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17837 tests: one which doesn't expect shlib events to be reported, and
17838 another which does, but is XFAIL for all platforms other than
17841 * gdb.base/break.exp: Teach the test suite that the `catch
17842 fork', `catch vfork', and `catch exec' commands produce error
17843 messages on platforms that don't provide these features.
17845 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17847 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17848 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17849 (shortening names from solib_threshold.exp etc), won't run on
17850 anything but HP-UX for the foreseeable future.
17851 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17854 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17856 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17857 gdb.trace/Makefile.in (clean): Remove all test executables.
17859 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17861 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17862 successfully re-sets breakpoints in shared libraries.
17863 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17865 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17867 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17868 and compiled w/o GCC.
17870 * gdb.hp/watch-cmd.exp: ditto.
17872 * gdb.hp/watch-hp.exp: ditto.
17874 * gdb.hp/xdb1.exp: ditto.
17876 * gdb.hp/xdb2.exp: ditto.
17878 * gdb.hp/dbx.exp: ditto.
17880 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17882 * constvars.c: Remove C++-isms.
17883 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17886 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17888 The following changes are part of the HP merge.
17890 * gdb.base/break.exp: new tests to verify that catchpoints for
17891 fork, vfork, and exec don't trigger inappropriately.
17893 * gdb.base/opaque.exp: compile one file at a time, then link.
17895 * gdb.base/signals.exp: be more restrictive about which hppa
17896 systems receive a setup_xfail. new tests.
17898 * gdb.base/solib_threshold.build: new file.
17899 * gdb.base/solib_threshold.exp: new file.
17900 * gdb.base/solib_threshold.link_opts: new file.
17901 * gdb.base/solib_threshold.mk: new file.
17902 * gdb.base/gen_solib_threshold.c: new file.
17904 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17905 tests. New tests for enums inside classes.
17907 * gdb.c++/compiler.cc: indicate support of template debugging.
17909 * gdb.c++/demangle.exp: run hp style demangling tests.
17911 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17914 * gdb.c++/misc.cc: changes to support new tests.
17916 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17917 to support new tests.
17919 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17920 gcc, then skip these tests.
17922 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17924 The following files are part of the HP merge; some had longer
17925 names at HP, but have been renamed to be no more than 14
17926 characters in length.
17928 * gdb.hp/ambiguous.cc: new file.
17929 * gdb.hp/ambiguous.exp: new file.
17930 * gdb.hp/attach.exp: new file.
17931 * gdb.hp/attach2.exp: new file.
17932 * gdb.hp/classes-hp.exp: new file.
17933 * gdb.hp/ctti.exp: new file.
17934 * gdb.hp/ctti-add.cc: new file.
17935 * gdb.hp/ctti-add1.cc: new file.
17936 * gdb.hp/ctti-add2.cc: new file.
17937 * gdb.hp/ctti-add3.cc: new file.
17938 * gdb.hp/dbx.exp: new file.
17939 * gdb.hp/exception.cc: new file.
17940 * gdb.hp/exception.exp: new file.
17941 * gdb.hp/foll-exec.c: new file.
17942 * gdb.hp/foll-exec.exp: new file.
17943 * gdb.hp/foll-fork.c: new file.
17944 * gdb.hp/foll-fork.exp: new file.
17945 * gdb.hp/foll-vfork.c: new file.
17946 * gdb.hp/foll-vfork.exp: new file.
17947 * gdb.hp/inherit-hp.exp: new file.
17948 * gdb.hp/more-steps.exp: new file.
17949 * gdb.hp/namespace.cc: new file.
17950 * gdb.hp/namespace.exp: new file.
17951 * gdb.hp/optimize.exp: new file.
17952 * gdb.hp/pxdb.c: new file.
17953 * gdb.hp/pxdb.exp: new file.
17954 * gdb.hp/quicksort.exp: new file.
17955 * gdb.hp/reg-test.exp: new file.
17956 * gdb.hp/reg-test.s: new file.
17957 * gdb.hp/sized-enum.c: new file.
17958 * gdb.hp/sized-enum.exp: new file.
17959 * gdb.hp/start-stop.exp: new file.
17960 * gdb.hp/templ-hp.cc: new file.
17961 * gdb.hp/templ-hp.exp: new file.
17962 * gdb.hp/thr-lib.c: new file.
17963 * gdb.hp/thr-lib.exp: new file.
17964 * gdb.hp/thr-lib.h: new file.
17965 * gdb.hp/thr-liblib.c: new file.
17966 * gdb.hp/virtfun-hp.c: new file.
17967 * gdb.hp/virtfun-hp.exp: new file.
17968 * gdb.hp/watch-cmd.exp: new file.
17969 * gdb.hp/watch-hp.exp: new file.
17970 * gdb.hp/xdb1.exp: new file.
17971 * gdb.hp/xdb2.exp: new file.
17972 * gdb.hp/xdb3.exp: new file.
17974 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17976 The following files are part of the HP merge; some had longer
17977 names at HP, but have been renamed to be no more than 14
17978 characters in length.
17980 * gdb.base/ss.h: new file.
17981 * gdb.base/call-ar-st.c: new file.
17982 * gdb.base/call-ar-st.exp: new file.
17983 * gdb.base/call-rt-st.c: new file.
17984 * gdb.base/call-rt-st-exp: new file.
17985 * gdb.base/call-strs.exp: new file.
17986 * gdb.base/ena-dis-br.exp: new file.
17987 * gdb.base/environ.exp: new file.
17988 * gdb.base/long_long.exp: new file.
17989 * gdb.base/sect-cmd.exp: new file.
17990 * gdb.base/shlib-cl2.exp: new file.
17991 * gdb.base/smoke.exp: new file.
17992 * gdb.base/so-impl-ld.c: new file.
17993 * gdb.base/so-impl-ld.exp: new file.
17994 * gdb.base/so-indr-cl.c: new file.
17995 * gdb.base/so-indr-cl.exp: new file.
17996 * gdb.base/varargs.exp: new file.
17997 * gdb.base/volatile.exp: new file.
17998 * gdb.base/whatis-exp.exp: new file.
17999 * gdb.base/display.exp: new file.
18000 * gdb.c++/derivation.exp: new file.
18001 * gdb.c++/local.exp: new file.
18002 * gdb.c++/member-ptr.exp: new file.
18003 * gdb.c++/overload.exp: new file.
18004 * gdb.c++/ovldbreak.exp: new file.
18005 * gdb.c++/ref-types.exp: new file.
18006 * gdb.c++/ref-types2.exp: new file.
18007 * gdb.c++/userdef.exp: new file.
18009 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18011 * gdb.base/default.exp: Reflect wording change in remote.c.
18013 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18015 * gdb.base/help.exp: Update to reflect current text.
18017 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18019 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18020 they're stack variables and contain garbage.
18021 * gdb.c++/anon-union.exp: new file.
18023 The following changes were made by David Taylor
18024 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18025 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18028 * gdb.base/bitops.exp: new file.
18029 * gdb.base/default.exp: change expected messages for catch and
18030 info catch tests to reflect HP merge changes.
18031 * gdb.base/enable-disable-break.exp
18032 * gdb.base/ending-run.c: new file.
18033 * gdb.base/long_long.c: new file.
18034 * gdb.base/maint.exp: new file.
18035 * gdb.base/pointers2.exp: new file.
18036 * gdb.base/shlib-call2.exp: new file.
18037 * gdb.base/solib.exp: new file.
18038 * gdb.base/step-test.c: new file.
18039 * gdb.c++/anon-union.cc: new file.
18040 * gdb.c++/local.cc: new file.
18041 * gdb.c++/member-pointer.cc: new file.
18042 * gdb.c++/method.cc: new file.
18043 * gdb.c++/ref-types.cc: new file.
18044 * gdb.c++/ref-types2.cc: new file.
18045 * gdb.c++/userdef.cc: new file.
18047 * gdb.base/scope.exp: compile one file at a time, then link.
18048 * gdb.base/langs.exp: ditto.
18049 * gdb.base/list.exp: ditto.
18051 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18053 The following changes were made by David Taylor
18054 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18055 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18058 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18059 skip tests. When compiling pass c++ flag to gdb_compile.
18062 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18063 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18064 (skip_hp_tests): new function.
18065 (gdb_preprocess): new function.
18067 * configure.in (hpdir): decide whether to configure gdb.hp.
18068 * configure: regenerated.
18070 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18071 to delete on clean.
18072 (EXECUTABLES): update to reflect new additions.
18073 * gdb.base/commands.exp: update message expected.
18074 * gdb.base/default.exp: add copyright notice.
18075 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18076 * gdb.base/help.exp: update messages to reflect current text.
18077 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18078 targets for recurse tests.
18079 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18082 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18083 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18085 * gdb.c++/misc.exp: ditto.
18086 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18087 run the tests. tell gdb_compile that it's a c++ compilation.
18089 * gdb.threads/pthreads.exp: fix typo in message.
18091 * gdb.base/all-bin.exp: new file.
18092 * gdb.base/arithmet.exp: new file.
18093 * gdb.base/assign.exp: new file.
18094 * gdb.base/completion.exp: new file.
18095 * gdb.base/cond-expr.exp: new file.
18096 * gdb.base/condbreak.exp: new file.
18097 * gdb.base/define.exp: new file.
18098 * gdb.base/dollar.exp: new file.
18099 * gdb.base/environment.exp: new file.
18100 * gdb.base/eval-skip.exp: new file.
18101 * gdb.base/jump.exp: new file.
18102 * gdb.base/logical.exp: new file.
18103 * gdb.base/pointers.exp: new file.
18104 * gdb.base/relational.exp: new file.
18105 * gdb.base/section_command.exp: new file.
18106 * gdb.base/whatis-expr.exp: new file.
18108 * gdb.base/all-types.c: new file.
18109 * gdb.base/call-array-struct.c: new file.
18110 * gdb.base/call-return-struct.c: new file.
18111 * gdb.base/call-strings.c: new file.
18112 * gdb.base/callfuncs2.c: new file.
18113 * gdb.base/condbreak.c: new file.
18114 * gdb.base/constvars.c: new file.
18115 * gdb.base/display.c: new file.
18116 * gdb.base/int-type.c: new file.
18117 * gdb.base/jump.c: new file.
18118 * gdb.base/miscexprs.c: new file.
18119 * gdb.base/pointers.c: new file.
18120 * gdb.base/pointers2.c: new file.
18121 * gdb.base/shmain.c: new file.
18122 * gdb.base/shr1.c: new file.
18123 * gdb.base/shr2.c: new file.
18124 * gdb.base/solib.c: new file.
18125 * gdb.base/solib1.c: new file.
18126 * gdb.base/solib2.c: new file.
18127 * gdb.base/varargs.c: new file.
18128 * gdb.c++/derivation.cc: new file.
18129 * gdb.c++/overload.cc: new file.
18130 * gdb.c++/ovldbreak.cc: new file.
18131 * gdb.hp/attach.c: new file.
18132 * gdb.hp/attach2.c: new file.
18133 * gdb.hp/average.c: new file.
18134 * gdb.hp/compiler.c: new file.
18135 * gdb.hp/compiler.cc: new file.
18136 * gdb.hp/execd-program.c: new file.
18137 * gdb.hp/follow-exec.c: new file.
18138 * gdb.hp/follow-fork.c: new file.
18139 * gdb.hp/follow-vfork-and-exec.c: new file.
18140 * gdb.hp/misc-hp.cc: new file.
18141 * gdb.hp/more-steps.c: new file.
18142 * gdb.hp/optimize.c: new file.
18143 * gdb.hp/quicksort.c: new file.
18144 * gdb.hp/run-hp.c: new file.
18145 * gdb.hp/start-stop.c: new file.
18146 * gdb.hp/sum.c: new file.
18147 * gdb.hp/templates-hp.cc: new file.
18148 * gdb.hp/thread-local-in-lib.c: new file.
18149 * gdb.hp/thread-local-in-lib.h: new file.
18150 * gdb.hp/thread-local-in-lib.lib.c: new file.
18151 * gdb.hp/vforked-program.c: new file.
18152 * gdb.hp/virtfunc-hp.cc: new file.
18153 * gdb.hp/watchpoint-hp.c: new file.
18154 * gdb.hp/xdb.c: new file.
18155 * gdb.hp/xdb0.c: new file.
18156 * gdb.hp/xdb0.h: new file.
18157 * gdb.hp/xdb1.c: new file.
18159 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18161 The following change was made by Edith Epstein
18162 <eepstein@cygnus.com> as part of a project to merge in changes
18163 originally made by HP; HP did not create ChangeLog entries.
18165 * gdb.c++/demangle.exp: changed the expected output for some
18166 ARM-style mangling -- removed second reference to datatype.
18167 For example, maint demangle __dt__11T1__pt__2_cFv
18168 T1<char>::~T1<char>(void)
18170 maint demangle __dt__11T1__pt__2_cFv
18171 T1<char>::~T1(void)
18173 (test_hp_style_demangling): new hp specific demangling test cases.
18175 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18177 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18178 * gdb.trace/backtrace.exp: Likewise.
18179 * gdb.trace/circ.exp: Likewise.
18180 * gdb.trace/collection.exp: Likewise.
18181 * gdb.trace/deltrace.exp: Likewise.
18182 * gdb.trace/infotrace.exp: Likewise.
18183 * gdb.trace/limits.exp: Likewise.
18184 * gdb.trace/packetlen.exp: Likewise.
18185 * gdb.trace/passc-dyn.exp: Likewise.
18186 * gdb.trace/passcount.exp: Likewise.
18187 * gdb.trace/report.exp: Likewise.
18188 * gdb.trace/save-trace.exp: Likewise.
18189 * gdb.trace/tfind.exp: Likewise.
18190 * gdb.trace/tracecmd.exp: Likewise.
18191 * gdb.trace/while-dyn.exp: Likewise.
18192 * gdb.trace/while-stepping.exp: Likewise.
18194 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18196 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18198 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18200 From Brendan Kehoe:
18201 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18204 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18206 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18207 remote dos host testing right.
18209 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18211 * gdb.base/corefile.exp: remove some xfails.
18213 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18215 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18216 have different timestamps.
18218 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18220 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18221 gdb.base/default.exp: Replace "exec" with "executable".
18223 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18225 * gdb.base/default.exp: Change else if to elseif from previous
18228 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18230 * gdb.base/default.exp: Add brace missing from previous delta.
18232 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18234 * gdb.base/default.exp: Support test for info float for all
18235 varieties of arm toolchain.
18237 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18239 * gdb.trace/*.exp: remove "remote_download" command.
18241 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18243 * gdb.trace/*.exp: remove -gdwarf from compile.
18245 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18247 * gdb.trace/configure.in(AC_INIT): typo
18248 * gdb.trace/configure: regenerated
18250 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18252 * config/m68k-emc.exp: New file.
18253 * lib/<emc-support.exp trace-support.exp}: New files.
18254 * configure.in: add new test directory gdb.trace.
18255 * gdb.trace/{configure configure.in Makefile.in}: New files.
18256 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18257 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18258 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18259 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18260 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18261 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18262 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18264 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18266 * gdb.c++/classes.exp: Change all regular expressions to match
18267 arbitrary combinations of newline/carriage-return, so that they
18268 will work equally well on Unix and Windows.
18269 * gdb.c++/inherit.exp: ditto.
18270 * gdb.c++/virtfunc.exp: ditto.
18272 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18274 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18276 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18278 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18279 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18280 to use a0-a3/d0-d3 as needed.
18282 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18284 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18285 * gdb.disasm/am33.exp: Corresponding changes.
18287 1998-07-11 Felix Lee <flee@cygnus.com>
18289 * gdb.base/callfuncs.exp: add cmp10 test.
18290 * gdb.base/callfuncs.c (cmp10): new function.
18292 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18294 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18295 into two parts to get around a synchronization problem in expect.
18297 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18299 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18301 * configure.in: Add options for gdbtk testsuite.
18303 * configure: Regenerate.
18305 * gdb.gdbtk: New directory to hold gdbtk tests.
18307 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18309 * gdb.fortran/types.exp: Escape brackets in expect patterns
18310 for test_float_literal_types_accepted tests.
18311 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18314 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18316 * am33.exp: Just compile, do not link the testcase.
18317 * am33.s: Add ".am33" pseudoop to force am33 mode.
18319 1998-06-25 Felix Lee <flee@cygnus.com>
18321 * gdb.base/setshow.exp: make sure $pc is sane.
18323 * gdb.stabs/weird.exp: split expect patterns properly.
18325 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18327 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18328 * gdb.disasm/am33.exp: Run it.
18330 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18332 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18333 match processing (and eliminate spurious timeouts when running).
18335 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18337 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18338 exception test, but conditionalize it on target [mach | gnu].
18340 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18342 * gdb.base/overlays.exp: fixup compile line for linker script.
18344 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18346 * gdb.fortran/types.exp: don't guess at float size.
18348 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18350 * gdb.base/exprs.exp: delete test that depends on int size.
18352 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18354 * config/sim.exp: Removed checks for target triplets.
18355 (gdb_target_sim): Use gdb,target_sim_options.
18357 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18359 * gdb.base/reread.exp: New file.
18360 * gdb.base/reread1.c: New file.
18361 * gdb.base/reread2.c: New file.
18363 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18365 * config/sim.exp: Use 'target sim -sparclite' when running
18366 SPARClite programs.
18368 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18370 * gdb.base/structs2.exp: New file.
18371 * gdb.base/structs2.c: New file.
18373 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18375 * gdb.asm/common.inc: New file.
18376 * gdb.asm/d10v.inc: New file.
18377 * asm-source.exp: Pass -I's to gas to find .inc files.
18378 Update line numbers in expected output.
18379 * asmsrc1.s: Rewrite.
18380 * asmsrc2.s: Rewrite.
18381 * configure.in: Create arch.inc symlink.
18382 * configure: Regenerate.
18383 * Makefile.in (distclean): Delete arch.inc.
18385 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18387 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18388 (t_enum_value2): ditto
18389 (t_enum_value3): ditto
18391 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18393 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18394 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18396 Use gdb_test instead of send_gdb/gdb_expect sequences.
18398 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18400 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18403 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18405 * gdb.base/branches.c: Code with lots of loops and
18406 subroutines. Used to test gdbs ability to single step through PC
18407 changes, especially to test mips-tdep.c:mips_next_pc
18409 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18411 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18412 more rigorous EGCS C++ error checking.
18414 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18416 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18418 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18419 function when asleep.
18420 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18421 for i*86 Linux and SVR4 signal handling problems.
18422 Remove linux xfail for `next to handler in signals_tests_1', fixed
18423 by recent infrun.c change.
18424 Limit backtrace to 10 frames to avoid timeout problems with infinite
18426 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18427 target.[ch] change.
18429 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18431 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18432 for a newline from gdb before continuing.
18433 (default_gdb_exit): Just look for y or n.
18434 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18435 it does, fail the rests of the tests in the file.
18437 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18439 * config/cygmon.exp: New file.
18441 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18443 * gdb.base/list.exp: Fix problem with "list default lines around
18444 main" test on remote targets.
18446 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18447 run test on remote targets.
18449 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18451 * gdb.asm: New directory.
18452 * configure.in: Configure it.
18453 * configure: Regenerate.
18454 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18455 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18457 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18459 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18461 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18463 * gdb.base/overlays (several files): Merge the two overlay
18464 managers into one. Change variables (foox, barx, bazx, grbxx)
18465 back into ints but force them to load in their proper sections.
18467 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18469 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18470 on-chip insn memory and IMAP1 to upper 128k.
18471 (D10VCopy): Handle memory regions crossing 16k boundaries.
18472 (D10VCopy): Transfer data in 32 bit chunks.
18474 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18476 * gdb.base/overlays.c (main): Exit normally when result is
18479 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18480 map. Include space for printf in .text segment.
18482 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18483 updated d10v memory VMA/LMA map.
18484 (D10VCopy): Call D10VTranslate.
18486 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18488 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18490 * gdb.base/bar.c (barx, bar): Change variable to small array so
18491 that it won't be put into the .sdata - small data -
18492 section. Update reference.
18493 * gdb.base/baz.c (bazx, baz): Ditto.
18494 * gdb.base/foo.c (foox, foo): Ditto.
18495 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18497 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18500 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18502 * gdb.base/overlays.exp: fix up and get working again.
18503 Add tests for backtraces from an overlay function.
18505 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18507 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18508 "calling function with watchpoint enabled".
18510 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18512 * gdb.base/break.exp (test_next_with_recursion): Remove
18513 gdb_suppress_tests for d10v-*-*.
18514 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18515 pending review of whether it is useful or not.
18517 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18519 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18521 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18523 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18524 * config/dve.exp: New file to support Densan boards.
18526 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18528 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18531 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18533 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18536 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18538 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18540 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18543 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18544 target_sizeof_long and target_bigendian_p.
18545 (structs_by_value, structs_by_reference): Check values according
18546 to targets word size and endianess.
18548 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18550 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18553 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18555 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18556 Update test of set args help to match source change.
18558 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18560 * gdb.base/default.exp: Expect help system output to be in
18561 alphabetical order.
18562 * gdb.base/help.exp: Ditto.
18564 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18566 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18567 "i*86-pc-linux-gnu*".
18568 * gdb.base/interrupt.exp: Ditto.
18569 * gdb.base/corefile.exp: Ditto.
18571 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18572 define vxworks when building the testcase.
18574 * gdb.base/ptype.exp: Fix testnames to be unique.
18575 * gdb.base/radix.exp: Ditto.
18576 * gdb.base/term.exp: Ditto.
18577 * gdb.base/whatis.exp: Ditto.
18578 * gdb.c++/classes.exp: Ditto.
18580 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18582 * gdb.base/callfuncs.exp: Fix indentation.
18584 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18585 suppress_flag has been set.
18586 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18589 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18591 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18594 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18595 set_debug_traps() and breakpoint().
18596 * gdb.c++/misc.cc (main): Ditto.
18597 * gdb.c++/templates.cc (main): Ditto.
18598 * gdb.c++/virtfunc.cc (main): Ditto.
18600 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18602 * lib/gdb.exp(gdb_step_for_stub): New function.
18603 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18604 exists, reload the executable and do a "continue" instead of
18606 (runto_main): Use gdb_step_for_stub.
18608 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18609 tests to have unique names.
18610 * gdb.base/callfuncs.exp: Ditto.
18611 * gdb.base/commands.exp: Ditto.
18612 * gdb.base/default.exp: Ditto.
18613 * gdb.base/help.exp: Ditto.
18614 * gdb.base/list.exp: Ditto.
18615 * gdb.base/opaque.exp: Ditto.
18616 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18619 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18620 * gdb.c++/cplusfuncs.cc: Ditto.
18621 * gdb.c++/virtfunc.cc: Ditto.
18623 * config/monitor.exp: Keep track of the last file we saw, rather
18624 than trying to get the info from gdb.
18626 * gdb.fortran/types.exp: Move comment to previous line.
18628 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18630 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18633 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18636 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18637 string from GDB when it connects.
18639 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18641 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18643 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18644 if we can't get a debug format from GDB (we may be testing an
18645 older GDB). Use a 10 second timeout when checking for the format.
18647 * gdb.stabs/weird.exp: Fix quoting.
18649 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18651 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18653 * config/arm-ice.exp: New file.
18655 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18657 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18658 until it has been modified to work with the new testsuite.
18660 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18661 testcase won't compile, cause all of the testcases in the file to
18664 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18665 (gdb_clear_suppressed): New procedure.
18666 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18667 it contains a positive value.
18669 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18671 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18673 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18675 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18677 * lib/gdb.exp (setup_xfail_format): New function.
18678 (get_debug_format): New function to get debug format.
18679 (debug_format): New global variable to hold last value set
18680 by get_debug_format.
18681 * gdb.base/list.exp: Call get_debug_format and expect some
18682 tests to fail for DWARF 1 and COFF formats.
18683 * gdb.c++/ptype.exp: Ditto.
18684 * gdb.c++/classes.exp: Ditto.
18685 * gdb.c++/cplusfuncs.exp: Ditto.
18686 * gdb.c++/inherit.exp: Ditto.
18687 * gdb.c++/templates.exp: Ditto.
18688 * gdb.c++/virtfunc.exp: Ditto.
18690 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18692 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18693 host doesn't have a currently-open connection.
18695 * config/sparclet.exp: Cleanups and fixes to make it generic for
18696 any gdb stub target. Handle cases where gdb doesn't respond when
18697 interrupted in a sane fashion.
18699 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18700 same thing in a totally different way.
18702 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18704 (gdb_start): We set the global gdb_prompt variable in
18705 default_gdb_init now.
18707 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18709 * gdb.base/printcmds.exp: Fix "check for floating addition"
18710 regexp to accept results within approx +/- .01 of exact value.
18711 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18713 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18715 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18717 (gdb_expect): Add optional timeout parameter, and add timeout
18718 value to various calls.
18719 (gdb_suppress_tests): Only give one warning message per group.
18721 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18723 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18724 global variables. Handle getting a value for $timeout more
18727 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18729 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18731 (default_gdb_init): New procedure; allow gdb_init to be overridden
18732 by a target configuration file.
18733 (gdb_expect): Pass the timeout to remote_expect.
18735 * config/monitor.exp(gdb_load): Fix typo in regexp.
18737 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18739 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18741 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18743 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18744 here. Call gdb_target_exec before rebooting the target, to make
18745 sure the connection to the target is closed.
18746 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18747 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18748 Also detect "Timeout reading from remote" error.
18750 * config/gdbserver.exp: Pass the executable being loaded to
18751 gdb_target_monitor. Don't call gdb_file_cmd here; let
18752 gdb_target_monitor do it.
18754 * gdb.disasm/hppa.exp: Don't use exec_output.
18756 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18758 * gdb.base/list.exp: If we're debugging a non-native target,
18759 try to set the pc register to point to the start of the
18760 program before doing the first list command.
18762 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18763 test_calls after restarting.
18765 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18768 * gdb.base/watchpoint.exp: Fix typo.
18770 * gdb.base/setshow.exp: Check for use_gdb_stub.
18772 * gdb.base/break.exp: Fix continue until exit test for the gdb
18774 * gdb.base/langs.exp: Ditto.
18776 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18777 gdb_load_offset. If we weren't given a file to load, figure out
18778 what the current file is and use it.
18780 * config/i386-bozo.exp: New file.
18782 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18784 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18787 * config/proelf.exp: New entry.
18789 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18791 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18794 * gdb.base/watchpoint.exp: Don't run the test_stepping
18795 tests if gdb can't call functions on the target.
18797 * gdb.base/setshow.exp: Don't run the set prompt tests if
18798 the board has gdb_prompt set.
18800 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18802 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18803 * gdb.base/commands.exp: Likewise.
18804 * gdb.base/setshow.exp: Likewise.
18806 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18808 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18811 * config/i960.exp: New file.
18813 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18815 * gdb.base/funcargs.exp: Check for gdb,short_int target
18816 feature instead of looking for explicit target triplets.
18818 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18820 * gdb.base/printcmds.exp: add a couple more tests a la
18821 "p 123DEADBEEF", to check parse_number.
18822 * top.c: change "to enable to enable" to "to enable" in a couple
18825 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18827 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18830 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18832 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18833 where the test executable is run with explicit args.
18834 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18836 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18838 * gdb.base/run.c: Use FAKEARGV to build test executable that
18839 does not require a command line arg, since most simulators
18840 don't currently support passing such an arg into the simulated
18842 * gdb.base/commands.exp: Change tests to insert the proper
18843 value as the arg to the first recursive factorial call. Change
18844 compilation line to define FAKEARGV at compile time.
18846 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18848 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18849 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18850 function with watchpoint enabled" test.
18852 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18854 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18855 Don't call gdb_test when the command doesn't return to a gdb prompt.
18857 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18858 "Tests restarted" messages.
18860 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18862 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18864 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18866 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18867 for INFO SYMBOL; add help tests for OVERLAY commands.
18868 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18869 add tests for OVERLAY commands
18870 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18871 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18872 * gdb.base/sigall.c: add usestubs code frag
18873 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18875 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18877 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18879 (gdb_stop_suppressing_tests): Note that tests have restarted.
18881 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18883 * config/h8300.exp: New file.
18885 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18887 * gdb.base/setshow.exp: Check for the existence of a
18888 feature, not its value.
18890 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18892 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18894 * gdb.base/scope.exp: It's now init0(), not init().
18896 * gdb.base/scope0.c: For now, change init() to be init0().
18898 * config/monitor.exp: Use gdb_serial in preference to serial
18901 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18902 and it's not already set.
18904 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18906 * gdb.base/setshow.exp: Only test the run command if the target
18907 isn't using a stub and if it supports argument passing.
18909 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18911 * config/udi.exp(gdb_start): Make sure UDICONF is set
18912 properly before starting gdb.
18914 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18916 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18917 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18918 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18920 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18922 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18923 specialized code to reboot the board, use remote_reboot instead.
18925 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18927 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18929 * config/monitor.exp: Make sure we disconnect from the target.
18930 Also, try a reboot/reload cycle instead of failing if the
18933 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18935 * gdb.base/default.exp: Don't set match_max.
18936 * gdb.base/help.exp: Ditto.
18937 * gdb.base/list.exp: Ditto.
18938 * gdb.base/signals.exp: Ditto.
18940 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18941 set, use remote_ld to download the testcase instead of
18944 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18946 * config/vr5000.exp: New file.
18948 * config/monitor.exp(gdb_target_monitor): Add pattern for
18949 "Ending remote" to detect errors in connecting.
18951 * gdb.base/setshow.exp: Add .* within auto language test.
18953 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18956 * config/monitor.exp(gdb_load): Check for a failure when loading,
18957 and reboot the board if necessary.
18959 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18960 a set of tests. Remove print.* from the patterns being checked.
18962 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18964 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18965 refer to gdb_spawn_id.
18967 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18969 * config/sparclet.exp: Ditto.
18970 * config/sparclet-old.exp: Ditto.
18971 * config/slite.exp: Ditto.
18972 * config/sim.exp: Ditto.
18973 * gdb.base/funcargs.exp: Ditto.
18975 * lib/gdb.exp:Remove references to gdb_spawn_id.
18976 (gdb_expect): Move to remote.exp.
18978 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18980 * config/monitor.exp: Detect the "Couldn't establish connection"
18983 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18985 * gdb.base/bitfields.exp: Use runto instead of explicit
18986 gdb_run_cmd/gdb_expect sequences.
18988 * gdb.base/break.exp(text_next_with_recursion): Add match for
18991 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18992 We also need to handle the "A program is being debugged already"
18993 prompt from gdb. Use gdb_test to set the baud rate.
18995 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18996 to 20000. Really. I mean it.
18998 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19000 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19001 fails. If suppress_flag is set, skip perror message about not
19002 being able to send to GDB.
19003 (send_gdb): If suppress_flag is set, don't try to send commands to
19005 (gdb_expect): If suppress_flag is set, always fail immediately.
19006 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19007 (gdb_init): Call gdb_stop_suppressing_tests.
19008 (default_gdb_exit): Ditto.
19009 (default_gdb_start): Ditto.
19011 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19012 gdb_stop_suppressing_tests as appropriate.
19013 * gdb.base/break.exp: Ditto.
19014 * gdb.base/callfuncs.exp: Ditto.
19015 * gdb.base/commands.exp: Ditto.
19016 * gdb.base/exprs.exp: Ditto.
19017 * gdb.base/funcargs.exp: Ditto.
19018 * gdb.base/list.exp: Ditto.
19019 * gdb.base/recurse.exp: Ditto.
19020 * gdb.base/scope.exp: Ditto.
19021 * gdb.base/structs.exp: Ditto.
19022 * gdb.c++/inherit.exp: Ditto.
19024 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19026 * config/vr4300.exp: New file.
19028 * gdb.*/*.exp: Call gdb_expect instead of expect.
19030 * lib/gdb.exp(gdb_expect): New function.
19032 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19034 * lib/gdb.exp(gdb_init): New function.
19036 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19037 for each individual variable set.
19039 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19042 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19044 * gdb.base/scope.exp: Use gdb_test.
19046 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19047 aborting; the testsuite driver will do that for us (see
19048 gdb_finish). Also, use gdb_test in a few more places.
19050 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19052 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19054 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19056 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19057 and "add_tests" are not at the same address.
19059 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19061 * gdb.base/ptype.exp: Use gdb_test.
19063 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19065 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19066 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19067 left in. No longer expect them to fail.
19069 * gdb.stabs/*.mt; Deleted, no longer used.
19070 * gdb.stabs/configure.in: Remove references to target makefile
19072 * gdb.stabs/configure: Rebuilt.
19074 * gdb.disasm/*.mt: Deleted, no longer used.
19075 * gdb.disasm/configure.in: Remove references to target makefile
19076 frags. Use "sh3.s" as the unique filename for this directory.
19077 * gdb.disasm/configure: Rebuilt.
19079 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19080 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19081 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19083 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19085 * config/udi.exp: Use mondfe,name instead of remote_host.
19087 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19089 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19090 a function with a watchpoint enabled on the mn10200.
19092 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19093 before trying to create it!
19095 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19097 * config/vx.exp: Use hostname instead of netport.
19099 * config/vxworks.exp: New file.
19101 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19103 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19104 gdb before assuming everything worked. Send a ^C if a timeout
19107 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19108 $gdb_spawn_id directly.
19109 (gdb_run_cmd): Try _start as well as start. Use the target feature
19110 gdb,start_symbol as the symbol to start from when jumping.
19112 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19114 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19117 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19118 it doesn't lose for 16bit integer systems.
19120 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19122 * gdb.fortran/types.exp: If the target doesn't support "double"
19123 data types, then expect "real" types to only be 4 bytes.
19125 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19126 call tests if the target doesn't support inferior function calls.
19128 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19131 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19133 * gdb.base/help.exp: Disable "help set", "help show", and
19134 "help support". Simplify regexp for "help stack".
19136 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19137 to 60 seconds. Temporarily set match_max to 15000 around the
19138 "info copying" test.
19140 * gdb.base/nodebug.exp: Don't try to do an inferior function
19141 call if the target doesn't support them.
19142 * gdb.base/printcmds.exp: Likewise.
19143 * gdb.base/setvar.exp: Likewise.
19144 * gdb.base/structs.exp: Likewise.
19145 * gdb.c++/templates.exp: Likewise.
19146 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19148 * gdb.base/recurse.exp: Enable for the mn10200.
19150 * configure.in: Do configure gdb.stabs directory for *-*-elf
19152 * configure: Rebuilt.
19154 * gdb.base/break.exp: Check for gdb,noresults before testing
19155 exit status and/or results from the target.
19156 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19157 * lib/gdb.exp: Remove old (now bogus) initialization of
19158 noinferior, noargs, noresults and nosignals.
19160 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19162 * config/sh.exp: New file.
19164 * config/slite.exp: Try to connect multiple times to the board
19165 before rebooting. Only send a "monitor run" if need_monitor_run
19168 * gdb.base/break.exp: Don't do the "stub continue" test if
19169 the target has gdb_stub set.
19171 * gdb.base/callfuncs.exp: Increase the timeout.
19173 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19174 if the target has gdb,noinferiorio set.
19176 * gdb.base/list.exp: Increase match_max to 10000 characters.
19178 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19180 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19183 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19185 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19187 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19188 trying to delete the copy of gdb. Catch the file delete so we
19189 don't die if the delete fails; also, the file should be copied to
19190 the host, not to the build.
19192 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19194 * lib/gdb.exp(gdb_test): Surround the result pattern with
19195 parenthesis in case it contains multiple regexps separated
19198 * gdb.base/watchpoint.exp: Use gdb_test.
19199 * gdb.base/default.exp: Ditto.
19201 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19203 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19205 * gdb.base/scope.exp: Use gdb_test.
19206 * gdb.c++/classes.exp: Ditto.
19207 * gdb.c++/inherit.exp: Ditto.
19209 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19211 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19212 remote_exec instead.
19213 * gdb.base/corefile.exp: Don't be ridiculous.
19214 * gdb.base/*.c: Add missing stub invocations.
19216 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19218 * config/slite.exp: Miscellaneous fixes.
19220 * lib/gdb.exp: Fix runto.
19222 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19225 * gdb.base/watchpoint.exp: Fix regexp.
19227 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19228 close and wait commands, as the descriptor may now be
19229 invalid. Always call "remote_close host".
19231 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19233 Major rewrite for testsuite revision.
19235 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19236 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19237 instead of relying on spawn_id to always contain a valid
19239 (get_compiler_info): New procedure to build the ${binfile}.ci
19240 file, instead of replicating this in N different places.
19241 (gdb_compile): New procedure.
19243 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19244 appropriate arguments) instead of compile. Use gdb_test in a lot
19245 more places. Use send_gdb instead of send. Always run gdb_start
19246 at the start of a testcase, as this is no longer done magically.
19248 config/*-gdb.exp: Rename without the -gdb suffix.
19250 config/mips.exp: Use remote_close instead of exit_remote_shell.
19251 config/monitor.exp: Use target_info instead of looking at
19252 baud, timeout, etc.
19253 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19255 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19257 * gdb.c++/templates.exp (test_ptype_of_templates),
19258 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19259 Update expect patterns for destructors and assignment operators
19260 to match corresponding c-typeprint.c changes.
19261 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19262 to destructor breakpoint test, GDB should be able to set the
19263 destructor breakpoint without specifying arguments.
19265 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19267 * gdb.threads/pthreads.exp: Change result for failure to compile due
19268 to lack of pthreads runtime support from an error to simply an
19269 unsupported test, per dejagnu standards.
19271 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19273 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19274 where GDB exits to reduce pattern match time.
19275 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19277 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19279 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19281 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19282 * gdb.base/default.exp: ditto.
19283 * gdb.base/nodebug.exp: ditto.
19284 * gdb.base/printcmds.exp: ditto.
19285 * gdb.base/ptype.exp: ditto.
19286 * gdb.base/setvar.exp: ditto.
19287 * gdb.base/structs.exp: ditto.
19288 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19290 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19292 * configure, */configure: Rebuild with autoconf 2.12.
19294 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19296 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19297 use new i*86-pc-linux*-gnu quads.
19298 * gdb.base/corefile.exp: Ditto.
19299 * gdb.base/signals.exp: Ditto.
19300 * gdb.base/sigall.exp: Ditto.
19301 * gdb.base/interrupt.exp: Ditto.
19303 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19304 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19307 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19308 linux. This allows the test case to at least compile on latest
19309 linux, but still not run due to missing the threads runtime library.
19311 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19313 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19314 directory to search gdb directory. Accept and step over conditional
19315 stack alignment code. Consume $prompt in failure cases.
19316 Reset timeout to $oldtimeout instead of some arbitrary value.
19317 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19318 timeout problems with infinite stack backtraces.
19319 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19320 Accept function parameters for linkfunc member.
19322 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19324 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19325 (CXXFLAGS): Remove, unreferenced.
19326 (B_OPTIONS): Add for -B options and add code to initialize with
19327 previous -B options and also add -B option to pick up cross compiled
19329 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19330 doing cross compiles.
19331 (target_alias): Declare global.
19332 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19333 to verify that gcc exists in build tree, and if so set CC to that
19334 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19336 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19338 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19339 ptype test for anonymous union. Fixup testcase to match
19340 current gcc debug output.
19342 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19344 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19345 force argument to an unsigned long type.
19347 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19349 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19350 tests and anonymous union print/ptype tests.
19351 * gdb.base/list.exp (test_forward-search): Increase timeout by
19352 5 minutes for the "search extremely long line" case.
19353 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19354 completely optional and that the pass/fail messages use the command as
19355 the message if that third arg is a null string.
19356 (gdb_test_exact): Arrange that a null string pattern means match a
19357 null string output rather than any output, which might include random
19359 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19361 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19362 always failing and failure is now exposed by gdb.exp changes.
19364 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19366 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19367 weren't being noted.
19369 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19371 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19372 * gdb.stabs/weird.exp: Remove v_comb xfails.
19374 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19376 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19377 list.exp scope.exp watchpoint.exp]
19378 Make all timeout error msgs explicitly say "(timeout)".
19380 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19382 * config/monitor.exp: Increase download timeout to 1000 seconds.
19384 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19386 * config/m32r.exp: Increase timeout to 120 seconds.
19388 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19390 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19391 and accept older ordering as obsolescent gcc or gdb.
19392 * gdb.c++/templates.exp: Ditto.
19393 * gdb.c++/virtfunc.exp: Ditto.
19395 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19397 * gdb.base/coremaker.c: Add code to mmap some data so we
19398 can check that it ends up in the core file.
19399 * gdb.base/corefile.exp: Add test to read mmapped data
19402 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19404 * config/m32r.exp: New file.
19406 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19408 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19409 that cflags can contains -gstabs, and work correctly for other tests.
19411 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19413 * gdb.base/setshow.exp: New file, tests show and set.
19414 * gdb.base/setshow.c: New file, tests show and set.
19415 * gdb.base/help.exp: Add test for help set|show annotate.
19416 * gdb.base/default.exp: Add test for set|show annotate.
19418 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19420 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19422 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19425 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19427 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19428 and width commands. This is done elsewhere.
19429 * (gdb_start): Don't call gdb_start_sim here. That's already
19430 done in gdb_load. This fixes lots of failures in default.exp.
19432 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19434 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19435 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19436 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19437 in the same we we treat other failures (since it may be an expected
19438 condition), rather than as an error.
19439 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19442 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19444 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19445 (distclean maintainer-clean realclean): No need to remove files
19446 twice. Nuke the duplicates.
19447 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19448 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19449 Remove config.h along with other config files.
19451 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19453 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19454 "p func1 ()" and note that rests of tests are skipped.
19455 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19456 setup_xfails for "print func2::coremaker_local".
19457 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19458 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19459 affected by the previous run test.
19460 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19461 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19462 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19463 "pass int powerset tuple" and "pass modeless int powerset tuple".
19464 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19465 "real write 4" and "real write 8".
19466 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19467 setup_xfails for "print vs1 after tuple assign 2",
19468 "print \$i after tuple assign 2", and
19469 "print vs2 after tuple assign 2".
19470 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19471 meaningful error message and return -1 so the caller can
19472 suppress further tests and avoid a cascade of errors.
19474 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19476 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19477 format for printing version.
19478 * gdb.base/default.exp: Ditto.
19479 * gdb.base/interrupt.exp: Fix problem with cascade of
19480 errors if child process dies while calling a function.
19482 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19484 * Makefile.in (VPATH): Add
19485 * Makefile.in (Makefile, config.status): Fix rules so things get
19486 remade when necessary.
19488 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19490 * Makefile.in (just-check): Add path to sibling expect dir
19491 to environment variable specified by RPATH_ENVVAR.
19493 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19495 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19496 (just-check): Add shared library paths for libstdc++, tk,
19497 tcl, bfd, and opcodes to the environment variable specified
19499 * configure.in: Add support to recognize --enable-shared flag
19500 and generate correct value for RPATH_ENVVAR.
19501 * configure: Regenerated with autoconf.
19503 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19505 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19506 include all osf versions.
19507 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19508 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19509 when target is linux. When failing to build pthreads test
19510 executable, give more meaningful message.
19511 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19512 arg for pthread_create.
19514 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19516 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19517 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19518 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19519 and -lpthreads (everybody else).
19520 (test_startup): Fail gracefully if threads are not supported.
19521 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19522 "p/c array_index("abcdef",2)" when not gcc compiled.
19523 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19524 "print func2::coremaker_local" when not gcc compiled.
19525 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19526 "ptype on opaque struct tagname (statically)",
19527 "ptype on opaque struct tagname (dynamically) 1", and
19528 "ptype on opaque struct tagname (dynamically) 2"
19529 for not compiled with gcc.
19530 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19531 backtrace when compiled with gcc.
19532 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19533 than always return success.
19535 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19537 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19539 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19541 * gdb.base/structs.exp: Undo last change.
19543 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19545 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19546 encapsulate all the steps/nexts done during self test, starting
19547 at main, and makes them less sensitive to optimization issues.
19548 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19549 signal handler" test.
19550 * gdb.threads/pthreads.exp: Only run this for native configs.
19551 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19552 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19554 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19555 for "runto test_calls(void)" test.
19557 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19559 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19560 and don't expect address info in breakpoint confirmations.
19562 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19564 * gdb.base/list.exp (test_forward_search): Increase timeout
19565 temporarily by 60 seconds for searching extremely long line,
19566 and then reset to old value when done. Increase expect input
19569 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19571 * gdb.base/list.exp (test_forward_search): Fix to handle very
19572 long source line without overflowing expect's input buffer.
19574 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19576 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19579 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19582 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19585 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19588 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19590 * configure.in (configdirs): Add gdb.threads.
19591 * configure: Regenerated with autoconf.
19592 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19593 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19594 * gdb.threads/configure: New, generated with autoconf.
19596 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19598 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19600 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19602 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19603 each signal's status in the output of "handle all print".
19604 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19605 the \r\n sequence that immediately precedes the gdb prompt.
19606 * gdb.base/a1-selftest.exp: Save original timeout and restore
19609 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19611 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19614 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19616 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19618 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19620 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19621 timeout by 60 seconds.
19623 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19625 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19626 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19629 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19631 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19632 gdb initialization, also report how long dejagnu waited. Restore
19633 old timeout before doing error return. Temporarily increase timeout
19634 by 3 minutes to allow for slow startups over heavy NFS use.
19636 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19638 * lib/gdb.exp: Report timeout value for verbosity level 2.
19639 * config/gdbserver.exp: Ditto.
19640 * config/hppro.exp: Ditto.
19641 * config/mips-gdb.exp: Ditto.
19642 * config/monitor.exp: Ditto.
19643 * config/netware.exp: Ditto.
19644 * config/sim-gdb.exp: Ditto.
19645 * config/slite-gdb.exp: Ditto.
19646 * config/udi-gdb.exp: Ditto.
19647 * config/unix-gdb.exp: Ditto.
19648 * config/vx-gdb.exp: Ditto.
19649 * gdb.base/a1-selftest.exp: Ditto.
19650 * gdb.base/a2-run.exp: Ditto.
19651 * gdb.base/break.exp: Ditto.
19652 * gdb.base/corefile.exp: Ditto.
19653 * gdb.base/list.exp: Ditto.
19654 * gdb.base/recurse.exp: Ditto.
19655 * gdb.base/scope.exp: Ditto.
19656 * gdb.base/signals.exp: Ditto.
19658 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19660 * gdb.threads/Makefile.in (docdir): Removed.
19662 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19664 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19665 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19667 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19668 autoconf 2.5 or higher.
19669 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19671 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19673 * configure: Regenerated.
19674 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19675 avoid name clashes with SunOS headers.
19677 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19679 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19681 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19683 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19684 prototype information ends up in the compiler info file.
19686 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19688 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19689 attempting to regenerate it. Eliminate use of a temporary file
19690 and just generate the info file directly. Source it immediately,
19691 for consistency of use.
19692 * gdb.base/corefile.exp: Ditto
19693 * gdb.base/exprs.exp: Ditto.
19694 * gdb.base/funcargs.exp: Ditto.
19695 * gdb.base/langs.exp: Ditto.
19696 * gdb.base/list.exp: Ditto.
19697 * gdb.base/mips_pro.exp: Ditto.
19698 * gdb.base/nodebug.exp: Ditto.
19699 * gdb.base/opaque.exp: Ditto.
19700 * gdb.base/ptype.exp: Ditto.
19701 * gdb.base/scope.exp: Ditto.
19702 * gdb.base/setvar.exp: Ditto.
19703 * gdb.base/signals.exp: Ditto.
19704 * gdb.base/whatis.exp: Ditto.
19705 * gdb.c++/templates.exp: Ditto.
19706 * gdb.c++/virtfunc.exp: Ditto.
19707 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19708 whether or not to add -lstdc++ to the compile command line args.
19710 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19712 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19713 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19714 Increase timeout, a lot of single stepping might be needed if the
19715 target has no hardware watchpoints.
19717 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19719 * gdb.base/break.exp: Ignore compiler warnings when compiling
19721 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19722 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19724 * gdb.base/exprs.exp: Add h8300 xfails.
19725 * gdb.base/funcargs.exp: Likewise.
19726 * gdb.base/nodebug.exp: Likewise.
19727 * gdb.base/printcmds.exp: Likewise.
19728 * gdb.base/ptype.exp: Likewise.
19729 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19731 * gdb.base/return.exp: Handle float/double precision problems
19733 * gdb.base/funcargs.c: Explicitly make last constant argument to
19734 call_after_alloca_subr an unsigned long type.
19735 * gdb.base/return.c: Include stdio.h.
19737 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19739 * config/abug.exp: New file for the older Motorola Bug monitor
19740 that runs on the mvme13x series VME boards.
19741 * config/monitor.exp: Use the new config array for target settings
19744 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19746 * sim-gdb.exp: Make the SH simulator allocate less space when
19749 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19751 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19754 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19756 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19757 "rs6000-*-*" for "list function in include file" when gcc compiled.
19758 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19759 for "p ctable1[120]".
19760 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19761 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19762 Remove setup_xfail for "rs6000-*-*" for
19763 "print 'scope0.c'::filelocal before run".
19764 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19765 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19766 since some compilers don't allow both options to be given
19767 on the same command line. Create object file and move it.
19769 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19771 * gdb.base/corefile.exp: Always regenerate the core file, since
19772 we always regenerate the coremaker program. Detect special case
19773 where registers cannot be read from core file.
19775 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19777 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19778 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19779 * gdb.c++/templates.exp: Only match on basename of file since
19780 some formats like xcoff don't encode directory information.
19781 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19782 and rs6000 AIX xcoff targets.
19783 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19784 * configure: Regenerate.
19785 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19786 here, rather than in distclean.
19788 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19790 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19791 defined, and use it to compile the test case with -O2. The
19792 native compilation still uses no optimization.
19793 * gdb.base/mips_pro.c: Remove inline assembly code since
19794 it is compiled PIC by default, which results in assembler
19795 warnings that make the testsuite think the compilation
19798 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19800 * gdb.c++/misc.exp: Add note to message for
19801 "print s.a for foo struct" that this is a known gcc 2.7.2
19804 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19806 * gdb.base/break.exp: Fix pattern for matching "Delete all
19807 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19808 setup_xfail for deleting all breakpoints test. Fix various
19809 timeout messages to include "(timeout)".
19810 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19811 for "p t_float_values2(3.14159,float_val2)".
19812 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19813 for "continue to call2g" when gcc compiled.
19814 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19815 "up to foo in langs.exp", "show language at foo in langs.exp",
19816 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19817 and "show language at fsub in langs.exp".
19818 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19819 "list line 1 in include file", "list message for lines past EOF",
19820 "list function in include file", "list list0.h:foo", and
19821 "list filename:function; nonexistant function".
19822 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19823 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19824 and "ptype t_char_array" to be for native cc only.
19826 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19828 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19829 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19830 "print func2::coremaker_local", and "backtrace in corefile.exp".
19832 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19834 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19835 "bt in signals.exp". This problem only appears when running
19836 the testsuite, and then only intermittently.
19838 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19840 * gdb.base/return.exp (return_tests): Differentiate between
19841 two tests of continuing.
19843 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19845 * */Makefile.in (maintainer-clean): Remove config.log.
19846 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19847 * gdb.c++/Makefile.in (PROGS): Add inherit.
19848 (clean): Remove *.ci.
19850 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19852 * gdb.c++/misc.cc: Add test code from Mike Stump.
19853 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19855 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19857 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19858 to "alpha-*-osf2*" and add comment.
19859 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19860 setup_xfail for "step over execarg initialization" and
19861 "step over corearg initialization".
19862 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19863 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19864 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19865 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19866 "print func2::coremaker_local", and "backtrace in corefile.exp".
19867 * gdb.base/signals.exp: Build and source signals.ci.
19868 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19869 to be for gcc only.
19870 * lib/gdb.exp: Move verbose statements outside conditionals.
19872 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19874 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19875 Feb 3 procfs.c change.
19877 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19879 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19881 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19883 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19884 from dejagnu's apparent default of 10 seconds, which gives random
19885 results when running the tests over NFS on moderately loaded systems.
19886 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19888 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19890 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19891 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19894 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19896 * configure.in (CY_AC_PATH_TCLH): Remove.
19897 * configure: Regenerate.
19899 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19901 * gdb.c++/Makefile.in (clean): Add missing '{'.
19903 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19905 * lib/gdb.exp: Provide a default value for noinferior.
19907 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19910 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19912 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19913 the executable, not the .o to run the tests from.
19915 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19917 * gdb.base/break.exp: Don't test for program exit or exit status
19918 if $noresults if nonzero.
19919 * gdb.base/langs.exp: Likewise.
19920 * gdb.base/watchpoint.exp: Likewise.
19922 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19923 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19924 trying to compile the testcase.
19926 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19928 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19929 * gdb.base/signals.exp (continue to handler): Likewise.
19931 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19933 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19935 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19937 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19939 * gdb.base/corefile.exp: Recognize "not found" as failure
19940 when trying to determine if a core file was generated.
19941 If no core file was generate the first time, try again without
19942 the ulimit -c to work around braindamaged shells.
19944 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19946 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19947 [] tests with "test" and enclose string in quotes.
19948 * gdb.stabs/configure: Rebuild
19950 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19952 Changes in sync with expect:
19953 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19954 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19955 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19956 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19957 argument to AC_REQUIRE.
19958 * configure: Regenerated.
19960 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19962 * gdb.base/corefile.exp: When generating a core, discard any
19963 error messages about ulimit not found and the "core dumped"
19964 message from the shell that runs the coredumper.
19966 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19968 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19970 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19971 which sed script to run. Expect failure for v_comb test
19974 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19976 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19977 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19979 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19981 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19982 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19983 "sparc-sun-solaris*" xfails for "p v_comb".
19984 * lib/gdb.exp (default_gdb_start): Fix typo.
19985 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19986 messages to not include the full program name that caused
19987 the core dump since some systems (such as solaris) apparently
19988 truncate this path to about 80 characters.
19989 When generating a core file first try increasing the core file
19990 size limit to unlimited since some systems may default it to
19991 zero, and it is harmless to try it. Move the test for failing
19992 to generate a core file to where it will actually get executed.
19993 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19994 new gdb result from g++ debug info improvements and make old
19995 pattern obsolescent. Also account for size_t differences
19996 (may be int or long).
19997 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19998 initialization before function call is placed in the delay slot
19999 and thus appears to be skipped over by commands such as "next".
20001 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20003 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20005 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20007 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20008 input source file; fix code to compile test to deal with this
20010 * gdb.c++/*.exp: Likewise.
20012 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20014 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20015 "bt in signals.exp".
20017 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20019 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20020 "step over execarg initialization" and
20021 "step over corearg initialization".
20023 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20025 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20026 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20028 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20030 From Rob Savoye (rob@poseidon.cygnus.com)
20031 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20032 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20033 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20034 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20035 configure.in}: Major reworking for autoconfig.
20036 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20037 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20039 * config/unix-gdb.exp: Make GDB global.
20040 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20041 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20042 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20043 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20044 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20045 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20046 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20047 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20048 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20049 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20050 pr-8136.exp, result.exp, string.exp, tuples.exp},
20051 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20052 to returns as necessary, arrange for test to compile own testcase
20054 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20056 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20058 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20059 clear_xfail at end of test which might not call either pass or fail.
20060 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20061 "backtrace through signal handler".
20063 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20065 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20066 continuing from a job control stop signal.
20067 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20069 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20071 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20072 * gdb.base/corefile.exp: Likewise.
20073 * gdb.base/funcargs.exp: Likewise.
20075 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20077 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20078 * config/monitor.exp: Add support for setting baud rate.
20080 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20082 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20083 i*86-*-linux* xfails for "backtrace through signal handler".
20084 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20085 "print func2::coremaker_local".
20086 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20087 alpha-dec-osf2* xfail for
20088 "delete all breakpoints when none".
20090 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20092 * gdb.base/break.exp: Change test that deletes all breakpoints
20093 when no user breakpoints are installed. A post 4.15 change
20094 causes gdb to no longer prompt in this case.
20096 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20098 * gdb.base/return.exp (return_tests): Change xfail for test
20099 "correct value returned double test" to stop xfailing at
20100 Solaris 2.5. Apparently the bug has been fixed.
20102 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20104 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20105 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20107 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20109 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20110 * gdb.disasm/hppa.s: Corresponding changes.
20112 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20114 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20116 * config/mt-hpux: Deleted.
20118 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20120 * Many files: When warning about suppressed tests due to a
20121 nonexistant test binary, avoid incrementing the warning count.
20123 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20125 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20127 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20129 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20130 "sparc-*-solaris2*".
20132 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20134 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20135 Add global and local variables and initialize them.
20136 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20137 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20138 extracts the file name and terminating signal from the core file.
20139 * TODO: Remove note about tests for correct mapping of corefile.
20140 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20141 from optimizing it away.
20142 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20143 handles common blocks.
20145 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20147 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20148 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20150 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20152 * Makefile.in (maintainer-clean): New target, synonym for
20154 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20155 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20156 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20157 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20158 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20159 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20161 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20163 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20164 xfails when not gcc compiled for "print foo::funclocal".
20165 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20166 "print foo::funclocal at foo",
20167 "print 'scope1.c'::foo::funclocal at foo",
20168 "print foo::funclocal_bss at foo",
20169 "print 'scope1.c'::foo::funclocal_bss at foo",
20170 "print foo::funclocal_ro at foo",
20171 "print 'scope1.c'::foo::funclocal_ro at foo",
20172 "print bar::funclocal at foo" and
20173 "print 'scope1.c'::bar::funclocal at foo".
20174 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20175 gcc compiled for "print foo::funclocal at bar".
20176 Expand all messages to ensure that they identify that
20177 the test is at bar().
20178 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20180 "ptype on opaque struct pointer (statically)",
20181 "ptype on opaque struct tagname (statically)",
20182 "ptype on opaque struct pointer (dynamically) 1",
20183 "ptype on opaque struct tagname (dynamically) 1",
20184 "ptype on opaque struct pointer (dynamically) 2" and
20185 "ptype on opaque struct tagname (dynamically) 2
20186 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20189 "whatis datalocal",
20192 "whatis bsslocal", and
20194 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20195 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20196 when not gcc compiled.
20197 * gdb.base/funcargs.exp (float_and_integral_args): Add
20198 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20200 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20201 "backtrace from call6a" when not gcc compiled.
20202 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20203 "backtrace from call7a" when not gcc compiled.
20204 * gdb.base/callfuncs.exp (do_function_calls):
20205 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20206 "p t_char_array_values(char_array_val2,char_array_val1)",
20207 "p t_char_array_values(char_array_val1,char_array_val2)",
20208 "p t_char_array_values("carray 1","carray 2")",
20209 "p t_char_array_values("carray 1",char_array_val2)",
20210 "p t_char_array_values(char_array_val1,"carray 2")",
20211 "p sum_args(1,{2})",
20212 "p sum_args(2,{2,3})",
20213 "p sum_args(3,{2,3,4})",
20214 "p sum_args(4,{2,3,4,5})"
20215 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20216 "backtrace in corefile.exp" when not gcc compiled.
20218 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20220 * gdb.base/signals.exp: Rewrite `handle all print' test as
20221 a procedure. Accept blanks or TABs as whitespace, increase
20222 timeout and expect input buffer size for the large output
20223 from the command. Remove "i*86-*-bsdi2.0" xfail.
20225 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20227 * gdb.base/setvar.exp: Add new testcases for truncation when
20228 assigning invalid values to bitfields.
20230 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20232 * gdb.base/callfuncs.exp (do_function_calls): Remove
20233 mips-sgi-irix* xfail for
20234 "call inferior func with struct - returns char *"
20235 and fix test so that an optional (unsigned char *) cast is
20236 accepted in the result.
20238 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20240 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20241 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20242 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20243 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20244 that accidentally got checked in.
20246 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20248 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20249 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20251 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20252 Add mips-sgi-irix5* xfail for not gcc compiled.
20253 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20254 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20255 "p top", "whatis top", "p middle", and "whatis middle".
20256 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20257 "whatis signed char" for not gcc compiled.
20258 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20259 "set variable signed char=-1 (-1)" and
20260 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20261 * gdb.base/funcargs.exp (float_and_integral_args):
20262 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20263 Add mips-sgi-irix* xfail when not gcc compiled for
20264 "continue to call2b".
20265 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20266 "continue to call2g".
20267 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20268 "backtrace from call6a"
20269 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20270 "backtrace from call7k".
20271 Add mips-sgi-irix5* xfail when not gcc compiled for
20272 "backtrace from call7a".
20273 (localvars_after_alloca): Fix gdb_test cmds for
20274 "print * after runto ...".
20275 Remove rs6000-*-* xfails for
20276 "print i after runto localvars_after_alloca" and
20277 "print l after runto localvars_after_alloca"
20279 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20280 when not compiled with gcc, for:
20281 "print signed char == (minus)",
20282 "print signed char != (minus)",
20283 "print signed char < (minus)",
20284 "print signed char > (minus)".
20285 * gdb.base/callfuncs.exp (do_function_calls):
20286 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20287 "call inferior func with struct - returns char *".
20288 * gdb.base/return.exp (return_tests): Change xfail for
20289 "correct value returned double test" to include Solaris 2.4.
20290 * gdb.base/funcargs.exp (float_and_integral_args):
20291 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20293 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20295 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20296 enumeration bitfields if compiling with GNU C.
20297 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20300 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20302 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20303 test for PRO targets.
20305 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20306 breakpoints in the inferior at any given time by making
20307 two groups of breakpoints for call2*, call6* and call7*
20310 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20312 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20313 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20314 from optimizing it away.
20315 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20316 "call inferior func with struct".
20318 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20320 * configure.in: Only configure gdb.chill for particular targets.
20322 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20324 * gdb.base/Makefile.in: Add action to .c.o transformation
20325 rule that generates a .ci file for each .o file and remove
20326 explicit .c.o rules except for callfuncs.o.
20327 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20328 generates a .ci file for each .o file and remove explicit
20330 (clean): Remove *.tmp *.ci files.
20331 (EXECUTABLES): Remove templ-info.exp.
20332 * gdb.base/compiler.c: New file.
20333 * gdb.c++/compiler.cc: New file
20334 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20335 Change rs6000-*-* xfail for
20336 "print 'scope0.c'::filelocal_ro" and
20337 "print 'scope1.c'::filelocal" and
20338 "print 'scope1.c'::filelocal_bss" and
20339 "print 'scope1.c'::filelocal_ro" and
20340 "print 'scope1.c'::foo::funclocal" and
20341 "print 'scope1.c'::foo::funclocal_ro" and
20342 "print 'scope1.c'::bar::funclocal" and
20343 "print 'scope0.c'::filelocal_ro" and
20344 "print 'scope1.c'::filelocal at foo" and
20345 "print 'scope1.c'::filelocal_bss at foo" and
20346 "print 'scope1.c'::filelocal_ro at foo" and
20347 "print 'scope1.c'::foo::funclocal at foo" and
20348 "print 'scope1.c'::foo::funclocal_bss at foo" and
20349 "print 'scope1.c'::foo::funclocal_ro at foo" and
20350 "print 'scope1.c'::bar::funclocal at foo" and
20351 "print 'scope0.c'::filelocal_ro" and
20352 "print 'scope1.c'::filelocal" and
20353 "print 'scope1.c'::filelocal_bss" and
20354 "print 'scope1.c'::filelocal_ro" and
20355 "print 'scope1.c'::foo::funclocal" and
20356 "print 'scope1.c'::foo::funclocal_bss" and
20357 "print 'scope1.c'::foo::funclocal_ro" and
20358 "print 'scope1.c'::bar::funclocal" and
20359 "print 'scope1.c'::bar::funclocal_bss"
20360 to only be xfail'd when not compiled with gcc.
20361 Add rs6000-*-* xfail for
20362 "print 'scope0.c'::filelocal_bss before run"
20363 when compiled with gcc.
20364 (test_at_main): Add rs6000-*-* xfail for
20365 "print filelocal_ro in test_at_main"
20366 when compiled with gcc.
20367 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20368 Add rs6000-*-aix* xfail for
20369 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20370 "ptype t_char_array", not compiled with gcc.
20371 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20372 xfail for "list foo (in include file)" when gcc compiled.
20373 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20374 (integral_args): Add rs6000-*-* xfail for
20375 "run to call0a" if not compiled with gcc.
20376 (unsigned_integral_args): Add rs6000-*-* xfail for
20377 "run to call1a" if not compiled with gcc.
20378 (float_and_integral_args): Add rs6000-*-* xfail for
20379 "run to call2a" if not compiled with gcc and for
20380 "continue to call2b" for any compiler.
20381 Add rs6000-*-* xfail to
20382 "print f1 after run to call2a" for gcc compiled.
20383 (discard_and_shuffle): Add rs6000-*-* xfail for
20385 (shuffle_round_robin): Add rs6000-*-* xfail for
20386 "backtrace from call7a" if not compiled with gcc.
20387 Add rs6000-*-* xfail for
20388 "backtrace from call7b" if compiled with gcc.
20389 (call_after_alloca): Add rs6000-*-* xfail for
20390 "print c in call_after_alloca" and
20391 "print s in call_after_alloca" and
20392 "backtrace from call_after_alloca_subr"
20393 if not compiled with gcc.
20394 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20395 "print c in localvars_in_indirect_call" and
20396 "print c in localvars_in_indirect_call" and
20397 "backtrace in indirectly called function" and
20398 "stepping into indirectly called function"
20399 if not compiled with gcc.
20400 (localvars_after_alloca): Add rs6000-*-* xfail for
20401 "print c after runto localvars_after_alloca" and
20402 "print s after runto localvars_after_alloca" and
20403 "print i after runto localvars_after_alloca" and
20404 "print l after runto localvars_after_alloca"
20406 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20407 than whatis-info.exp.
20408 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20409 than opaque-info.exp.
20410 Setup rs6000-*-* xfail for
20411 "ptype on opaque struct pointer (statically)" and
20412 "ptype on opaque struct pointer (dynamically)" when
20413 not compiled with gcc.
20414 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20415 rather than callf-info.exp.
20416 (do_function_calls): Add clear_xfail for rs6000-*-* for
20417 "p t_float_values2(3.14159,float_val2)". Seems to work
20418 fine there, both with xlc and gcc. Need to find out what
20419 it is doing right and fix other platforms.
20420 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20421 "call inferior func with struct - returns int",
20422 "call inferior func with struct - returns long",
20423 "call inferior func with struct - returns float",
20424 "call inferior func with struct - returns double",
20425 "call inferior func with struct - returns char *",
20426 but only if not gcc compiled (presumes xlc compiled).
20427 Change rs6000-*-* xfails for
20428 "call inferior func with struct - returns char" and
20429 " call inferior func with struct - returns short" to only
20430 xfail if not using gcc.
20431 (clean mostlyclean): Remove *.ci and *.tmp files.
20432 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20433 than templ-info.exp.
20434 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20435 Add rs6000-*-* xfail for "up to foo in langs.exp"
20436 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20437 when not gcc compiled.
20439 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20441 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20442 * gdb.base/corefile.exp: Likewise.
20443 * gdb.base/list.exp: Likewise.
20444 * gdb.base/scope.exp: Likewise.
20445 * gdb.base/siganls.exp: Likewise.
20447 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20449 * gdb.base/whatis.exp: Likewise.
20451 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20453 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20454 failure (opcode table has been fixed to match reality).
20456 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20458 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20459 "call inferior func with struct - returns char",
20460 "call inferior func with struct - returns short"
20462 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20463 "print 'scope0.c'::filelocal at main",
20464 "print 'scope0.c'::filelocal_bss in test_at_main",
20465 "print 'scope0.c'::filelocal at foo",
20466 "print 'scope0.c'::filelocal_bss in test_at_foo",
20467 "print 'scope0.c'::filelocal at bar",
20468 "print 'scope0.c'::filelocal_bss in test_at_bar"
20470 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20471 in source file 1". This bug seems to have been fixed with both
20472 gcc and native cc (was native assembler bug?).
20474 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20476 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20477 "backtrace through signal handler" to "i*86-*-sysv4*".
20478 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20479 continue" case. Add "known SVR4 bug" to fail message.
20480 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20481 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20482 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20483 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20484 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20485 "up to foo in langs.exp", "show language at foo in
20486 langs.exp", "up to cppsub_ in langs.exp", "show
20487 language at cppsub_ in langs.exp", "up to fsub in
20488 langs.exp", and "show language at fsub in langs.exp".
20489 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20490 "bactrace in corefile.exp".
20491 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20492 "call inferior function with struct - returns float" and
20493 "call inferior function with struct - returns double".
20495 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20497 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20498 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20499 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20500 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20502 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20504 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20505 (or overriden) "CHILL" macro rather then bare "gcc".
20506 Also look for ../../gcc/xgcc since that is what we will
20507 actually need, not "Makefile". Remove following assignment
20508 of CHILL to CHILL_FOR_TARGET because that results in
20509 recursive definition.
20511 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20513 * gdb.base/corefile.exp: Change xfail for backtrace in
20514 corefile.exp from linuxaout to all linux.
20515 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20516 cases where we miss the breakpoint at the signal handler
20517 for some reason. Setup xfail for linuxoldld/linuxaout and
20518 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20519 hitting SIGURG breakpoint.
20520 * gdb.base/signals.exp: Setup xfail for "next" acting like
20521 continue to add linuxoldld. Setup xfail for all linux for
20522 "next to handler in signals_tests_1", "backtrace in
20523 signals_tests_1", "continue to func1", "pass SIGUSR1",
20524 and continue to handler".
20526 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20528 * Update all FSF addresses except those in COPYING* files.
20530 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20532 * gdb.base/a2-run.exp: Change messages to be more explicit about
20533 the status of args, and quote binfile in results.
20535 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20537 * gdb.base/callfuncs.exp: Add tests for passing structs to
20538 inferior functions and return various types.
20539 * gdb.base/callfuncs.c: Add functions to receive a struct
20540 and return a member of the struct, in various types.
20542 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20544 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20546 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20548 * config/vxworks29k.exp: New file, sources vxworks.exp.
20550 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20552 * config/gdbremote.exp: New file. Testing framework using
20555 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20557 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20558 "call function when asleep" and "send end of file".
20559 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20560 for "backtrace in corefile.exp".
20561 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20562 for "backtrace through signal handler".
20563 * gdb.base/corefile.exp: Make sure we actually generate a core file
20564 before trying the core tests. Some systems allow the user to suppress
20565 generation of core files and default to that (linux for example).
20566 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20567 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20569 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20571 * gdb.threads: New directory with some crude multi-threaded
20572 gdb tests (step.exp and step2.exp).
20573 * config/mt-lynx (STEP_EXECUTABLE): Define.
20574 (THREADFLAGS): Define.
20576 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20578 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20580 * gdb.base/signals.exp: Disable whole file for lynx until
20583 * gdb.base/signals.exp: xfail test where "next" acts like
20584 "continue" for lynx.
20586 * gdb.base/interrupt.exp: xfail test for calling function while
20587 inferior is asleep for lynx.
20589 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20590 than one cr-lf after each command.
20592 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20594 * configure.in: Reinstate setting of stabsdirs variable, fix
20595 typo in setting up configdirs for native builds.
20597 * gdb.base/return.exp: Fix typo in return double test.
20598 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20599 compiler from optimizing them away.
20601 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20603 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20604 sequences to be echo'd by gdb when using gdb_test.
20605 * gdb.chill/chexp.exp: Likewise.
20606 * gdb.fortran/exprs.exp: Likewise
20608 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20610 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20611 after the inferior gdb has started.
20613 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20614 after each command.
20615 * gdb.base/funcargs.exp: Likewise.
20616 * gdb.base/gdbvars.exp: Likewise.
20617 * gdb.base/interrupt.exp: Likewise.
20618 * gdb.base/list.exp: Likewise.
20619 * gdb.base/watchpoint.exp: Likewise.
20620 * gdb.c++/demangle.exp: Likewise.
20621 * gdb.c++/inherit.exp: Likewise.
20622 * gdb.chill/chexp.exp: Likewise.
20623 * gdb.fortran/exprs.exp: Likewise.
20625 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20626 test if we can't handle IO to/from the inferior.
20628 * gdb.c++/misc.exp: Always check for a program already being
20629 started after sending a "run" command to gdb.
20631 * gdb.base/twice.exp: Start with a fresh gdb.
20633 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20634 only depend on gdb's expression code, not the chill runtime.
20636 * gdb.base/return.c: Put return values into variables so we
20637 can have gdb print them rather than depending on the program
20639 * gdb.base/return.exp: Corresponding changes.
20641 * lib/gdb.exp: Provide default value for noinferiorio.
20642 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20645 * gdb.base/break.exp: Always check for a program already being
20646 started after sending a "run" command to gdb.
20647 (text_next_with_recursion): Don't check the output from the
20648 program's printf statement. Instead just make sure the program
20651 * gdb.base/commands.exp: Protect tests which need arguments with
20652 $noargs conditionals.
20654 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20656 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20657 of structure member arrays to match gdb/valops.c:value_addr change.
20659 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20661 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20664 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20666 * configure.in (configdirs): Remove gdb.chill from default list
20667 of subdirs and then add it back in only if doing a native build.
20668 The current chill compiler does not yet work in any cross build.
20669 * Revert all signal changes from Jul 6.
20670 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20671 for sh-hms targets, allowing these tests to link, with no other
20672 changes. Testing is suppressed by setting "nosignals" in site.exp.
20674 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20676 * configure.in (signaldirs): Define and add to configdirs for all
20677 targets except some specific ones that are known to not support signals.
20678 Also clean up formatting.
20679 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20680 (signals, sigall): Remove rules to build.
20681 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20682 Moved to new gdb.signals directory.
20683 * gdb.signals: New test directory.
20684 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20685 signals.c signals.exp}: New or moved files.
20687 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20689 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20691 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20693 * gdb.base/return.exp: Xfail `return double' test failure
20694 on at least Solaris 2.3 and handle future/past versions on
20695 a case by case basis as appropriate. Also update message
20696 to include i*86 failures.
20698 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20700 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20702 * lib/gdb.exp: Fix comment which erroneously identified
20703 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20704 gdb_file_cmd not gdb_load).
20705 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20707 * gdb.base/setvar.exp: Make test names consistent between pass and
20708 fail cases. Use gdb_test more.
20710 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20712 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20714 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20716 * gdb.base/help.exp: Fix expected help string for `show commands'.
20718 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20720 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20722 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20725 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20727 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20728 that loop eventually terminates. Fix Connection refused logic so
20729 that testsuite will expire nicely.
20731 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20733 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20734 config/rom68k.exp: New tcl glue for the appropriate monitors.
20735 These all just end up calling monitor.exp.
20736 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20737 refused' by retrying. Cleanup some timeout issues.
20738 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20739 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20740 callers don't have to set/restore global timeout variable.
20742 * The following set of changes centralizes management of the global
20743 timeout variable. This way, it can be set in one target dependent
20744 place instead of dozens of places scattered throughout the test suite.
20745 If you need to lengthen a timeout, then you should either set timeout
20746 in one of the config/{target}.exp files, or multiply it by a factor.
20747 Setting it to an absolute value is always going to lose for some
20749 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20750 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20751 * gdb.base/funcargs.exp: Don't set timeout.
20752 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20753 * gdb.base/printcmds.exp (test_print_string_constants
20754 test_print_array_constants): Don't set timeout.
20755 * gdb.base/ptype.exp: Don't set timeout.
20756 * gdb.base/recurse.exp: Don't set timeout.
20757 * gdb.base/return.exp: Don't set timeout.
20758 * gdb.base/watchpoint.exp: Don't set timeout.
20759 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20760 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20762 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20764 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20766 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20768 * lib/gdb.exp: Disable chill tests for irix5.
20770 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20772 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20773 each test pass or fail.
20775 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20777 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20780 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20782 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20784 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20786 * config/est.exp: Fix copyright and comments. Remove dead code.
20787 Use targetname, serialport and baud variables instead of fixed
20789 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20790 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20792 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20794 * gdb.base/watchpoint.exp: Don't run
20795 test_watchpoint_triggered_in_syscall for sunos.
20797 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20799 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20800 they don't seem to exist. Do include stdio.h.
20802 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20804 * gdb.base/a1-selftest.exp: Add alpha xfail.
20806 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20808 * gdb.base/watchpoint.c (main): Prompt before calling read().
20809 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20810 Revise accordingly. Remove cruft about sending "123" several
20811 times, until it gets noticed. Clean up the "print buf[0]" stuff
20812 so that it passes or fails, and waits for prompts in the usual way.
20814 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20816 * gdb.base/recurse.exp: Fix comment.
20818 * TODO: Remove item about printing variables in nodebug.exp. Add
20819 item about enabling tests which are only run on some targets.
20821 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20822 fail, make test names unique, use new gdb_test convention
20823 regarding pattern, use gdb_test more, etc.).
20825 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20826 fail, make test names unique, etc.).
20828 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20830 * gdb.base/nodebug.c: Change return type of top and middle to
20832 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20833 are fixed by the recent mdebugread.c changes. Allow `short ()'
20834 as type for top and middle.
20836 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20838 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20839 nearly as I can tell, the whole thing was an accident in Stu's
20840 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20841 to replace a send/expect pair with gdb_test, but ended up only
20842 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20843 of 30 Mar 1995 took care of it, but left this vestigial comment
20844 which I am now nuking.
20846 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20848 * gdb.base/break.exp: Look for different line number for
20849 breakpoint at main depending on usestubs.
20851 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20853 * gdb.base/list.exp: Adjust some alternate expect patterns to
20854 match recent list0.c change. Add alternate expect pattern for
20855 output from `list default lines around main' for optimizing
20858 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20860 * lib/gdb.exp: If nosignals is not set, set it to 0.
20862 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20864 * config/slite-gdb.exp: Responds to load symbol table prompt.
20865 * gdb.base/break.exp: Adjust line number, fix rerun.
20866 * gdb.base/langs0.c: Add #ifdef usestubs.
20868 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20870 * gdb.base/list.exp: Adjust line contents after adding new lines in
20871 list0.c. Also fix a syntax error.
20873 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20874 * gdb.base/break.exp: ditto.
20875 * gdb.base/list.exp: ditto.
20876 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20877 * gdb.base/run.c: ditto.
20878 * gdb.base/list0.c: ditto.
20879 * gdb.base/funcargs.c: ditto.
20881 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20883 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20884 $targetname, $serialport and $baud instead of hardwired variables.
20885 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20886 target doesn't support signals.
20888 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20890 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20892 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20894 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20895 Don't rely on the value of an auto variable before it has been
20896 initialized. Use gdb_test more.
20898 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20900 * lib/gdb.exp (default_gdb_version): A version number must start
20901 with a digit, but other than that contains all characters up to
20902 the first whitespace character.
20904 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20906 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20908 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20910 * gdb.c++/*.exp: Warn if executable does not exist. The original
20911 reason for skipping the warning was that configure.in sometimes
20912 intentionally skipped building the executables but the tcl code
20913 had no way of knowing. That (a) was always bogus with respect to
20914 error handling, (b) is no longer true (right now there is no way
20915 to skip C++ tests).
20917 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20919 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20921 * gdb.base/list.exp: Add expect patterns for output from
20922 SunPRO compiled executables.
20923 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20926 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20928 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20929 number (we are already testing that the correct source line text
20932 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20933 that is what is intended, but something needed to be done to get
20934 sunos4 native working again.
20936 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20938 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20939 apparently went with a (very) old xfail.
20941 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20943 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20944 runto_main is a proc in gdb.exp that will do 'step' for target use
20946 * gdb.base/exprs.exp: ditto.
20947 * gdb.base/interrupt.exp: ditto.
20948 * gdb.base/opaque.exp: ditto.
20949 * gdb.base/printcmds.exp: ditto.
20950 * gdb.base/ptype.exp: ditto.
20951 * gdb.base/scope.exp: ditto.
20952 * gdb.base/setvar.exp: ditto.
20953 * gdb.base/signals.exp: ditto.
20954 * gdb.base/twice.exp: ditto.
20955 * gdb.c++/classes.exp: ditto.
20956 * gdb.c++/inherit.exp: ditto.
20957 * gdb.c++/templates.exp: ditto.
20958 * gdb.base/break.exp: no run and hit main for stubs. Change line
20959 numbers for breakpoints and info breakpoint.
20960 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20962 * gdb.base/callfuncs.c: ditto.
20963 * gdb.base/exprs: ditto.
20964 * gdb.base/interrupt.c: ditto.
20965 * gdb.base/opaque0.c: ditto.
20966 * gdb.base/printcmds.c: ditto.
20967 * gdb.base/ptype.c: ditto.
20968 * gdb.base/scope0.c: ditto.
20969 * gdb.base/setvar.c: ditto.
20970 * gdb.base/signals.c: ditto.
20971 * gdb.base/twice.c: ditto.
20972 * gdb.c++/misc.cc: ditto.
20973 * gdb.c++/templates.cc: ditto.
20975 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20977 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20979 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20980 somewhere between `read' and `main.c'. I'm pretty sure the
20981 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20982 and it isn't particularly useful.
20984 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20986 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20988 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20990 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20992 * config/mt-slite: add LIBS and -nostdlib.
20993 * config/slite-gdb.exp: add this new file to support sparclite target.
20995 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20997 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20999 * gdb.base/a2-run.exp: Change argument to istarget from
21000 "*-*-vxworks" to "*-*-vxworks*".
21001 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21003 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21005 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21006 will not runto main but do a 'step' to step out of breakpoint().
21007 * config/mt-slite: add -Dusestubs.
21009 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21011 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21014 * gdb.base/signals.exp: Add test for "handle all print".
21015 * TODO: Remove "handle all print". Also remove item about
21016 checking copyright date (I don't like the idea of a spurious FAIL
21017 based on when we run the tests).
21019 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21020 for SunOS4 (reason for failure not investigated). Remove
21021 redundant test for $binfile.
21023 * gdb.base/nodebug.c (array_index): Call malloc.
21025 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21027 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21029 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21030 conventions and slightly simplify the matching regexp.
21032 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21034 * gdb.base/break.exp: Update gdb_test invocation to use new
21037 * lib/gdb.exp: If noargs is not set, set it to 0.
21039 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21042 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21044 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21046 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21047 one argument of type "<non-float parameter>".
21049 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21051 * config/rom68k.exp: New file to support Motorola IDP board.
21052 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21053 * gdb.base/break.c: Change things around so that this program
21054 doesn't depend upon args. This is necessary to make remote
21055 targets work (in general, they can't take args).
21056 * gdb.base/break.exp: Don't try to send args to program. Don't
21057 expect output. Also, replace lots of code with gdb_test.
21059 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21061 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21062 printing of '\'' (which is what the comment says we are testing,
21063 even though we were not), not '''.
21064 (test_integer_literals_rejected): Test that printing ''' is an error.
21066 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21067 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21068 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21069 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21070 Use gdb_test not test_print_accept.
21071 * lib/gdb.exp: Remove test_print_accept.
21073 * gdb.base/signals.exp (signal_tests_1): Make pass message
21074 consistent with fail message.
21076 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21077 unsigned char; the bug (PR 1821) is fixed.
21079 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21081 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21082 successful tests--makes xfailing them work right.
21084 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21086 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21087 only \r\n, not .*. The test can pass .* as the last thing in
21088 $pattern if that is what it wants. In addition to providing this
21089 flexibility, this change should speed up pattern matching in cases
21090 where the pattern already ended with .* (there were a number of
21091 them). This change also helps catch bad patterns--in the old
21092 scheme the typo "char \*" instead of "char \\*" would pass. Now
21094 * Many .exp files: Update callers.
21096 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21097 clearer and does not spuriously match multiple ('s. Likewise for
21100 * gdb.base/nodebug.exp: Test ability to call a function and pass
21101 it a string (even with no debugging info).
21103 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21104 "p '\'", which is the same as "p ''" once tcl gets done with
21105 quoting, to "p '\\'", which I suspect is what is intended (one
21106 backslash gets sent to GDB).
21108 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21110 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21112 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21113 1817) was fixed literally years ago.
21115 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21117 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21118 test, it causes stepping out of call_after_alloca_subr with
21119 optimizing compilers.
21120 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21123 * gdb.c++/templates.exp: Source templ-info.exp only if
21124 the templates executable exists.
21126 * gdb.c++/misc.cc (class Contains_static_instance,
21127 class Contains_nested_static_instance),
21128 gdb.c++/classes.exp (test_static_members): Test printing of
21129 a class that contains a static instance of the class.
21131 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21133 * gdb.base/langs2.c (cppsub_): Don't prototype.
21134 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21137 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21139 * lib/gdb.exp (skip_chill_tests): New procedure.
21141 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21143 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21145 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21146 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21148 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21150 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21152 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21153 disassemble 8, not 16, instructions for part 4.
21155 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21156 support the latter anymore.
21158 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21160 * gdb.base/callfuncs.c: Control use of prototypes based on
21161 NO_PROTOTYPES, not __STDC__.
21162 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21163 t_float_values2 tests if prototypes in use.
21165 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21166 t_double_values): When checking differences against DELTA, check
21167 that difference is within the range (-DELTA,DELTA), not just
21170 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21172 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21173 'file' command firts, then 'target', then 'load', this is due to gdb
21175 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21177 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21179 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21180 FP load/store variants.
21181 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21183 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21185 * gdb.base/term.exp: Do not give a warning if not native, it is
21186 not an abnormal condition.
21188 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21190 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21193 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21195 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21196 are getting the version number.
21198 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21199 if not native, it is not an abnormal condition.
21201 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21203 * lib/gdb.exp: Just use "file exists", rather than undocumented
21204 dejagnu procedure "findfile".
21206 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21208 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21209 (LDFLAGS): Set to -Xlinker -Ur.
21211 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21212 Removed, these values are set by lib/gdb.exp.
21214 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21216 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21218 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21219 of replicating gdb startup code.
21221 * config/mt-vxworks (LDFLAGS): Set to -r.
21222 (CFLAGS_FOR_TARGET): Removed.
21224 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21225 (gdb) and gdb for vxworks uses (vxgdb).
21227 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21228 executable is not in the tree and host != target, use sed and
21229 program_transform_name to determine the gdb name used by the
21232 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21233 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21235 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21237 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21238 floats, chars, and shorts where there are ANSI-style function
21241 * gdb.base/langs.exp, gdb.base/langs*: New test.
21242 * gdb.base/Makefile.in: Build it.
21243 * TODO: Remove item about checking that C names don't get C++
21244 demangling applied; this test tests it.
21246 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21248 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21249 went with the const70 xfail. The xfail went away a year ago.
21251 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21253 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21256 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21258 * gdb.base/a1-selftest.exp: Don't run on hp300.
21260 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21262 * Makefile.in (site.exp): Set host_alias and target_alias as well
21263 as host_triplet and target_triplet.
21265 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21267 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21269 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21270 places as other ecoff systems).
21272 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21275 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21277 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21279 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21280 variable and "variable" in addition to "data variable".
21281 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21283 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21285 * gdb.base/list1.c (long_line): Add additional statement at start
21287 * gdb.base/list.exp (test_forward_search): Update line number to
21288 reflect new statement.
21290 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21292 * gdb.base/signals.exp: Reinitialize searched source directories
21293 after gdb_start call.
21295 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21297 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21298 * gdb.stabs/Makefile.in: Likewise.
21300 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21301 change. Instead split the tests into smaller pieces.
21302 * gdb.disasm/hppa.s: Corresponding changes.
21304 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21306 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21307 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21309 * gdb.base/funcargs.exp: Modify many tests so that every test
21310 either passes or fails. Make some test names unique.
21312 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21314 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21315 Call stty to set interrupt character.
21317 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21318 for HP assembler versus GNU assembler based on actual behavior of
21319 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21321 * TODO: Suggest a few more stepping tests.
21323 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21325 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21326 restart GDB for h8300 after a continue.
21327 (return): Add pattern to match a29k-udi behavior.
21328 * gdb.base/nodebug.exp: Remove obsolete comment.
21329 * gdb.base/regs.exp: New file, testing of register displays.
21330 * gdb.base/return.exp: Fix typo in reference to $objdir.
21331 * gdb.base/whatis.exp: Always start with a fresh GDB.
21333 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21335 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21336 higher, these tests generate a lot of output.
21338 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21340 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21341 code following the catch silently ignored some errors; without the
21342 catch they should be thrown like any other tcl error. Also, the
21343 catch used "" instead of {} which meant all the callers who wanted
21344 to include one of the characters "[]$ had to quote it an extra time.
21345 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21346 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21347 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21348 Remove extra quoting.
21350 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21352 * gdb.base/commands.exp: Make test names unique; every test either
21353 passes or fails. Update some comments.
21355 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21357 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21359 The following fixes a FAIL caused by the fact that the alpha stabs
21360 configuration didn't use the ".if alpha" code in weird.def.
21361 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21362 bit pointer, so the 32 bit version works even on the alpha.
21363 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21364 Remove the stuff which allowed us to have separate versions for
21365 alpha and everything else.
21367 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21368 regexp which "info func operator\[\](" is supposed to match. Fix
21369 string to send to GDB. Note that GDB still doesn't work right. Add a
21370 new test for "info func .perator\[\](" which GDB does handle correctly.
21372 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21374 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21376 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21377 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21378 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21379 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21380 it makes the tests harder to understand and confuses test-o-matic.
21381 The preferred style is that each test provides a PASS or a FAIL,
21382 and has a unique message (e.g. "continue #54" not just "continue")
21383 which is the same for the pass and the fail.
21384 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21385 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21387 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21388 prt_accept which was basically the same thing. Likewise for
21389 test_print_reject and prt_reject.
21390 * lib/gdb.exp (test_print_reject): Add some more error message
21391 patterns to match from the former printcmds.exp (prt_reject).
21392 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21393 One defect of the passcount stuff is that some of it failed to
21394 report XPASS where appropriate.
21395 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21396 stuff before and after arg in expected pattern.
21397 (test_paddr_operator_functions): Re-do test without print_addr_of;
21398 this is the only test which seems to want extra stuff there.
21400 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21402 * gdb.base/nodebug.exp: Update new tests to reflect improved
21403 wording of gdb output.
21405 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21406 and "ptype" work on variables in files compiled without -g.
21407 Replaces commented out "maint print msymbol" tests.
21409 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21411 * gdb.base/setvar.c (dummy): Call malloc.
21413 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21414 losing with the irix4 sed.
21416 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21419 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21421 * TODO: Remove items about corefile.exp testing new exec-file and
21422 backtrace; both are now done. Add items about printing enums.
21424 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21426 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21427 "get signal $thissig" test fails.
21429 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21431 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21433 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21434 compiler warning with dec alpha compiler.
21436 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21437 extra \n from gdb_test call (this explains why the prompt test
21438 that I removed yesterday was there).
21439 (user_defined_command_test): Remove extra \n and prompt test.
21441 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21442 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21444 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21445 Also remove alpha workaround, which turns out to be because
21446 SIGABRT == SIGLOST.
21448 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21450 * gdb.base/help.exp: Don't test "help show".
21452 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21454 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21455 "set print address" is on.
21456 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21457 pass prompt to gdb_test; gdb_test already looks for the prompt.
21459 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21461 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21462 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21463 was to make sure that gdb can read a core file. But (a) the "read
21464 the corefile" part didn't make it to a1-selftest.exp, we just
21465 delete the corefile after creating it, and (b) we test reading
21466 corefiles in corefile.exp anyway. Also, this test left around a
21467 xgdb process on Solaris.
21469 * gdb.base/corefile.exp: Also test backtrace.
21471 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21473 * gdb.base/commands.exp: Test a simple user defined command with
21474 arguments and if/while statements; verify the full user command is
21475 printed by "show user".
21477 * gdb.base/commands.exp: Test if/while commands as part of a
21478 breakpoint command list; verify they appear in breakpoint
21481 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21483 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21484 than by dividing by zero.
21486 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21488 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21489 performing an inferior call with watchpoints enabled.
21490 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21493 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21495 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21498 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21499 Add additional pattern for when "int operator int(void);" appears
21500 in a different order.
21502 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21504 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21506 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21507 and "signal" with ".*".
21509 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21511 * TODO: Add note about "handle all nostop".
21513 * gdb.base/{sigall.c, sigall.exp}: New test.
21514 * gdb.base/Makefile.in: Add it.
21516 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21518 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21519 when invoking GDB, suppresses any windowing interface.
21521 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21523 * config/sim-gdb: New file, simulator testing support.
21525 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21527 * gdb.base/interrupt.exp: Test calling func1 twice.
21529 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21531 * gdb.base/list.exp (test_forward_search): Set timeout higher
21532 when we'll be getting lots of output from gdb.
21534 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21535 "init_malloc" to after the expect statement. Run it if that
21536 regexp is taken, but also for two others which happen if source
21539 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21541 * gdb.base/printcmds.exp: New test, for printing register before
21542 program is running.
21544 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21546 * gdb.base/list.exp: Correct some alternate expect patterns
21547 to reflect changes in list1.c.
21549 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21551 * TODO: Add item regarding large frames.
21553 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21555 * TODO: Remove item about enabling return.exp; it
21556 is enabled. Suggest a few more "return" tests.
21558 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21560 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21563 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21565 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21566 and pr-5646.o, so "make" is the same as "make all", not "make
21569 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21571 * gdb.base/list.exp: Adjust expectations to reflect changes in
21573 (test_forward_search): New test proc.
21574 * gdb.base/list1.c (long_line): New function, has long source line.
21576 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21578 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21579 additional line of code that was added.
21581 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21583 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21584 tests so as not to overflow expect's input buffers.
21585 * gdb.disasm/hppa.exp: Corresponding changes.
21587 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21589 Beginnings of template debugging tests.
21590 * gdb.c++/templ-info.cc: New file to test for template
21591 debugging capability of the compiler.
21592 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21594 * gdb.c++/templates.cc: Add explicit template instantiations
21595 to enable compiling with -fno-implicit-templates. Add destructor
21596 and 'value' method to T5 class for template tests.
21597 * gdb.c++/templates.exp: Add testcases for printing of template
21598 types, setting breakpoints on template methods and calling a
21601 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21603 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21604 branch target since some assemblers (gas-2.5) may emit a
21605 relocation for the branch instead of resolving it in the
21608 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21610 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21611 through signal handler.
21613 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21615 * configure.in (*-*-netware): Use config/mt-netware.
21617 * config/mt-netware: New file.
21618 * config/mt-i386-netware: Removed, separate configs for different
21619 netware architectures are no longer needed now that we have
21622 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21624 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21625 by the recent changes to use ANSI C arithmetic conversions.
21627 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21629 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21630 bug involving using inferior_pid to figure out whether to select a
21633 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21635 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21636 match the current disassembler output.
21638 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21640 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21641 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21642 types, expect "int" as type of integer values (for now).
21644 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21646 * gdb.base/commands.exp: New tests for if/while commands.
21648 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21650 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21651 by .*, since hex values have different syntax in Chill mode.
21653 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21655 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21656 linefeed from expect pattern for repeated types with indices > 9.
21658 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21660 First part of Fortran test suite.
21661 * gdb.fortran: New directory.
21662 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21664 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21666 * gdb.base/default.exp: Update expect pattern for load command
21669 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21671 * configure.in: Change i386 to i[345]86.
21672 * gdb.base/configure.in: Likewise.
21673 * gdb.c++/configure.in: Likewise.
21674 * gdb.chill/configure.in: Likewise.
21676 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21678 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21679 patterns, since that is not a valid context for comments.
21681 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21683 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21684 repeated types and repeated types with indices > 9.
21686 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21688 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21689 2417; old bug has been fixed.
21691 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21693 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21694 send the newline ourselves instead of assuming gdb_test will do
21695 so when passed an empty input string.
21697 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21700 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21702 * lib/gdb.exp (gdb_test): Don't send anything if the first
21703 argument is an empty string. This makes cases where we want to
21704 match output that is already in expect's buffers (for example,
21705 matching a breakpoint after gdb_run_cmd has been called) work
21708 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21710 * config/netware.exp: New file.
21712 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21714 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21715 the -B and -L prefixes so we can find the debugging stub.
21717 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21718 there and we are using the gcc from the tree.
21720 * gdb.base/types.c: Removed.
21722 * gdb.base/configure.in: Look for makefile fragments in ../config.
21723 Recognize i386-*-netware.
21724 * gdb.c++/configure.in: Likewise.
21726 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21728 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21729 the correct TCL syntax.
21731 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21733 * gdb.base/opaque.exp: use runto instead of messing around with
21734 breakpoints. Simplify by using gdb_test.
21736 * gdb.base/bitfields.exp: restart between tests on netware targets
21737 because breakpoints aren't relocated after target death. Run
21738 processes to completion.
21740 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21742 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21744 * Makefile.in: Remove extra tabs that confuse some versions
21745 of "make". Use the newly built gdb to test with by default,
21746 rather than the first one in the tester's search path.
21748 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21750 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21752 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21755 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21757 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21759 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21761 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21762 * gdb.base/funcargs.exp: Likewise.
21764 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21765 * gdb.base/funcargs.exp: Likewise.
21767 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21770 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21772 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21773 return,signals,twice}.exp: Handle non-existant binaries
21776 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21777 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21778 might testing a cross development system.
21780 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21782 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21783 runtest script is relative to ${srcdir}, not ${rootdir}.
21785 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21787 * gdb.base/signals.exp: Allow for optionality of breakpoint
21790 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21792 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21794 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21796 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21797 for size_t definition.
21798 * gdb.c++/templates.cc: Likewise
21800 * config/mt-i386-netware: New file.
21802 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21805 * gdb.base/Makefile.in: Added support for systems that name core
21806 files by appending "core" to the program name.
21807 * gdb.base/a1-selftest.exp: Likewise.
21809 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21811 * gdb.base/return.exp: Add comment and message for `return double'
21812 test failure on Sparc Solaris.
21814 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21816 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21818 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21820 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21821 from optimizing them away.
21822 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21823 patterns to include default constructors and assignment operators,
21824 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21825 character in the output of the virtual base pointer.
21827 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21829 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21830 expression match in print_addr_of to avoid unintented matches.
21831 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21832 versions up to 2.5.8.
21834 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21836 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21837 included file to run under newer versions of expect.
21838 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21839 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21840 Remove xfail for the virtual table of BDDHookV.
21842 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21844 * lib/gdb.exp (string_to_regexp): Set a default result.
21845 (default_gdb_start): Fix misleading message.
21847 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21849 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21850 Remove all CC, etc definitions.
21851 * config/mt-hpux: New file.
21852 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21853 (CFLAGS, LDFLAGS): Define.
21854 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21856 * Makefile.in (site.exp): Don't insert host_os, etc.
21857 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21858 (distclean): Check existence of subdir.
21859 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21860 * gdb.base/Makefile.in: General cleanup and simplification.
21861 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21862 to build executables. Use default rule to build .o files.
21863 (EXPECT, RUNTEST, CC): Fix relative pathname.
21864 (site.exp): Don't insert host_os, etc.
21865 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21866 and/or SIGUSR1 defined.
21867 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21868 * gdb.c++/Makefile.in: General cleanup and simplification.
21869 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21871 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21873 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21875 * gdb.base/recurse.exp: Misc changes to get tests running again
21876 after Kung's changes to the watchpoint code.
21877 * gdb.base/watchpoint.exp: Likewise.
21879 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21881 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21883 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21885 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21886 * lib/gdb.exp (default_gdb_start): Define.
21887 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21888 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21889 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21890 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21891 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21892 Don't call gdb_target_udi in between tests.
21894 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21896 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21897 (which was basically just a local version of the same thing). In
21898 addition to avoiding duplication, gdb_test_exact is faster.
21899 * lib/gdb.exp (gdb_test_exact): Fix typo.
21901 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21902 don't give an error.
21904 * gdb.base/term.exp: Call delete_breakpoints before starting.
21906 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21907 (t10): Add comment.
21909 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21911 Reorganization of the GDB Test Suite.
21913 * gdb.base: New directory, contains all the basic tests.
21914 * gdb.c++: New directory, tests specific to C++.
21915 * gdb.chill: New directory, tests specific to Chill.
21916 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21917 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21918 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21919 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21920 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21922 * */gdbme.*: Rename to match appropriate expect scripts.
21923 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21924 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21925 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21926 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21927 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21928 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21929 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21930 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21931 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21932 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21933 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21934 gdb.c++/virtfunc.cc: New names of C++ files.
21935 * gdb.chill/chillvars.ch: New name of Chill file.
21936 * gdb.base/configure.in, gdb.c++/configure.in,
21937 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21938 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21939 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21940 * configure.in (configdirs): Update to reflect directory changes.
21941 (target_abbrev): No longer define for any configuration.
21942 * Makefile.in: Cosmetic improvements to header comments.
21944 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21946 Various changes to gdb.t31:
21948 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21949 * gdbme.ch: Make all key-words and predefineds be upper-case.
21950 * chillvars.exp: Expect key-words and predefinds in upper-case.
21952 * chillvars.exp: Use gdb_test_exact many places.
21953 Change expected output for arrays (which now includes index labels).
21955 * pr-5020.exp, gdme.ch (module PR_5020):
21956 New test, for PR-5020.
21958 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21960 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21961 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21963 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21965 * Makefile.in: Fix bit-rot in definitions of CHILL,
21966 CHILL_FOR_TARGET and Chill_LIB.
21967 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21968 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21969 CHILL, and CHILL_LIB.
21971 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21973 * Revert the previous changes. Please see Rob's directory
21974 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21976 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21978 * Makefile.in, configure.in, config/mips-gdb.exp,
21979 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21980 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21981 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21982 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21983 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21984 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21985 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21986 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21987 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21988 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21989 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21990 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21991 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21992 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21993 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21996 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21998 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21999 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22000 Rob's new testing fragments.
22002 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22004 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22005 lib/gdb.exp: Replace error proc calls with perror.
22007 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22009 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22010 version also, match on casted version strings, and match on
22011 gdb startup case where the line numbers might be messed up.
22013 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22015 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22016 (CFLAGS): Delete it from here.
22018 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22020 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22022 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22024 * Makefile.in (RUNTEST): Default to just "runtest".
22026 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22028 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22029 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22030 the code has been restructured.
22032 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22034 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22035 \n, not just one of each.
22037 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22038 /bin/cc gives a warning if you do.
22040 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22042 * gdb.t24/demangle.exp: change expect pattern of
22043 __t10ListS_link1ZUiRCUiPT0
22045 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22047 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22048 on local variables in recursive functions.
22050 * gdb.t07/Makefile.in: Build the new test.
22052 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22054 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22055 directly. Instead compare the return values from actual calls.
22057 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22059 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22061 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22063 * From Peter Schauer with minor modifications.
22064 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22065 stops in mid-line in the caller. Add xfail for returning a float
22066 value on X86 targets.
22068 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22070 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22071 to avoid expect lossage.
22072 (fmem_LRbug_tests): Likewise.
22073 * gdb.disasm/hppa.s: Corresponding changes.
22075 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22076 conditions to work with latest dejagnu/expect.
22078 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22079 expected to fail on the PA.
22080 (backtrace in call with trampolines): Explicitly require main
22081 to be frame #1 (no trampolines should show up in backtrace).
22083 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22084 "continue -expect".
22085 * gdb.t06/break.exp: Likewise.
22086 * gdb.t07/watchpoint.exp: Likewise.
22087 * gdb.t13/bitfields.exp: Likewise.
22088 * gdb.t15/{funcargs,return}.exp: Likewise.
22089 * gdb.stabs/weird.exp: Likewise.
22090 * config/{mips,udi}-gdb.exp: Likewise.
22092 * hppa.sed: Enclose comments within a sed command to avoid
22093 losing with the old OSF1 sed.
22095 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22097 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22099 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22100 * gdb.t15/funcargs.exp: Conditionally step again to really
22101 finish from marker_call_with_trampolines. Handle the case where
22102 the first step from within call_with_trampolines already steps
22104 * gdb.t15/gdbme.c: Add comment to closing brace of
22105 call_with_trampolines for funcargs.exp.
22107 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22109 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22112 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22114 * gdb.t07/gdbme.c: More code for watchpoint testing.
22116 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22117 "Hardware watchpoint" throughout file.
22118 (test_watchpoint_triggered_in_syscall): New test.
22119 (test_complex_watchpoint): New test.
22121 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22123 * gdbme.c (call_with_trampolines): New function to try and step
22124 into. Tests trampoline problems on the PA.
22126 * funcargs.exp (localvars_in_indirect_call): No longer expect
22127 stepping into indirect call to fail on PAs.
22128 (test_stepping_over_trampolines): New test.
22130 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22132 * TODO: Add suggestions for static member function tests, and
22135 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22137 * TODO: Add suggestions for "p/a" tests.
22139 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22140 (default_gdb_exit): Replace all the hair with sending "quit" to
22141 the process with a simple close.
22143 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22145 * TODO: Add suggestions for shared library tests.
22147 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22149 * TODO: Add suggestions for x/s tests.
22151 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22153 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22154 "enable once", and "enable breakpoints once" with ".*".
22156 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22158 * TODO: Add suggestions about structure passing tests.
22160 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22162 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22163 the primary1 test, use work around if __GNUC__ < 2.
22164 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22165 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22166 Test for bad output rather than waiting for timeout. Issue
22167 second continue only if first continue failed.
22169 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22171 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22172 operator[] test with gdb_test because the old code didn't seem to
22173 be getting the quoting right with the new dejagnu.
22175 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22177 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22179 * Makefile.in: Use a fresh expect if there is one, use runtest
22180 from the src tree if there is one.
22182 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22184 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22185 next over recursive call. Revise the tests from that point on
22186 (which had been skipped) to match GDB's actual (correct) output.
22188 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22189 with next over a breakpoint whose condition is false.
22191 * gdb.t00/help.exp: Comment out "help set print" tests just like
22192 (and for same reason as) "help set" test.
22194 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22196 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22197 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22199 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22201 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22202 necessary gdb_target_udi.
22204 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22206 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22207 1838 and 2417; they are fixed.
22209 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22210 gdb.t03/ptype.exp (ptype structure, ptype union):
22211 Remove xfails; the test is looser than when the xfails were added.
22213 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22214 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22216 * gdb.t01/run.exp: Only run shell test if isnative.
22218 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22219 since "run" automatically loads if necessary. Call gdb_target_udi
22220 after the "file" since "file" kills any execution target.
22222 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22223 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22224 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22227 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22229 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22231 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22233 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22235 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22236 properly quoting regexps. This makes the second argument to
22237 demangle a fixed string, which matches the callers, instead of a
22238 shell-style pattern which is what the previous implementation
22239 used. Update some of the callers.
22241 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22243 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22244 (comib_nullified_tests): Fix typo.
22245 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22246 strings. No longer expected to fail.
22248 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22249 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22250 strings. No longer expected to fail.
22252 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22253 string. No longer expected to fail.
22255 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22257 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22258 No longer expected to fail.
22260 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22261 string. No longer expected to fail.
22263 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22265 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22266 only in the names (I probably got most of them). I was even
22267 generous with some which differed in underscores in names, and
22268 probably missed a few, and I *still* was able to remove almost a
22269 third of the file with almost no impact on testsuite coverage.
22271 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22273 * gdb.t00/default.exp: Match udi_attach error message as well as
22274 the one from child_attach.
22276 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22278 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22280 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22281 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22283 * Move test with enums and partial symbols back to
22284 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22285 Reverts the change of 26 May 93. Per today's change to
22286 stabs.texinfo, the behavior that weird.exp was expecting was
22287 unreasonable; what is important is that the compiler+gdb get
22288 things right, which happens with a recent gcc. Also fix the test
22289 to deal with native compilers which put out the stab gdb can't
22292 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22294 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22295 in the names. The main thing these accomplish is to slow things down.
22296 Many more such duplicates surely remain.
22298 * gdb.t00/help.exp: Comment out "help support" test just like
22299 (and for same reason as) "help set" test.
22301 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22303 * gdb.t06/break.exp: Remove setup_xfails for
22304 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22305 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22306 about known bug in gcc to include up through 2.5.8.
22307 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22309 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22310 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22311 with latest gcc and gdb.
22312 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22315 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22317 * configure.in (hppa*-*-*): Also configure and build stabs-only
22320 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22322 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22323 * gdb.t10/configure.in (hppa*-*-*): Use it.
22325 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22327 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22329 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22331 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22332 versions prior to 1.13.5.
22334 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22336 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22337 the prompt is at the start of a line.
22339 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22341 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22342 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22343 in the copr tests now.
22344 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22345 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22348 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22350 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22351 gdb.t31/chillvars.exp, lib/gdb.exp:
22352 Tweak to run under either version of expect.
22353 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22354 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22355 * gdb.t11/list.exp: Remove extraneous whitespace.
22357 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22359 * gdb.t16/printcmds.exp (test_print_strings): Accept
22360 "(unsigned char *) " before the string.
22362 * TODO: Add notes about printing of fancy types and GDB expressions.
22364 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22366 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22367 * gdb.t06/configure.in: Don't try to compile signals test program
22368 if doing mips-idt-ecoff.
22370 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22372 * Most .exp files: Tweak to run under either version of expect.
22374 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22376 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22377 xfails; I'm not sure why they are failing, but not because of PR 1806.
22379 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22381 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22382 defined in lib/gdb.exp.
22384 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22386 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22387 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22388 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22389 have to be typeless.
22391 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22393 * TODO: Add suggestion for copyright year test.
22395 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22397 * configure.in (*-*-lynxos*): Add stabs tests.
22399 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22401 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22402 so insert a tab before any assembler directive in column zero.
22404 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22406 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22408 (fpu_short_memory_tests): Likewise.
22410 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22412 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22413 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22414 .stabs directives in comments.
22416 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22418 * TODO: New file, describing tests we could write.
22419 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22421 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22423 * gdb.t06/signals.exp: Add kludge to force re-sync.
22425 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22426 to xgdb instead of gdb, get out of gdb.
22428 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22430 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22433 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22435 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22436 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22437 * gdb.stabs/hppa.sed: New sed script for the PA.
22439 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22441 * gdb.stabs: Re-write weird.def and configuration to use sed
22442 instead of cpp. sed is portable and POSIX; cpp is neither.
22444 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22446 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22448 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22450 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22452 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22454 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22456 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22457 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22459 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22461 * lib/gdb.exp: Comment out code which depends on non-existent
22462 `transform' procedure.
22464 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22466 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22467 * lib/gdb.exp: Transform tool name.
22468 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22469 1.1's new error handling system.
22471 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22473 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22475 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22477 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22478 They made pattern matching so slow that timeouts happened on
22479 heavily loaded systems. Now any output from "show print" which
22480 gets us back to the GDB prompt is a PASS.
22482 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22484 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22486 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22488 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22490 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22491 It is not from PR 3220.
22493 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22495 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22496 just started failing because they depended on the order the
22497 subcommands are presented, or exact docstring text. This kind of
22498 test is a pain and has minimal benefit.
22500 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22502 * gdb.t09/corefile.exp: At end of test, use "core" command with
22505 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22507 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22508 17}/Makefile.in: Make it possible to run the testsuite with Sun
22509 make and CC = cross gcc by adding explicit build rules for .o
22512 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22514 * gdb.t15/funcargs.exp: Don't put comments on same line as
22515 setup_xfail (@#$*%& tcl braindamage!).
22517 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22519 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22521 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22523 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22524 * gdb.t20/inherit.exp: remove three dumplicate entries.
22526 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22528 * gdb.t06/break.exp: For "next over recursive call", fail on any
22529 incorrect output, not just on "factorial (value=2)".
22531 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22533 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22534 working now. Add an xfail if accesing a bss variable causes
22535 a memory error if the target is not yet run.
22537 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22539 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22540 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22541 name of __st* demangling (2 strings). Did Kung really get the
22542 more than 95 others right without testing them?
22544 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22546 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22548 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22550 * configure.in (configdirs): Add gdb.disasm
22551 * gdb.disasm: New directory for GDB disassembler tests.
22552 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22554 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22556 * gdb.t00/help.exp: Don't test "help set".
22558 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22559 from within expect statements. None of these happen anymore and
22560 they cause regressions to be silently unnoticed.
22562 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22563 messages) about known failures with gcc cygnus-2.4.5-930417.
22565 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22566 comp-info.exp so it gets built if it doesn't exist.
22568 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22569 it is no longer used.
22570 * gdb.t13/comp-info.c: Removed.
22572 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22574 * gdb.t06/signals.exp: Add xfail for sun3.
22576 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22578 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22579 relevant because ^C doesn't get sent but failure can be reproduced
22582 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22584 * gdb.stabs/alpha.mt: New configuration file for alpha.
22585 * gdb.stabs/configure.in: Use it.
22586 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22587 sharing with alpha.mt, redefine long to word via preprocessor.
22588 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22590 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22592 * gdb.t00/teststrategy.exp: Change expect string so that we
22593 consume the `(xgdb)' from the command echo and from the gdb prompt.
22594 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22595 gdb currently compares all values as long, so this failure probably
22596 applies to any configuration where LONGEST is bigger than a target int.
22597 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22599 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22600 to handle opaque pointers, gcc is.
22601 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22602 as first argument. Include <sys/types.h> and change all operator
22603 new definitions to use size_t.
22604 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22605 now that we use size_t.
22607 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22609 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22610 a long or float array cast all array members to the same type.
22611 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22613 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22615 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22617 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22619 * gdb.t24 (demangle.exp): Constructors of templates have names like
22620 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22621 section 14.6 of the ARM.
22623 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22624 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22625 accomplish little and slow down the testsuite.
22627 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22628 Accept spaces various places.
22630 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22632 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22633 with watchpoint enabled.
22635 * Makefile.in: Remove definition of CC and remove the second
22636 definition of CXX (the "CXX = gcc" one remains). These definitions
22637 were causing backquotes to be expanded within backquotes, which
22640 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22642 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22644 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22646 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22647 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22648 by mips cc and contains no stabs entries.
22650 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22652 * config/vx-gdb.exp: Use fake device to load files rather than
22654 * lib/gdb.exp: New proc to do "file" command.
22655 * config/unix-gdb.exp: Use new "file" proc.
22657 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22659 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22660 Rework board rebooting slightly.
22661 (gdb_exit): Don't exit from the remote shell; there isn't one.
22662 * gdb.stabs/weird.exp: If a program is being debugged already,
22664 * gdb.t04/setvar.exp: Stop and restart gdb.
22665 * gdb.t05/expr.exp: Likewise.
22666 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22667 restart gdb and reload the program.
22668 * gdb.t08/opaque.exp: Likewise.
22669 * gdb.t12/scope.exp: Likewise.
22670 * gdb.t13/bitfields.exp: Likewise.
22671 * gdb.t15/funcargs.exp: Likewise.
22672 * gdb.t20/classes.exp: Likewise.
22673 * gdb.t03/ptype.exp: Increase timeout.
22674 * gdb.t16/printcmds.exp (test_print_string_constants,
22675 test_print_array_constants): Likewise.
22676 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22677 * gdb.t20/classes.exp (do_tests): Likewise.
22678 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22680 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22682 * gdb.stabs: Renamed *wierd* to *weird*.
22684 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22686 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22687 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22689 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22691 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22692 (do_tests): Remove xfail for whatis on one_var and two_var.
22694 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22696 * Makefile.in: Made cross building work better by adding
22697 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22699 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22701 * gdb.t15/{return.c,return.exp,Makefile.in}:
22702 New test, currently commented out.
22704 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22706 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22707 still running and removes the leftover named socket so GDb can do
22710 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22712 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22714 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22715 cross testing works better with "make check"
22716 * config/unix-gdb: Use default procedures for exit and version.
22717 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22718 with the newest VxWorks.
22720 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22722 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22725 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22726 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22728 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22730 * config/unix-gdb.exp: Remove this version of gdb_exit
22731 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22732 Rob says he'll look at it when he gets back to testing boards.
22734 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22736 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22737 an expected fail for certain ptype commands.
22739 * gdb.t20/classes.exp: Update expected results of "ptype class
22740 Base1" to account for the constructor that now appears in the type.
22742 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22744 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22745 disappeared from list.
22746 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22747 "alldone" proc with call to cleanup and exit.
22748 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22749 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22750 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22751 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22752 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22753 "alldone" proc with simple returns that suppress remaining
22754 tests. The alldone proc went away many months ago.
22756 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22758 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22760 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22762 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22764 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22765 as vax gdb will display them.
22767 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22769 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22772 * scope.exp: Change "bad value for localval" messages so each one
22775 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22776 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22778 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22780 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22782 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22783 doesn't exist (due to optimization).
22785 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22787 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22788 contains \r because the filename is long.
22790 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22791 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22793 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22795 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22796 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22798 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22800 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22802 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22804 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22806 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22807 to match does not match the passing case but still matches the
22810 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22812 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22814 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22816 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22817 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22818 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22819 Remove various versions of gdb_exit.
22820 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22822 * config/unix-gdb.exp: gdb_exit remains here, and should override
22823 the generic version, since it's doing a lot of wierd stuff that
22824 the other versions aren't. FIXME, fold it in, or abandon this
22827 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22829 * gdb.t24/demangle.exp: Add tests for PR 3220.
22831 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22833 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22835 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22837 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22838 "i386-*-*". Works for i486 as well.
22840 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22841 bug, and expand domain of xfail to all SVR4 systems, since the
22842 actual problem is likely to be in generic SVR4 /proc support.
22844 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22846 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22848 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22850 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22851 xfails for other systems. Match a missing 'Continuing.' as an
22852 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22854 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22855 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22856 Only issue warning for missing executables if -all option is used.
22858 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22859 file if -all option is used. It's like an unpredictable XFAIL.
22861 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22863 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22864 for dynamically linked binaries.
22866 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22868 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22870 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22871 to state that this is a known bug in old versions of g++.
22873 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22875 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22876 while waiting for `Continuing'.
22878 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22880 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22881 in text, data, and bss.
22882 * gdb.t10/nodebug.c: Add local and global test variables for
22883 initialized and uninitialized data.
22885 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22887 * config/unix-gdb.exp (gdb_exit): Add "wait".
22889 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22891 * gdb.t06/signals.exp: xfail the continue from the handler for all
22894 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22895 function with watchpoints enabled, the i386 call dummy starts with
22898 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22899 386 bsd names its corefiles.
22901 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22903 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22904 compilers don't grok it.
22905 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22906 with small octal ints rather than character constants, which
22907 are signed and might not fit if first promoted to int.
22909 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22911 * gdb.t09/Makefile.in (clean): Remove corefile.
22913 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22915 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22917 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22918 and Jim Kingdon (kingdon@cygnus.com)
22920 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22921 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22922 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22924 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22926 * gdb.t17/interrupt.exp: Add xfail for hppa.
22928 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22930 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22931 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22932 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22933 to determine signed-ness of bitfields and use the result to setup
22935 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22936 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22937 call line is reached if necessary.
22939 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22941 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22943 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22945 * gdb.t06/break.exp: Also test `clear' command.
22947 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22949 * gdb.t00/teststrategy.exp: Remove extra quote.
22951 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22952 watchpoint enabled to be for all non-68k machines.
22954 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22956 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22958 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22959 targets use aout.mt instead of ecoff.mt as gas understands
22960 standard aout format.
22962 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22964 * lib/gdb.exp (runto): Don't insist that function we are running to
22965 was compiled with -g.
22967 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22969 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22970 to get back into the read system call.
22971 Accept leading newline in case where we woke it up.
22973 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22975 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22976 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22977 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22978 enable ecoff configuration.
22980 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22982 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22984 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22986 * gdb.t16/printcmds.exp: Add another printf test.
22988 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22990 * configure.in: If configured -with-stabs on any target, add
22991 stabsdirs to configdirs.
22993 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22995 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22996 fun" so pattern does not match the command itself.
22998 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23000 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23002 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23004 * gdb.t17/interrupt.exp: Test for more things.
23006 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23008 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23009 compiler arranges the code and line numbers.
23011 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23013 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23015 * gdb.t00/help.exp: Increase expect input buffer size.
23017 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23019 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23021 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23023 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23025 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23026 [0-9]*, not just [0-9].
23028 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23030 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23032 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23034 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23036 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23038 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23040 * gdb.t06/signals.c: Add xfails for sun3.
23042 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23044 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23045 test_stepping tests.
23047 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23049 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23051 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23053 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23054 rather than actually putting it through cpp twice.
23056 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23058 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23060 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23063 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23065 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23067 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23068 C++ features prints as "struct", make it a pass, not an xfail.
23070 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23072 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23073 Don't require VA to print as "class" rather than "struct".
23075 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23077 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23079 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23081 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23083 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23085 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23088 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23090 * gdb.t16/printcmds.exp: Add printf tests.
23092 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23094 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23096 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23098 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23099 pass counts, to counteract any existing or future setup_xfails.
23101 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23103 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23104 {BEGIN,END}_COMMON for common block instead of STAB.
23105 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23107 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23108 intp_var should be N_GSYM not N_LSYM.
23109 wierd-aout.S: Use a label for the value of the N_SO.
23110 wierd.def: Remove all backslashes.
23111 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23113 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23115 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23116 get the expected next to inheritance3.
23118 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23120 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23121 now that gcc-2.4 gets it right.
23123 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23125 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23127 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23128 generating comp-info.exp which works for cross-compilation.
23130 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23132 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23135 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23137 * gdb.t01/run.exp: Start with a fresh gdb.
23138 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23141 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23143 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23144 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23145 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23146 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23149 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23151 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23152 test cases from bug reports.
23154 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23156 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23157 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23158 avoid spurious xfails.
23159 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23160 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23161 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23163 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23165 * gdb.t00/teststrategy.exp: Rework to provide more useful
23166 description of each test, fix problem with systems that define
23167 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23168 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23169 results for "next over recursive call" so timeouts aren't taken
23172 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23174 * gdb.t12/scope.exp: Test printing of variables before run.
23176 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23177 printed in wrong order due to sorting.
23179 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23181 * gdb.t00/teststrategy.exp: Fix expected results for printing
23182 user entered string constant. Is array of char, prints with no
23185 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23187 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23188 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23189 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23190 of struct of char arrays.
23191 * gdb.t00/radix.exp: New tests for radix commands.
23193 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23195 * gdb.t16/printcmd.exp: Print a variable before running program
23196 (with xfail for AIX).
23198 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23200 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23202 * gdb.t16/printcmd.exp: Don't print variables before running program.
23204 * gdb.t06/break.exp: Don't require envp argument to main.
23206 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23208 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23209 Add xfails for rs6000.
23211 * gdb.t02/whatis.exp: Change other tests not to re-test something
23214 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23215 each type used has a variable of that type.
23217 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23219 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23221 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23223 * configure.in: change srctrigger to be a file, not a directory
23225 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23227 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23229 * gdb.t11/list.exp: Fixed a couple of typos.
23231 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23233 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23234 is fixed and PR is closed.
23235 * gdb.t16 (gdbme.c): Add simple test string variable.
23236 * gdb.t16 (printcmds.exp): Add tests with simple test string
23237 variable, primarily for boundaries on "set print elements".
23239 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23241 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23242 Make leading 0's optional and don't expect a tab in the middle
23245 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23247 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23248 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23249 don't end command passed to gdb_test with newline.
23251 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23252 signed keyword away, don't expect signed bitfields to be signed.
23254 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23255 printing with only as many 1's as are in the field as well as printing
23256 with 32 1's (see comment).
23258 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23260 * gdb.t00/default.exp: Start with a fresh gdb.
23261 * configure.in (configdirs): Remove gdb.t31 until the chill
23262 compiler works again. It no longer is able to find chillrt0
23263 since it isn't in libchill.a anymore.
23264 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23265 wierd.o, make more modular.
23266 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23267 spurious newlines that caused problems.
23269 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23271 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23272 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23273 gdb.stabs/wierd.{exp,def}: Many new tests.
23275 * gdb.t00/default.exp: update info line for new message.
23277 * gdb.t02/{whatis.exp,gdbme.c}:
23278 Test that "char *" doesn't print as "caddr_t".
23280 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23282 * gdb.t00/help.exp: Use .* in place of some help messages which
23284 gdb.t00/default.exp: Update "info frame" test for new message.
23285 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23288 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23290 * gdb.t03/{gdbme.c,ptype.exp}:
23291 Add tests for typedef'd struct and union without tags.
23292 Also check "whatis" on a variable of a typedef'd enum without a tag.
23294 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23295 PRMS 1823; the bug still exists but isn't reproduced by this test
23296 anymore), and remove rs6000 XFAIL (the bug is fixed).
23298 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23299 duplicated from whatis.exp. For those that are left, accept
23300 "long", "long int", or "int" for long variables (whatis.exp already
23301 has an XFAIL for "int", so no need to fail it here).
23303 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23304 Deal with GCC's names for types now that GDB uses the compiler's names.
23306 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23307 setup_xfail's for sunos4. If we #defined the signed keyword away,
23308 don't expect GDB to know that char it is signed.
23310 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23312 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23314 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23315 should work on any system, regardless of debugging format.
23316 * gdb.t21/demangle.exp: Move to gdb.t24.
23317 * gdb.t24/demangle.exp: Move from gdb.t21.
23318 * gdb.t24/{Makefile.in, configure.in}: New files.
23320 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23322 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23323 * gdb.stabs: New directory.
23325 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23327 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23328 not just "Quit anyway?".
23330 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23332 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23333 that all setup_xfails are immediately followed by clear_xfails.
23335 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23337 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23338 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23339 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23340 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23341 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23342 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23343 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23344 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23345 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23346 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23347 gdb.t31/chillvars.exp, lib/gdb.exp:
23348 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23349 bug-gdb@prep.ai.mit.edu.
23351 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23353 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23354 with 0.0, not integer 0.
23356 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23358 * gdb.t06/break.exp: Update for "Kill the program" message change.
23360 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23362 * Makefile.in (GDBFLAGS): Set to -nx.
23363 * Makefile.in (site.exp): Use GDBFLAGS.
23365 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23367 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23369 (check): depend on just-check.
23370 (just-check): added so that tests can be run without a noop
23373 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23375 Switch to using configure's configdirs.
23376 * Makefile.in (Makefile): add configure.in dependency.
23377 (SUBDIRS): removed redundant assignment.
23378 * configure.in: switch subdirs assignment to configdirs.
23379 * gdb.t*/configure.in: new files.
23381 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23383 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23386 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23388 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23389 in explicit rules. Apparently this is not supported by some makes.
23391 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23393 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23395 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23397 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23400 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23402 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23404 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23406 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23407 watchpoint problem that is now fixed.
23408 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23409 uninitialized convenience variables.
23410 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23413 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23415 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23416 which causes expect to get out of sync with gdb on long output
23418 * gdb.t09/corefile.exp: Make expected pattern for core file
23419 failing signal and frame output format less sun specific.
23421 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23423 * gdb.t31/chillvars.exp: Add and remove initial dummy
23424 breakpoint, so that symbol table is forced in.
23425 (Needed at least on Sunos4, though it seems not SVR4.)
23426 * gdb.t31/chillvars.exp: Update for changed output format.
23428 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23430 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23432 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23434 * Makefile.in: Added --srcdir when invoking runtest, removed the
23435 need for a local config file. (optional now)
23437 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23439 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23440 failure count used to force early termination. Add some more
23441 expected failures for gnu style demangling.
23443 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23445 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23446 pmi variable from gdb.t20/gdbme to get optimized away.
23447 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23448 Check for written corefile upon timeout _and_ eof.
23450 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23452 * config/unix-gdb.exp: Add missing return 0.
23454 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23456 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23459 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23461 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23464 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23466 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23467 time as i860 support works.
23469 * gdb.t15/funcargs.exp: Fix expected outputs to include
23470 "backtrace 100\r" rather than just "backtrace\r", to match last
23473 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23475 * config/udi-gdb.exp (gdb_exit): Remove close command.
23476 (gdb_target_udi): New procedure to set the UDI target.
23477 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23478 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23479 Added waits for prompts after several question responses. Added
23480 some more responses used by a29k-amd-udi-gdb.
23481 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23482 pass different arguments, restart UDI connection after program
23484 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23485 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23486 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23487 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23488 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23489 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23490 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23491 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23492 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23493 after program completion.
23494 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23495 compiled with a SELECT_VECS setting.
23496 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23497 infinite recursion.
23499 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23500 Added checks for COFF results, and made them expected failures for
23501 all targets. It would be better to make them expected failures
23502 for COFF targets only.
23504 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23506 * Makefile.in: add null dvi target, don't bother to recurse
23507 through test directories for info and install-info; rename
23508 $(datadir) to be dejagnu instead of deja-gnu
23510 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23512 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23513 compiler to coredump.
23514 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23517 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23519 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23521 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23524 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23526 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23527 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23528 which in a shell. Deletes xgdb when done.
23529 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23530 Tests the return from the "set height" or "set width" commands.
23531 Added a few return codes where needed.
23533 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23535 * Makefile.in (SUBDIRS): Add gdb.t17.
23536 * configure.in (subdirs): Add gdb.t17.
23537 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23538 files to test gdb's calling of functions in the inferior with
23539 the correct arguments and gdb's ability to retrieve any
23542 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23544 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23545 may be called after gdb goes away. Previous versions of expect
23546 needed these to avoid file descriptor leaks, but they cause
23547 errors with the current revision of expect.
23548 * gdb.t00/gdbvars.exp: Use -re on expected output after
23549 setting sevenbit-strings.
23550 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23551 to set sevenbit-strings consistent across tests.
23552 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23553 set sevenbit-strings consistent across tests.
23555 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23557 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23558 expected output to match current "expect" expectations.
23560 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23562 * gdb.t00/default.exp: Change expected output for default "source"
23563 command, to match new gdb behavior which requires a filename to
23566 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23568 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23569 expected fail for i486-*-* that misses the marker2 function.
23570 * gdb.t10/crossload.exp (bfddefault): Allow successful
23571 recognition of a format to pass even if no symbols are found.
23572 Explicitly catch failures where the format is not recognized
23573 or is ambiguous, and add the reason to the fail message.
23574 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23575 the cause is and invalid target and add reason to failure message.
23576 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23577 elf32-i386, elf32-sparc, and elf32-i860.
23578 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23579 Set up expected failure for 'filename'::variable scope resolution,
23580 which is now apparently broken on all targets.
23581 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23582 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23583 gdb.t23/templates.exp: Change failure for missing binfile into
23585 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23588 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23590 * gdb.t00/default.exp: Add expected output for default "source"
23591 command, to match new gdb behavior.
23592 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23594 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23596 * config/*-gdb.exp: returns an error, rather than exiting on
23599 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23601 * gdb.t03/gdbme.c: Add pointer to struct variable.
23602 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23603 referencing struct members.
23605 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23607 * configure.in (mips-idt-ecoff): New target.
23608 * config/mips-gdb.exp: New file for remote board using MIPS remote
23609 debugging protocol.
23611 * Redid configuration scheme. Removed gdb.t*/configure.in.
23612 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23613 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23614 distclean targets. Built executables via .o files. Adjusted
23615 tests to account for source files in $(srcdir) rather than
23617 * lib/gdb.exp (runto): Don't expect () after the function name,
23618 because it may have arguments.
23620 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23622 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23623 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23624 expected failures for mips-idt-* and mips-sgi-*.
23625 * gdb.t00/default.exp (attach): Kill process if requested.
23626 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23627 that does not read core files.
23628 * gdb.t01/run.exp: Removed checks for exit status code.
23629 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23631 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23632 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23633 appropriate, rather than doing it by hand.
23634 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23636 * gdb.t10/crossload.exp: Kill existing program if needed.
23637 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23638 appropriate, rather than doing it by hand. Always increase
23639 timeout for this test, not just for VxWorks.
23641 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23643 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23644 of Chill STRUCT types and STRUCT values.
23645 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23647 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23648 struct2): New struct definitions and initializations to test
23649 simple Chill STRUCT types.
23651 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23653 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23654 the null byte at the end of strings.
23655 * gdb.t00/default.exp: Make show version insensitive to copyright
23657 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23658 to avoid dependencies on target char signedness.
23659 * gdb.t16/printcmds.exp: Update expected results for explicitly
23661 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23663 * gdb.t21/demangle.exp: Add many more patterns for template
23664 demangling, most of them being expected failures.
23665 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23666 string we are matching for, to match on the whole string.
23667 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23668 and fix a whole bunch that had incorrect expected output but were
23669 passing anyway because of the bug in "proc demangle".
23670 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23672 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23674 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23676 * gdb/testsuite: made modifications to testcases, etc., to allow
23677 them to work properly given the reorganization of deja-gnu and the
23678 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23680 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23682 * gdb/testsuite: Initial creation of gdb/testsuite.
23683 Migrated dejagnu testcases and support files for testing nm to
23684 gdb/testsuite from deja-gnu. These files were moved "as is"
23685 with no modifications. This migration is part of a major overhaul
23686 of dejagnu. The modifications to these testcases, etc., which
23687 will allow them to work with the new version of dejagnu will be
23688 made in a future update.
23690 For additional changes see gdb.mi/ChangeLog-1999-2003.
23692 ;; Local Variables:
23693 ;; mode: change-log
23696 ;; version-control: never
23699 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23700 2003, 2004, 2005 Free Software Foundation, Inc.
23701 Copying and distribution of this file, with or without modification,
23702 are permitted provided the copyright notice and this notice are preserved.