1 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3 * collection.c (globalarr3): New global.
4 (main): Initialize it before collecting, and and clear it
6 * collection.exp (gdb_collect_globals_test): Test collecting with
7 '{type} addr', where the addr expression is not an rvalue.
9 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
11 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
12 a bool variable. Expect correct OpenCL names for vector types. Use the
13 uc3 variable name instead of referring to the uchar3 built-in type.
14 Escape the asterisk at the half pointer test.
16 2011-02-16 Pedro Alves <pedro@codesourcery.com>
18 * collection.c (globalarr2): New global.
19 (main): Initialize it before collecting, and and clear it
21 * collection.exp (gdb_collect_globals_test): Test collecting
22 overlapping memory ranges.
24 2011-02-15 Michael Snyder <msnyder@vmware.com>
26 * gdb.base/default.exp: Add tests for thread commands.
27 * gdb.base/help.exp: Add tests for thread commands.
28 * gdb.threads/thread-find.exp: New test for thread find command.
30 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
32 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
34 2011-02-15 Yao Qi <yao@codesourcery.com>
37 * gdb.arch/arm-disp-step.S : New test for str instruction.
38 * gdb.arch/arm-disp-step.exp : Likewise.
40 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
42 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
43 "vector_register2_vr" test strings. Test the extended floating
44 point registers (F32~F63).
45 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
46 IBM XL C compiler. Make the test program use a register provided
47 by the compiler for the lxvd2x instruction.
49 2011-02-14 Pedro Alves <pedro@codesourcery.com>
51 * gdb.trace/unavailable.cc (class Base, class Middle, class
53 (derived_unavail, derived_partial, derived_whole): New globals.
54 (virtual_partial): New global.
55 (virtualp): Point at virtual_partial.
56 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
57 related to unavailable vptr.
59 2011-02-14 Pedro Alves <pedro@codesourcery.com>
61 * gdb.trace/unavailable.cc (a, b, c): New globals.
62 (main): Set and clear them.
63 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
64 `a' and `c', and check that `b' isn't collected, although `a' and
67 2011-02-14 Pedro Alves <pedro@codesourcery.com>
69 * gdb.trace/unavailable.cc (struct Virtual): New.
70 (virtualp): New global pointer.
71 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
72 printing a pointer to an object whose type has a vtable, with
75 2011-02-14 Pedro Alves <pedro@codesourcery.com>
77 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
78 value repeat handles unavailableness.
80 2011-02-14 Pedro Alves <pedro@codesourcery.com>
82 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
83 tests for building arrays from unavailable values, subscripting
84 non-memory rvalue unvailable arrays, and accessing fields or
85 baseclasses of non-lazy unavailable values,
86 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
88 (g_smallstruct, g_smallstruct_b): New globals.
90 2011-02-14 Pedro Alves <pedro@codesourcery.com>
92 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
94 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
96 Fix const/volatile qualifiers of C++ types, PR c++/12328.
97 * gdb.cp/overload-const.exp: New file.
98 * gdb.cp/overload-const.cc: New file.
100 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
102 * gdb.opencl/callfuncs.cl: New file.
103 * gdb.opencl/callfuncs.exp: New test.
104 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
106 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
108 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
109 when computing result.
110 * gdb.arch/altivec-abi.exp: Update expected results.
112 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
114 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
115 * gdb.base/jit.exp: Likewise.
116 * gdb.base/pie-execl.exp: Likewise.
117 * gdb.base/solib-nodir.exp: Likewise.
118 * gdb.base/solib-overlap.exp: Likewise.
120 2011-02-07 Pedro Alves <pedro@codesourcery.com>
122 * gdb.trace/collection.c (global_pieces): New.
123 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
125 (gdb_trace_collection_test): Call it.
127 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
129 * gdb.python/py-evthreads.c: New file.
130 * gdb.python/py-evthreads.exp: New file.
131 * gdb.python/py-events.py: New file.
132 * gdb.python/py-events.exp: New file.
133 * gdb.python/py-events.c: New file.
135 2011-02-04 David Daney <ddaney@caviumnetworks.com>
137 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
139 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
141 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
142 gdb.base/disasm-end-cu.exp: New test for disassembling over the
143 boundary between two compilation units.
145 2011-02-02 Pedro Alves <pedro@codesourcery.com>
147 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
148 (Virtual): New structs.
149 (virtual_o, virtual_middle_b): New globals.
150 * gdb.cp/virtbase.exp: New tests.
152 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
154 * gdb.base/jit.exp: New file.
155 * gdb.base/jit-main.c: New file.
156 * gdb.base/jit-solib.c: New file.
158 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
160 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
161 proceed to initial kernel entry point.
162 * gdb.opencl/datatypes.exp: Likewise.
163 * gdb.opencl/operators.exp: Likewise.
164 * gdb.opencl/vec_comps.exp: Likewise.
166 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
168 * gdb.cp/nsnested.cc: New.
169 * gdb.cp/nsnested.exp: New.
170 * gdb.cp/nsnoimports.exp: New.
171 * gdb.cp/nsnoimports.cc: New.
173 2011-01-31 Joel Brobecker <brobecker@adacore.com>
175 * gdb.base/interact.exp: Add extra tests that verify that
176 the value of the interactive-mode setting does not change
177 after the script is sourced.
179 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
181 * gdb.cp/noparam.exp: New file.
182 * gdb.cp/noparam.cc: New file.
184 2011-01-28 Pedro Alves <pedro@codesourcery.com>
186 * gdb.trace/tfile.exp: Test that with no traceframe selected,
187 there's no stack or registers.
189 2011-01-26 Tom Tromey <tromey@redhat.com>
191 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
192 space before string output. Add test for "set print pretty off"
195 2011-01-25 Pedro Alves <pedro@codesourcery.com>
197 * gdb.base/frame-args.exp: Adjust.
198 * gdb.dwarf2/dw2-noloc.exp: Adjust.
199 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
200 * gdb.dwarf2/pieces.exp: Adjust.
201 * gdb.opt/clobbered-registers-O2.exp: Adjust.
202 * gdb.opt/inline-locals.exp: Adjust.
203 * gdb.threads/fork-child-threads.exp: Adjust.
205 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
207 * gdb.opencl/convs_casts.cl: Move program scope variables into the
208 OpenCL kernel function. Add a comment as marker. Add address space
209 qualifiers for the remaining program scope variables.
210 * gdb.opencl/datatypes.cl: Likewise.
211 * gdb.opencl/operators.cl: Likewise.
212 * gdb.opencl/vec_comps.cl: Likewise.
213 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
214 Add breakpoint at the marker comment.
215 * gdb.opencl/datatypes.exp: Likewise.
216 * gdb.opencl/operators.exp: Likewise.
217 * gdb.opencl/vec_comps.exp: Likewise.
219 2011-01-24 Pedro Alves <pedro@codesourcery.com>
221 * gdb.base/printcmds.c (some_struct): New struct and instance.
222 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
224 <global scope>: Call it.
226 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
228 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
229 argument to the gdb_compile_opencl_hostapp call.
231 2011-01-19 Yao Qi <yao@codesourcery.com>
233 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
236 2011-01-19 Yao Qi <yao@codesourcery.com>
238 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
241 * gdb.xml/tdesc-regs.exp: Likewise.
242 * gdb.python/py-section-script.exp: Replace ARM target triplet
244 Match arm*-*-symbianelf*.
245 * gdb.base/dup-sect.exp: Likewise.
246 * lib/dwarf.exp: New.
247 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
249 * gdb.dwarf2/dup-psym.exp: Likewise.
250 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
251 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
252 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
253 * gdb.dwarf2/dw2-basic.exp: Likewise.
254 * gdb.dwarf2/dw2-compressed.exp: Likewise.
255 * gdb.dwarf2/dw2-const.exp: Likewise.
256 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
257 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
258 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
259 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
260 * gdb.dwarf2/dw2-filename.exp: Likewise.
261 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
262 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
263 * gdb.dwarf2/dw2-intercu.exp: Likewise.
264 * gdb.dwarf2/dw2-intermix.exp: Likewise.
265 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
266 * gdb.dwarf2/dw2-noloc.exp: Likewise.
267 * gdb.dwarf2/dw2-op-call.exp: Likewise.
268 * gdb.dwarf2/dw2-producer.exp: Likewise.
269 * gdb.dwarf2/dw2-ranges.exp: Likewise.
270 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
271 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
272 * gdb.dwarf2/dw2-strp.exp: Likewise.
273 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
274 * gdb.dwarf2/implptr.exp: Likewise.
275 * gdb.dwarf2/mac-fileno.exp: Likewise.
276 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
277 * gdb.dwarf2/pieces.exp: Likewise.
278 * gdb.dwarf2/pr11465.exp: Likewise.
279 * gdb.dwarf2/valop.exp: Likewise.
280 * gdb.dwarf2/watch-notconst.exp: Likewise.
281 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
283 2011-01-19 Tom Tromey <tromey@redhat.com>
285 * gdb.python/py-infthread.exp: Add thread tests.
287 2011-01-14 Joel Brobecker <brobecker@adacore.com>
289 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
291 2011-01-14 Joel Brobecker <brobecker@adacore.com>
293 * gdb.ada/widewide: New testcase.
295 2011-01-13 Joel Brobecker <brobecker@adacore.com>
297 * gdb.base/interact.exp: New testcase.
299 2011-01-12 Tom Tromey <tromey@redhat.com>
301 * gdb.mi/gdb2549.exp: Update for error message changes.
302 * gdb.mi/mi-cli.exp: Likewise.
303 * gdb.mi/mi-disassemble.exp: Likewise.
304 * gdb.mi/mi-pthreads.exp: Likewise.
305 * gdb.mi/mi-regs.exp: Likewise.
306 * gdb.mi/mi-stack.exp: Likewise.
307 * gdb.mi/mi-var-block.exp: Likewise.
308 * gdb.mi/mi-var-cmd.exp: Likewise.
309 * gdb.mi/mi2-cli.exp: Likewise.
310 * gdb.mi/mi2-disassemble.exp: Likewise.
311 * gdb.mi/mi2-pthreads.exp: Likewise.
312 * gdb.mi/mi2-regs.exp: Likewise.
313 * gdb.mi/mi2-stack.exp: Likewise.
314 * gdb.mi/mi2-var-block.exp: Likewise.
315 * gdb.mi/mi2-var-cmd.exp: Likewise.
317 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
318 Jan Kratochvil <jan.kratochvil@redhat.com>
320 PR fortran/11104 and DWARF unbound arrays detection.
321 * gdb.fortran/multi-dim.exp: New file.
322 * gdb.fortran/multi-dim.f90: New file.
324 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
326 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
327 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
328 add new tests for opcode dumping.
330 2011-01-11 Tom Tromey <tromey@redhat.com>
332 * gdb.python/py-infthread.exp: Load gdb-python.exp.
334 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
336 Convert hardware watchpoints to use breakpoint_ops.
337 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
338 type is not supported.
339 * gdb.base/foll-fork.exp: Likewise.
340 * gdb.base/foll-vfork.exp: Likewise.
342 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
344 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
345 Use load_lib gdb-python.exp.
346 * gdb.python/python.exp: Ditto.
347 * gdb.python/py-function.exp: Ditto.
349 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
351 * gdb.threads/tls.exp ("info address me"): Fix expected output.
353 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
355 * configure: Regenerate.
357 2011-01-06 Tom Tromey <tromey@redhat.com>
359 * gdb.python/py-frame.exp: Test gdb.newest_frame.
361 2011-01-06 Joel Brobecker <brobecker@adacore.com>
363 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
364 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
365 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
366 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
367 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
368 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
369 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
370 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
371 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
372 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
373 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
374 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
375 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
376 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
377 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
378 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
379 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
380 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
381 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
382 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
383 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
384 gdb.ada/uninitialized_vars.exp,
385 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
386 Simplify by using clean_restart.
388 2011-01-06 Joel Brobecker <brobecker@adacore.com>
390 Add marker to be used as anchor for inserting breakpoints.
391 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
392 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
395 Remove uses of gdb_start_cmd.
396 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
397 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
399 Do not run testcase if testing with GDBserver.
400 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
401 if testing with GDBserver.
403 2011-01-06 Joel Brobecker <brobecker@adacore.com>
405 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
406 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
409 2011-01-05 Joel Brobecker <brobecker@adacore.com>
411 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
412 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
413 testsuite/gdb.fortran/complex.f,
414 testsuite/gdb.fortran/derived-type.f90,
415 testsuite/gdb.fortran/library-module-lib.f90,
416 testsuite/gdb.fortran/library-module-main.f90,
417 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
418 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
419 Copyright year update.
421 2011-01-05 Joel Brobecker <brobecker@adacore.com>
423 * gdb.base/langs1.f: Add copyright header.
425 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
427 * gdb.base/morestack.exp: New file.
428 * gdb.base/morestack.c: New file.
430 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
432 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
434 2010-12-29 Joel Brobecker <brobecker@adacore.com>
436 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
437 * gdb.ada/arrayptr.exp: Add test printing that new variable.
439 2010-12-29 Joel Brobecker <brobecker@adacore.com>
441 * gdb.ada/lang_switch.exp: Correct expected parameter value.
443 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
445 * gdb.threads/tls.exp: Fix typo.
447 * gdb.threads/thread-specific.exp (get_thread_list): Update.
448 * gdb.threads/execl.exp: Update.
450 2010-12-23 Yao Qi <yao@codesourcery.com>
452 * gdb.arch/arm-disp-step.exp: New.
453 * gdb.arch/arm-disp-step.S: New.
455 2010-12-21 Tom Tromey <tromey@redhat.com>
457 * gdb.threads/execl.exp: Update.
458 * gdb.threads/linux-dp.exp: Update.
459 * gdb.threads/manythreads.exp: Update.
460 * gdb.threads/tls.exp: Update.
462 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
464 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
465 (NextOverThrowDerivates) <resumebpt>: New.
466 (resumebpt_test): New.
467 (main): Call resumebpt_test.
468 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
470 2010-12-12 Stan Shebs <stan@codesourcery.com>
472 * gdb.trace/tsv.exp: Test print command on trace state variables.
474 2010-12-09 Tom Tromey <tromey@redhat.com>
476 * gdb.base/interp.exp: Add regression test.
478 2010-12-09 Tom Tromey <tromey@redhat.com>
480 * gdb.java/jnpe.java: New file.
481 * gdb.java/jnpe.exp: New file.
482 * gdb.cp/nextoverthrow.exp: New file.
483 * gdb.cp/nextoverthrow.cc: New file.
485 2010-12-07 Doug Evans <dje@google.com>
487 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
489 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
491 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
493 2010-11-29 Michael Snyder <msnyder@vmware.com>
495 * gdb.base/callfuncs.exp: Test for skip_float_tests.
496 * gdb.base/call-sc.exp: Ditto.
497 * gdb.base/finish.exp: Ditto.
498 * gdb.base/return.exp: Ditto.
499 * gdb.base/return2.exp: Ditto.
501 2010-11-30 Doug Evans <dje@google.com>
503 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
504 (gdb_expect_list): Fix spelling errors in comments.
505 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
506 send_gdb/gdb_expect_list where applicable.
507 * gdb.base/call-ar-st.exp: Ditto.
508 * gdb.base/funcargs.exp: Ditto.
509 * gdb.base/gcore.exp: Ditto.
510 * gdb.base/page.exp: Ditto.
511 * gdb.base/sigaltstack.exp: Ditto.
512 * gdb.base/siginfo.exp: Ditto.
513 * gdb.base/sigstep.exp: Ditto.
514 * gdb.base/trace-commands.exp: Ditto.
516 2010-11-29 Doug Evans <dje@google.com>
518 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
519 printer-name;subprinter-name.
521 2010-11-29 Tom Tromey <tromey@redhat.com>
523 * gdb.dwarf2/implptr.exp: New file.
524 * gdb.dwarf2/implptr.c: New file.
525 * gdb.dwarf2/implptr.S: New file.
527 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
531 * gdb.python/py-breakpoint.exp: Test the delete method.
533 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
535 Fix step_resume_breakpoint unsaved during an infcall.
536 * gdb.base/step-resume-infcall.exp: New file.
537 * gdb.base/step-resume-infcall.c: New file.
539 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
541 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
543 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
545 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
546 on ppc64's symbols; "finish" and "return" commands must accept to
547 show the caller line again as well as the line after.
548 * gdb.asm/powerpc64.inc: New file.
550 2010-11-23 Doug Evans <dje@google.com>
552 * lib/gdb.exp (gdb_test_sequence): New function.
553 (gdb_expect_list): Add verbose -log call for each pattern.
554 * gdb.base/signals.exp (test_handle_all_print): Call it.
555 Reduce timeout increment from 6 minutes to 1 minute.
556 * gdb.server/ext-run.exp: Call it.
558 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
562 * gdb.python/python.exp: Check that selected_thread raises an
563 error when no inferior is loaded.
565 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
567 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
568 * gdb.dwarf2/dw2-stack-boundary.S: New file.
570 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
572 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
573 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
575 2010-11-18 Doug Evans <dje@google.com>
577 * gdb.server/ext-run.exp: Fix intermittent failures.
579 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
581 * gdb.stabs/gdb11479.exp: Use runto_main.
583 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
585 * gdb.base/break-entry.exp: Skip if using a stub.
587 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
589 * gdb.python/py-inferior.exp: Pack values in target endianness.
591 2010-11-12 Tom Tromey <tromey@redhat.com>
593 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
594 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
596 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
598 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
600 (test_subscript_regression): Update exception type.
602 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
604 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
607 2010-11-09 Pedro Alves <pedro@codesourcery.com>
609 * gdb.base/watchpoint.exp: Test "watch -location" with an
610 innacessible location.
612 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
613 Luis Machado <luisgpm@br.ibm.com>
615 * gdb.base/maint.exp: Expect "." prefix.
616 * gdb.base/nodebug.exp: Expect "." Likewise.
617 * gdb.base/sepsymtab.exp: Expect "." Likewise.
618 * gdb.base/watchpoint-cond-gone.exp: Likewise.
619 * gdb.base/watchpoint.exp: Expect a software watch to be created for
620 POWER server processors.
622 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
623 Luis Machado <luisgpm@br.ibm.com>
625 * gdb.base/break-entry.exp: convert entry point for
626 ppc64 and expect leading `.' on ppc64's symbols
628 2010-11-05 Doug Evans <dje@google.com>
630 * gdb.base/help.exp: Update expected output.
631 * gdb.python/py-param.exp: Delete, contents moved to ...
632 * gdb.python/py-parameter.exp: ... here. New file.
633 Add test for gdb.parameter ("directories").
635 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
637 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
638 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
639 * configure: Regenerate.
640 * gdb.opencl/Makefile.in: New File.
641 * gdb.opencl/datatypes.exp: Likewise.
642 * gdb.opencl/datatypes.cl: Likewise.
643 * gdb.opencl/operators.exp: Likewise.
644 * gdb.opencl/operators.cl: Likewise.
645 * gdb.opencl/vec_comps.exp: Likewise.
646 * gdb.opencl/vec_comps.cl: Likewise.
647 * gdb.opencl/convs_casts.exp: Likewise.
648 * gdb.opencl/convs_casts.cl: Likewise.
649 * lib/opencl.exp: Likewise.
650 * lib/opencl_hostapp.c: Likewise.
651 * lib/opencl_kernel.cl: Likewise.
652 * lib/cl_util.c: Likewise.
653 * lib/cl_util.c: Likewise.
654 * gdb.base/default.exp (set language): Add "opencl" to the list of
657 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
659 * gdb.cp/overload.exp: Added test for inheritance overload.
660 * gdb.cp/overload.cc: Ditto.
661 * gdb.cp/oranking.exp: Removed releveant kfails.
663 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
664 Joel Brobecker <brobecker@adacore.com>
666 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
667 check test_compiler_info.
669 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
671 * gdb.base/gnu_vector.exp: Adjust expect messages.
673 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
675 * gdb.base/gnu_vector.exp: Add unary operator tests.
677 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
679 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
681 2010-11-02 Doug Evans <dje@google.com>
683 * gdb.python/py-pp-maint.c: New file.
684 * gdb.python/py-pp-maint.exp: New file.
685 * gdb.python/py-pp-maint.py: New file.
687 2010-11-02 Tom Tromey <tromey@redhat.com>
689 * gdb.base/default.exp: Remove "scheme" from language list.
691 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
694 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
695 * gdb.threads/sigstep-threads.exp: New file.
696 * gdb.threads/sigstep-threads.c: New file.
698 2010-10-20 Michael Snyder <msnyder@vmware.com>
700 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
702 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
704 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
705 Skip test completely if gdb,no_hardware_watchpoints.
707 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
709 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
710 strict, but do not check for any particular function name within libc.
712 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
714 * gdb.cp/smartp.exp: New test.
715 * gdb.cp/smartp.cc : New test.
717 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
719 * gdb.cp/converts.exp: Test pointer to bool conversion.
720 Test pointer to long conversion.
721 * gdb.cp/oranking.exp: Removed relevant kfail.
723 2010-10-18 Tom Tromey <tromey@redhat.com>
725 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
726 argument to lazy_string.
727 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
728 (pp_ls.to_string): Use it.
729 * gdb.python/py-prettyprint.c (main): Move declarations to top.
730 Add "estring2" local.
732 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
734 Fix s390x compatibility.
735 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
736 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
738 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
740 * gdb.threads/sigstep-threads.exp: New file.
741 * gdb.threads/sigstep-threads.c: New file.
743 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
745 * gdb.base/pie-execl.exp: New file.
746 * gdb.base/pie-execl.c: New file.
748 2010-10-13 Doug Evans <dje@google.com>
749 Jan Kratochvil <jan.kratochvil@redhat.com>
752 * gdb.cp/ptype-cv-cp.cc: New file.
753 * gdb.cp/ptype-cv-cp.exp: New file.
755 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
757 * gdb.cp/converts.cc: New test program.
758 * gdb.cp/converts.exp: New test.
759 * gdb.cp/overload.exp: Added test for void* vs int*.
760 * gdb.cp/overload.exp: Ditto.
761 * gdb.cp/oranking.exp: Removed related kfail.
763 2010-10-13 Doug Evans <dje@google.com>
765 * lib/gdb-python.exp (gdb_check_python_config): New function.
766 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
767 * gdb.python/lib-types.cc: New file.
768 * gdb.python/lib-types.exp: New file.
770 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
772 * gdb.python/py-error.exp: New file.
773 * gdb.python/py-error.py: New file.
775 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
777 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
780 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
782 * gdb.base/break-interp.exp: Use ldlags for linking flags.
783 * gdb.base/prelink.exp: Likewise.
784 * gdb.base/solib-nodir.exp: Likewise.
785 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
786 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
787 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
789 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
791 * break-interp.exp (test_ld): Use two separate gdb_expect statements
792 for the "info files" test to avoid timeouts on slow machines.
794 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
796 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
797 (main): Make openlib dummy call.
799 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
801 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
802 * break-interp.exp (reach): Move the core body ...
803 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
804 (test_ld): Provide always real argument, even to the linker. Replace
805 dl_main by _dl_debug_state.
807 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
809 Fix results of prelinked PIEs on ppc*.
810 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
811 Accept also DISPLACEMENT "PRESENT".
812 (main): Replace "ZERO" displacements by "PRESENT".
814 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
816 * gdb.cp/oranking.exp: New test.
817 * gdb.cp/oranking.cc: New test program.
819 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
821 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
822 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
824 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
826 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
827 lush, lynx) New constant.
828 * gdb.base/constvars.exp: Test const array types.
829 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
831 2010-10-06 Doug Evans <dje@google.com>
833 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
834 of syscall staging area.
836 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
838 * gdb.base/gnu_vector.c: Add variable c4.
839 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
840 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
842 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
844 * gdb.arch/altivec-abi.exp: Fix a typo.
846 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
848 * lib/mi-support.exp (thread_selected_re): Correct pattern used
849 to match a thread ID.
851 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
853 Fix s390x testcase compatibility.
854 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
856 2010-10-01 Doug Evans <dje@google.com>
858 * lib/gdb-python.exp: New file.
859 * gdb.python/py-block.exp: Use it.
860 * gdb.python/py-breakpoint.exp: Ditto.
861 * gdb.python/py-frame.exp: Ditto.
862 * gdb.python/py-inferior.exp: Ditto.
863 * gdb.python/py-param.exp: Ditto.
864 * gdb.python/py-prettyprint.exp: Ditto.
865 * gdb.python/py-shared.exp: Ditto.
866 * gdb.python/py-symbol.exp: Ditto.
867 * gdb.python/py-symtab.exp: Ditto.
868 * gdb.python/py-type.exp: Ditto.
869 * gdb.python/py-value.exp: Ditto.
870 * gdb.python/python.exp: Ditto.
872 2010-09-30 Tom Tromey <tromey@redhat.com>
874 * gdb.base/anon.exp: New file.
875 * gdb.base/anon.c: New file.
877 2010-09-30 Tom Tromey <tromey@redhat.com>
879 * gdb.base/completion.exp: Test completion through anonymous
881 * gdb.base/break1.c (struct some_struct): Add anonymous union.
883 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
885 Fix printing parameters of inlined functions.
886 * gdb.dwarf2/dw2-inline-param.exp: New file.
887 * gdb.dwarf2/dw2-inline-param-main.c: New file.
888 * gdb.dwarf2/dw2-inline-param.S: New file.
890 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
893 * gdb.base/corefile.exp (quit with a process, no question: load core)
894 (quit with a core file): New tests.
896 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
898 Fix GDB crash on inferior calls with self-referencing classes.
899 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
900 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
901 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
903 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
905 Fix lost siginfo_t for inferior calls.
906 * gdb.base/siginfo-infcall.exp: New file.
907 * gdb.base/siginfo-infcall.c: New file.
909 2010-09-22 Joel Brobecker <brobecker@adacore.com>
911 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
913 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
915 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
917 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
919 2010-09-22 Joel Brobecker <brobecker@adacore.com>
921 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
922 type of our const type.
924 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
926 * gdb.cp/pr12028.cc: New.
927 * gdb.cp/pr12028.exp: New.
929 2010-09-22 Joel Brobecker <brobecker@adacore.com>
931 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
933 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
934 Jan Kratochvil <jan.kratochvil@redhat.com>
937 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
938 * gdb.mi/dw2-ref-missing-frame-main.c New File.
939 * gdb.mi/dw2-ref-missing-frame.S New File.
940 * gdb.mi/dw2-ref-missing-frame.exp New File.
942 2010-09-14 Tom Tromey <tromey@redhat.com>
945 * gdb.threads/tls.exp: Remove kfail. Update expected output.
947 2010-09-14 Tom Tromey <tromey@redhat.com>
950 * gdb.threads/tls.exp: Use C++.
951 (check_thread_local): Use K::another_thread_local.
952 * gdb.threads/tls.c (class K): New.
953 (another_thread_local): Now a member of K.
954 (spin): Update. No longer K&R C.
956 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
958 * gdb.cp/koenig.cc: created class for testing member lookup.
959 * gdb.cp/koenig.exp: Added test for member lookup.
961 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
963 Fix false FAILs on sourcetree topdir directory containing "kill".
964 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
965 source line matching regexp.
967 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
969 * gdb.python/python.exp (set height 0, collect help from uiout)
970 (verify help to uiout): New tests.
972 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
974 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
975 is_lp64_target to check 64bit target.
977 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
979 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
980 (test_ld) <powerpc64-*>: New.
982 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
984 * gdb.cp/templates.exp (test_template_args): Allow "struct".
986 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
988 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
989 (FunctionArg::method): New function.
990 (empty, arg): New variables.
991 (main): Call arg.method.
992 * gdb.cp/templates.exp (test_template_args): New function.
995 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
997 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
998 of "next" to proceed over pthread_exit call.
1000 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1002 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1003 "maint print statistics" output to prevent expect timeouts.
1005 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1007 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1008 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1009 (test_float_rejected): ... here.
1010 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1011 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1012 (test_float_rejected): ... here.
1013 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1014 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1015 (test_float_rejected): ... here.
1016 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1017 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1018 (test_float_rejected): ... here.
1020 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1022 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1023 before disabling hardware watchpoints.
1024 (test_inaccessible_watchpoint): Check that hardware watchpoints
1025 are used. Test for watchpoints on a constant address.
1027 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1029 * gdb.base/ui-redirect.exp: New file.
1031 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1032 Joel Brobecker <brobecker@adacore.com>
1034 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1036 2010-08-31 Doug Evans <dje@google.com>
1038 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1040 2010-08-30 Tom Tromey <tromey@redhat.com>
1043 * gdb.python/py-value.exp (test_subscript_regression): Add
1046 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1048 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1049 instead of running to main. Do not test the main function.
1050 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1053 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1055 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1058 2010-08-24 Doug Evans <dje@google.com>
1061 * gdb.dwarf2/dw4-sig-types.cc: New file.
1062 * gdb.dwarf2/dw4-sig-types.h: New file.
1063 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1064 * gdb.dwarf2/dw4-sig-types.exp: New file.
1066 2010-08-23 Tom Tromey <tromey@redhat.com>
1069 * gdb.python/py-value.c (Base, Derived): New types.
1071 * gdb.python/py-value.exp (test_subscript_regression): Add
1074 2010-08-23 Tom Tromey <tromey@redhat.com>
1077 * gdb.python/py-type.exp (test_fields): Add tests for type
1080 2010-08-23 Tom Tromey <tromey@redhat.com>
1083 * gdb.python/py-type.exp (test_fields): Add tests for array.
1085 2010-08-23 Keith Seitz <keiths@redhat.com>
1087 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1088 have any children. Create a new abbrev for it.
1089 Add missing terminal sequence to .debug_abbrev.
1091 2010-08-20 Keith Seitz <keiths@redhat.com>
1094 * gdb.dwarf2/pr11465.exp: New test.
1095 * gdb.dwarf2/pr11465.S: New file.
1096 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1097 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1099 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1101 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1102 registers. Update data sets with the new v2_double element in the
1103 VSX register union. Add vector_register3_vr data set for the AltiVec
1104 registers. Use gdb_test_no_output instead of send_gdb.
1106 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1108 * gdb.python/py-shared.exp: New file, factored out from
1110 * gdb.python/py-shared.c: New file.
1111 * gdb.python/py-shared-sl.c: New file.
1112 * gdb.python/python-1.c: New file.
1113 * gdb.python/python-sl.c: Delete.
1114 * gdb.python/python.c: Mention python-1.c.
1115 * gdb.python/python.exp: Move shared library tests to
1117 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1118 (MISCELLANEOUS): New.
1119 (clean mostlyclean): Also remove $MISCELLANEOUS.
1121 2010-08-19 Doug Evans <dje@google.com>
1124 * gdb.base/printcmds.exp (test_float_accepted): New function.
1125 Move existing float tests there. Add tests for floats with suffixes.
1126 (test_float_rejected): New function.
1127 * gdb.java/jv-print.exp (test_float_accepted): New function.
1128 (test_float_rejected): New function.
1129 * gdb.objc/print.exp: New file.
1130 * gdb.pascal/print.exp: New file.
1131 * lib/objc.exp: New file.
1133 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1135 * gdb.base/default.exp (info set): Avoid full buffer error and force
1136 reading up to final gdb prompt.
1139 2010-08-18 Tom Tromey <tromey@redhat.com>
1142 * gdb.base/completion.exp: Add test.
1144 2010-08-18 Doug Evans <dje@google.com>
1146 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1147 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1148 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1149 Simplify, early exit if runto_main fails.
1150 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1151 (set_lang_fortran): Moved to lib/fortran.exp.
1152 * gdb.fortran/types.exp: load_lib fortran.exp.
1153 (set_lang_fortran): Moved to lib/fortran.exp.
1154 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1155 * gdb.java/jprint.exp (set_lang_java): Ditto.
1156 * gdb.java/jv-exp.exp: load_lib java.exp.
1157 If set_lang_java fails, issue a warning instead of failure to be
1158 consistent with other set_lang_foo uses.
1159 (set_lang_java): Moved to lib/java.exp.
1160 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1161 If set_lang_java fails, issue a warning instead of failure to be
1162 consistent with other set_lang_foo uses.
1163 * gdb.pascal/types.exp: load_lib pascal.exp.
1164 (set_lang_pascal): Moved to lib/pascal.exp.
1165 * lib/fortran.exp: New file.
1166 * lib/java.exp (set_lang_java): New function.
1167 * lib/pascal.exp (set_lang_pascal): New function.
1169 2010-08-18 Yao Qi <yao@codesourcery.com
1171 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1172 func_nofb_start and func_loopfb_start, so that address of functions
1173 is equal to these labels on Thumb.
1175 2010-08-18 Yao Qi <yao@codesourcery.com>
1177 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1178 to reflect latest c source file.
1180 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1182 * gdb.cp/infcall-dlopen.exp: New file.
1183 * gdb.cp/infcall-dlopen.cc: New file.
1184 * gdb.cp/infcall-dlopen-lib.cc: New file.
1186 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1187 Pedro Alves <pedro@codesourcery.com>
1189 PR breakpoints/11371
1191 * gdb.base/watch-cond-infcall.exp: New file.
1192 * gdb.base/watch-cond-infcall.c: New file.
1194 2010-08-16 Tom Tromey <tromey@redhat.com>
1196 * gdb.base/help.exp: Update.
1197 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1199 (test_watch_location): New proc.
1200 (test_watchpoint_in_big_blob): Delete watchpoint.
1201 * gdb.base/watchpoint.c (func5): New function.
1204 2010-08-16 Doug Evans <dje@google.com>
1206 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1208 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1210 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1213 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1215 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1216 * gdb.base/gnu_vector.c: New File.
1217 * gdb.base/gnu_vector.exp: Likewise.
1219 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1221 * gdb.python/python.c: New File.
1222 * gdb.python/python-sl.c: New File.
1223 * gdb.python/python.exp: Test solib_address and decode_line
1226 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1228 * gdb.python/python.exp (show height, set height 10)
1229 (verify pagination beforehand, verify pagination beforehand: q)
1230 (gdb.execute does not page, verify pagination afterwards)
1231 (verify pagination afterwards: q): New.
1233 2010-08-02 Doug Evans <dje@google.com>
1235 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1236 because of an older gcc, change test2
1237 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1240 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1242 * gdb.base/break-always.exp: Do not expect full paths to file
1244 * gdb.base/commands.exp: Likewise.
1246 2010-07-30 Doug Evans <dje@google.com>
1248 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1249 xfail them when run with older gccs.
1251 * lib/gdb.exp (build_executable): Forward "c++" option to
1254 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1255 "python print ttype.template_argument(1)" and
1256 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1257 if using gcc 4.4 or earlier.
1259 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1260 attach-to-debugger handling.
1262 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1264 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1265 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1266 (main): Use copyreloc.
1267 * gdb.base/prelink.exp (split debug of executable)
1268 (.dynbss vs. .bss address shift): New tests.
1270 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1272 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1273 in gdb_test_multiple.
1275 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1277 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1280 2010-07-28 Tom Tromey <tromey@redhat.com>
1283 * gdb.python/py-type.c (Temargs): New template.
1284 (temvar): New variable.
1285 * gdb.python/py-type.exp (test_template): New proc.
1287 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1289 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1290 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1292 2010-07-28 Tom Tromey <tromey@redhat.com>
1295 * gdb.cp/temargs.exp: New file.
1296 * gdb.cp/temargs.cc: New file.
1298 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1300 * gdb.base/help.exp (help disassemble): Update the content.
1302 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1304 * gdb.threads/ia64-sigill.exp: New file.
1305 * gdb.threads/ia64-sigill.c: New file.
1307 2010-07-27 Tom Tromey <tromey@redhat.com>
1309 * gdb.opt/inline-cmds.c (ATTR): New define.
1313 (outer_inline1): Likewise.
1314 (outer_inline2): Likewise.
1315 * gdb.opt/inline-bt.c (ATTR): New define.
1318 * gdb.opt/inline-locals.c (ATTR): New define.
1322 2010-07-27 Tom Tromey <tromey@redhat.com>
1324 * gdb.stabs/gdb11479.c (hack): New function.
1327 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1328 (int32_search_buf, int64_search_buf): No longer static.
1330 * gdb.base/relocate.c (hack): New function.
1332 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1334 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1335 * gdb.python/py-value.c (func1): New function.
1338 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1340 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1341 as not to clash with .data section.
1343 2010-07-26 Jerome Guitton <guitton@adacore.com>
1345 * gdb.base/code_elim.exp: New file.
1346 * gdb.base/code_elim1.c: New file.
1347 * gdb.base/code_elim2.c: New file.
1349 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1353 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1354 (some_volatile_enum): New variable.
1355 * gdb.base/printcmds.exp (test_print_enums): New.
1356 <top level>: Call it.
1358 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1360 * gdb.cp/fpointer.cc: New test.
1361 * gdb.cp/fpointer.exp: New test.
1363 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1365 * gdb.base/solib-nodir.exp: New file.
1366 * lib/gdb.exp (runto): New case for a GDB internal error.
1368 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1369 Ulrich Weigand <uweigand@de.ibm.com>
1370 Tom Tromey <tromey@redhat.com>
1372 * gdb.base/charset-malloc.c: New file.
1373 * gdb.base/charset.c (malloc_stub): New prototype.
1374 (main): Call it instead of malloc itself.
1375 * gdb.base/charset.exp: Use only prepare_for_testing.
1376 (binfile): Remove the variable.
1378 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1380 Make core files the process_stratum.
1381 * gdb.base/corefile.exp (run: load core again)
1382 (run: sanity check we see the core file, run: with core)
1383 (run: core file is cleared, attach: load core again)
1384 (attach: sanity check we see the core file, attach: with core)
1385 (attach: core file is cleared): New tests.
1386 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1388 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1390 * gdb.arch/altivec-abi.exp: New tests.
1392 2010-07-13 Tom Tromey <tromey@redhat.com>
1394 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1396 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1398 2010-07-13 Tom Tromey <tromey@redhat.com>
1400 * gdb.base/label.exp: New file.
1401 * gdb.base/label.c: New file.
1403 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1404 H.J. Lu <hongjiu.lu@intel.com>
1406 * lib/gdb.exp (is_ilp32_target): New.
1407 (is_lp64_target): Likewise.
1409 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1411 * gdb.arch/amd64-disp-step.exp: Likewise.
1412 * gdb.arch/amd64-dword.exp: Likewise.
1413 * gdb.arch/amd64-i386-address.exp: Likewise.
1414 * gdb.arch/amd64-word.exp: Likewise.
1416 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1418 * gdb.arch/i386-bp_permanent.exp: Likewise.
1419 * gdb.arch/i386-byte.exp: Likewise.
1420 * gdb.arch/i386-disp-step.exp: Likewise.
1421 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1422 * gdb.arch/i386-prologue.exp: Likewise.
1423 * gdb.arch/i386-size-overlap.exp: Likewise.
1424 * gdb.arch/i386-size.exp: Likewise.
1425 * gdb.arch/i386-sse.exp: Likewise.
1426 * gdb.arch/i386-unwind.exp: Likewise.
1427 * gdb.arch/i386-word.exp: Likewise.
1429 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1430 test only when building 64-bit executables. Do not hard-code
1433 2010-07-07 Doug Evans <dje@google.com>
1435 * lib/gdb.exp (gdb_test_list_exact): New function.
1436 * gdb.base/default.exp (show convenience): Call it, add tests for
1437 $_sdata = void, $_thread = 0.
1439 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1440 Joel Brobecker <brobecker@adacore.com>
1442 Fix re-run of PIE executable, PR shlibs/11776.
1443 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1444 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1445 and re-"run" of the inferior.
1447 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1448 Joel Brobecker <brobecker@adacore.com>
1450 Cope with missing /usr/sbin/prelink.
1451 * lib/prelink-support.exp (prelink_no):
1452 <result == 1 && $output is "no such file or directory">: New.
1453 (prelink_yes): Likewise. Return on failed prelink_no.
1455 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1456 Joel Brobecker <brobecker@adacore.com>
1458 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1459 build_executable by build_executable_own_libs. Replace "prelink -R"
1460 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1462 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1463 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1464 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1465 Replace build_executable by build_executable_own_libs's function
1466 build_executable_own_libs.
1467 (prelinkNO): Create new stub to call prelink_no.
1468 (prelinkYES): Create new stub to call prelink_yes.
1469 (test_attach): Rename calls of copy to file_copy.
1470 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1472 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1473 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1474 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1475 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1476 special flags by gdb_compile_shlib. Replace second gdb_compile by
1477 build_executable_own_libs. Replace "prelink -R" execution by a call of
1478 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1479 a second call of prelink_yes. Replace restart commands by
1481 (prelink): Rename to ...
1482 (seen displacement message): ... this test. Extend its expectation
1485 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1487 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1488 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1489 displacement message exactly once.
1491 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1492 Joel Brobecker <brobecker@adacore.com>
1494 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1495 its restore after the <$relink_args != ""> loop. new comment.
1497 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1498 Joel Brobecker <brobecker@adacore.com>
1500 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1501 code for it. New variable relink_args.
1502 (prelinkYES): Call prelinkNO.
1503 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1504 in such case. Move the core code to ...
1505 (test_attach_gdb): ... a new function. Send GDB command "file".
1506 Extend expected "Attaching to " string.
1508 2010-07-02 Tom Tromey <tromey@redhat.com>
1510 * gdb.base/bitops.exp: Remove extraneous "pass".
1512 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1514 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1516 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1518 * gdb.base/help.exp: Adjust expected output.
1520 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1522 * gdb.base/help.exp: Adjust expected output.
1524 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1526 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1527 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1530 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1531 Doug Evans <dje@google.com>
1533 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1534 add .dynamic entry'.
1536 2010-06-29 Doug Evans <dje@google.com>
1539 * gdb.cp/m-static.exp: Add testcase.
1540 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1542 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1543 Tom Tromey <tromey@redhat.com>
1544 Thiago Jung Bauermann <bauerman@br.ibm.com>
1546 * gdb.python/py-inferior.c: New File.
1547 * gdb.python/py-infthread.c: New File.
1548 * gdb.python/py-inferior.exp: New File.
1549 * gdb.python/py-infthread.exp: New File.
1551 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1553 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1554 (ptype ::C::OtherFileClass typedefs): New.
1555 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1556 (C::OtherFileClass::cOtherFileClassVar2): New.
1557 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1558 cOtherFileClassVar2.
1559 (C::cOtherFileType2, C::cOtherFileVar2): New.
1560 (C::cOtherFileVar_use): use also cOtherFileVar2.
1561 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1563 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1565 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1566 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1567 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1568 (print ::C::cOtherFileVar)
1569 (whatis C::OtherFileClass::cOtherFileClassType)
1570 (whatis ::C::OtherFileClass::cOtherFileClassType)
1571 (print C::OtherFileClass::cOtherFileClassVar)
1572 (print ::cOtherFileClassVar)
1573 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1574 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1576 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1577 (C::OtherFileClass::cOtherFileClassVar)
1578 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1579 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1581 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1583 Test PR c++/11703 and PR gdb/1448.
1584 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1587 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1589 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1590 (main) <rtti_data>: New.
1591 * gdb.cp/virtbase.exp (print rtti_data): New.
1593 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1594 Joel Brobecker <brobecker@adacore.com>
1596 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1598 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1600 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1602 2010-06-28 Doug Evans <dje@google.com>
1604 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1606 2010-06-27 Doug Evans <dje@google.com>
1608 * gdb.cp/m-static.exp: Update expected test output.
1610 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1612 * gdb.gdb/selftest.exp: Adjust expected message for
1613 capturing start-up runtime.
1615 2010-06-25 Tom Tromey <tromey@redhat.com>
1618 * gdb.python/python.exp: Add new tests.
1620 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1622 * gdb.cp/operator.cc: Created an import loop.
1623 * gdb.cp/operator.exp: Added testcase for import loop.
1625 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1627 Test PR python/11407.
1628 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1629 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1630 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1631 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1632 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1633 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1634 binfile. Call gdb_compile with clean_restart twice.
1635 (func_nofb print, func_nofb backtrace, func_loopfb print)
1636 (func_loopfb backtrace): New.
1638 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1640 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1641 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1643 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1644 i?86 requirement. Remove variables srcfile and binfile. New variable
1645 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1647 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1649 * gdb.cell/dwarfaddr.exp: New file.
1650 * gdb.cell/dwarfaddr.S: New file.
1652 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1655 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1657 2010-06-24 Hui Zhu <teawater@gmail.com>
1659 * gdb.base/eval.exp: New file.
1661 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1663 * gdb.cell/fork.exp: New file.
1664 * gdb.cell/fork.c: Likewise.
1665 * gdb.cell/fork-spu.c: Likewise.
1667 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1669 * lib/gdb.exp (banned_variables_traced): New global variable.
1670 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1671 (gdb_init): Use `trace add variable' instead of obsolete
1674 2010-06-21 Doug Evans <dje@google.com>
1676 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1678 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1680 * gdb.arch/spu-ls.exp: New file.
1681 * gdb.arch/spu-ls.c: Likewise.
1683 2010-06-18 Stan Shebs <stan@codesourcery.com>
1685 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1687 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1689 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1690 * gdb.base/watch-cond.exp: Likewise.
1691 * gdb.python/py-breakpoint.exp: Likewise.
1693 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1695 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1696 clean_restart, make sure every test has a distinct message, and
1697 that messages don't include the executable' full path.
1699 2010-06-17 Doug Evans <dje@google.com>
1701 * gdb.arch/i386-size.exp: Updated expected output for
1702 DISASSEMBLY_OMIT_FNAME.
1704 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1705 Sergio Durigan Junior <sergiodj@redhat.com>
1707 * gdb.base/watch-notconst.c: New file.
1708 * gdb.base/watch-notconst.S: New file.
1709 * gdb.base/watch-notconst2.c: New file.
1710 * gdb.base/watch-notconst2.S: New file.
1711 * gdb.base/watch-notconst.exp: New file.
1712 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1713 (func4): Add operations on `global_ptr_ptr'.
1714 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1715 routine to test watchpoints created with a constant expression.
1716 (test_inaccessible_watchpoint): Include tests for watchpoints
1717 created with a constant expression.
1719 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1721 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1722 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1723 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1724 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1725 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1726 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1727 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1730 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1732 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1733 not supported on the target.
1734 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1735 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1736 * gdb.mi/mi-nsintrall.exp: Likewise.
1737 * gdb.mi/mi-nsmoribund.exp: Likewise.
1738 * gdb.mi/mi-nsthrexec.exp: Likewise.
1740 2010-06-11 Stan Shebs <stan@codesourcery.com>
1742 * gdb.base/permissions.exp: New file.
1744 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1746 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1747 does not support ELF executable class.
1749 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1751 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1753 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1755 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1756 (runto): Catch "The target does not support running in non-stop mode.".
1758 2010-06-11 Michael Snyder <msnyder@vmware.com>
1760 * gdb.base/setshow.exp (set language asm): Don't use
1761 gdb_test_no_output, fails on some targets.
1763 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1765 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1766 * gdb.cp/pr9167.exp: Likewise.
1768 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1770 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1772 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1774 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1776 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1778 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1780 2010-06-11 Tom Tromey <tromey@redhat.com>
1782 PR gdb/9977, PR exp/11636::
1783 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1784 (pieces_test_f6): Update expected output.
1786 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1788 * gdb.base/moribund-step.exp: New.
1790 2010-06-08 Michael Snyder <msnyder@vmware.com>
1792 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1793 * gdb.ada/boolean_expr.exp:
1794 * gdb.ada/frame_args.exp: Ditto.
1795 * gdb.ada/lang_switch.exp: Ditto.
1796 * gdb.ada/ptype_arith_binop.exp: Ditto.
1797 * gdb.ada/ref_param.exp: Ditto.
1798 * gdb.ada/type_coercion.exp:Ditto.
1800 * gdb.asm/asm-source.exp: Ditto.
1802 * gdb.base/attach.exp: Ditto.
1803 * gdb.base/bitfields2.exp: Ditto.
1804 * gdb.base/call-signal-resume.exp: Ditto.
1805 * gdb.base/callfuncs.exp: Ditto.
1806 * gdb.base/commands.exp: Ditto.
1807 * gdb.base/dbx.exp: Ditto.
1808 * gdb.base/default.exp: Ditto.
1809 * gdb.base/dump.exp: Ditto.
1810 * gdb.base/exprs.exp: Ditto.
1811 * gdb.base/freebpcmd.exp: Ditto.
1812 * gdb.base/interrupt.exp: Ditto.
1813 * gdb.base/list.exp: Ditto.
1814 * gdb.base/long_long.exp: Ditto.
1815 * gdb.base/maint.exp: Ditto.
1816 * gdb.base/ptype.exp: Ditto.
1817 * gdb.base/return.exp: Ditto.
1818 * gdb.base/setshow.exp: Ditto.
1819 * gdb.base/sigbpt.exp: Ditto.
1820 * gdb.base/sigrepeat.exp: Ditto.
1822 * gdb.cp/classes.exp: Ditto.
1824 * gdb.dwarf2/dw2-restore.exp: Ditto.
1826 * gdb.gdb/selftest.exp: Ditto.
1828 * gdb.multi/base.exp: Ditto.
1829 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1831 * gdb.python/py-block.exp: Ditto.
1832 * gdb.python/py-prettyprint.exp: Ditto.
1833 * gdb.python/py-template.exp: Ditto.
1835 * gdb.server/ext-attach.exp: Ditto.
1836 * gdb.server/ext-run.exp: Ditto.
1837 * gdb.server/server-mon.exp: Ditto.
1839 * gdb.threads/fork-thread-pending.exp: Ditto.
1840 * gdb.threads/hand-call-in-threads.exp: Ditto.
1841 * gdb.threads/interrupted-hand-call.exp: Ditto.
1842 * gdb.threads/linux-dp.exp: Ditto.
1843 * gdb.threads/manythreads.exp: Ditto.
1844 * gdb.threads/print-threads.exp: Ditto.
1845 * gdb.threads/pthreads.exp: Ditto.
1846 * gdb.threads/schedlock.exp: Ditto.
1847 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1848 * gdb.threads/threadapply.exp: Ditto.
1850 2010-06-08 Michael Snyder <msnyder@vmware.com>
1852 * gdb.ada/exec_changed.exp:
1853 Use ".*" instead of "" as wildcard regexp.
1855 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1856 * gdb.base/call-ar-st.exp: Ditto.
1857 * gdb.base/checkpoint.exp: Ditto.
1858 * gdb.base/default.exp: Ditto.
1859 * gdb.base/dump.exp: Ditto.
1860 * gdb.base/ending-run.exp: Ditto.
1861 * gdb.base/fileio.exp: Ditto.
1862 * gdb.base/miscexprs.exp: Ditto.
1863 * gdb.base/pointers.exp: Ditto.
1864 * gdb.base/readline.exp: Ditto.
1865 * gdb.base/reread.exp: Ditto.
1866 * gdb.base/restore.exp: Ditto.
1867 * gdb.base/shlib-call.exp: Ditto.
1868 * gdb.base/valgrind-db-attach.exp: Ditto.
1869 * gdb.base/volatile.exp: Ditto.
1870 * gdb.base/watchpoints.exp: Ditto.
1872 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1874 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1875 * gdb.python/py-value.exp: Ditto.
1877 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1878 * gdb.trace/circ.exp: Ditto.
1879 * gdb.trace/collection.exp: Ditto.
1880 * gdb.trace/packetlen.exp: Ditto.
1881 * gdb.trace/passc-dyn.exp: Ditto.
1882 * gdb.trace/report.exp: Ditto.
1883 * gdb.trace/tfile.exp: Ditto.
1884 * gdb.trace/tfind.exp: Ditto.
1885 * gdb.trace/while-dyn.exp: Ditto.
1887 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1889 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1891 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1894 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1896 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1898 * gdb.cp/koenig.exp: Test for ADL operators.
1899 * gdb.cp/koenig.cc: Added ADL operators.
1900 * gdb.cp/operator.exp: New test.
1901 * gdb.cp/operator.cc: New test.
1903 2010-06-04 Michael Snyder <msnyder@vmware.com>
1905 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1906 * gdb.base/pending.exp: Ditto.
1908 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1910 2010-06-04 Doug Evans <dje@google.com>
1912 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1914 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1915 (enable_lookup_function): New function.
1917 2010-06-04 Tom Tromey <tromey@redhat.com>
1919 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1922 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1924 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1926 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1927 (empty verbose non-noisy clear, empty verbose noisy clear)
1928 (empty non-verbose noisy clear): Likewise.
1930 2010-06-03 Michael Snyder <msnyder@vmware.com>
1932 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1933 * gdb.base/display.exp: Ditto.
1934 * gdb.base/find.exp: Ditto.
1935 * gdb.base/ifelse.exp: Ditto.
1936 * gdb.base/multi-forks.exp: Ditto.
1937 * gdb.base/recurse.exp: Ditto.
1938 * gdb.base/setshow.exp: Ditto.
1939 * gdb.base/value-double-free.exp: Ditto.
1940 * gdb.base/watch-vfork.exp: Ditto.
1941 * gdb.base/watch_thread_num.exp: Ditto.
1942 * gdb.base/watchpoint-solib.exp: Ditto.
1943 * gdb.base/watchpoint.exp: Ditto.
1944 * gdb.base/watchpoints.exp: Ditto.
1946 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1947 * gdb.cp/overload.exp: Ditto.
1948 * gdb.cp/virtfunc.exp: Ditto.
1950 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1952 * gdb.reverse/watch-precsave.exp:
1953 Replace gdb_test with gdb_test_no_output.
1955 * gdb.threads/attach-into-signal.exp:
1956 Replace gdb_test with gdb_test_no_output.
1957 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1958 * gdb.threads/watchthreads.exp: Ditto.
1959 * gdb.threads/watchthreads2.exp: Ditto.
1961 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
1962 * gdb.trace/tfind.exp: Ditto.
1964 2010-06-03 Joel Brobecker <brobecker@adacore.com>
1966 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
1967 successful test if message is the empty string.
1969 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1971 * gdb.fortran/module.exp (stopped language detection): New test.
1973 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1975 Support DW_TAG_module as separate namespaces.
1976 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
1977 gdb.fortran/library-module-lib.f90: New.
1978 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
1980 (continue to breakpoint: i-is-1, print var_i value 1)
1981 (continue to breakpoint: i-is-2, print var_i value 2)
1982 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
1983 (print var_d, print var_i value 14, ptype modmany, complete `modm)
1984 (complete `modmany, complete `modmany`, complete `modmany`var)
1985 (show language, setting breakpoint at module): New tests.
1986 * gdb.fortran/module.f90 (module mod): Remove.
1987 (module mod1, module mod2, module modmany, subroutine sub1)
1988 (subroutine sub2, program module): New.
1990 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1992 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
1993 (print value of rUC, print value of rI, print value of UI): ... here.
1994 * gdb.cp/anon-union.exp (pass): Rename to ...
1995 (print z 2): ... here.
1997 2010-06-02 Michael Snyder <msnyder@vmware.com>
1999 * gdb.trace/actions.exp: Use gdb_test_no_output.
2000 * gdb.trace/circ.exp: Ditto.
2001 * gdb.trace/packetlen.exp: Ditto.
2002 * gdb.trace/save-trace.exp: Ditto.
2003 * gdb.trace/tracecmd.exp: Ditto.
2004 * gdb.trace/tsv.exp: Ditto.
2006 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2007 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2008 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2009 * gdb.threads/manythreads.exp: Ditto.
2010 * gdb.threads/print-threads.exp: Ditto.
2011 * gdb.threads/pthreads.exp: Ditto.
2012 * gdb.threads/schedlock.exp: Ditto.
2013 * gdb.threads/staticthreads.exp: Ditto.
2014 * gdb.threads/thread-specific.exp: Ditto.
2015 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2016 * gdb.threads/threadapply.exp: Ditto.
2017 * gdb.threads/watchthreads.exp: Ditto.
2018 * gdb.threads/watchthreads2.exp: Ditto.
2020 * gdb.python/py-block.exp: Use gdb_test_no_output.
2021 * gdb.python/py-prettyprint.exp: Ditto.
2022 * gdb.python/py-template.exp: Ditto.
2023 * gdb.python/py-value.exp: Ditto.
2025 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2026 * gdb.reverse/watch-reverse.exp: Ditto.
2028 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2029 * gdb.server/ext-run.exp: Ditto.
2031 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2032 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2033 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2034 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2035 * gdb.dwarf2/dw2-producer.exp: Ditto.
2036 * gdb.dwarf2/mac-fileno.exp: Ditto.
2038 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2039 * gdb.gdb/selftest.exp: Ditto.
2041 * gdb.multi/base.exp: Use gdb_test_no_output.
2043 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2045 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2047 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2049 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2051 * gdb.cp/class2.exp: Use gdb_test_no_output.
2052 * gdb.cp/classes.exp: Ditto.
2053 * gdb.cp/extern-c.exp: Ditto.
2054 * gdb.cp/inherit.exp: Ditto.
2055 * gdb.cp/maint.exp: Ditto.
2056 * gdb.cp/mb-inline.exp: Ditto.
2057 * gdb.cp/mb-templates.exp: Ditto.
2058 * gdb.cp/method2.exp: Ditto.
2059 * gdb.cp/misc.exp: Ditto.
2060 * gdb.cp/ovldbreak.exp: Ditto.
2061 * gdb.cp/punctuator.exp: Ditto.
2062 * gdb.cp/templates.exp: Ditto.
2063 * gdb.cp/virtbase.exp: Ditto.
2065 * gdb.threads/attach-stopped.exp:
2066 Replace uses of send_gdb / gdb_expect.
2067 * gdb.threads/attachstop-mt.exp:
2068 Replace uses of send_gdb / gdb_expect.
2069 * gdb.threads/gcore-thread.exp:
2070 Replace uses of send_gdb / gdb_expect.
2071 * gdb.threads/hand-call-in-threads.exp:
2072 Replace uses of send_gdb / gdb_expect.
2073 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2074 * gdb.threads/print-threads.exp:
2075 Replace uses of send_gdb / gdb_expect.
2076 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2077 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2078 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2080 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2081 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2082 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2083 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2084 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2085 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2086 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2087 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2088 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2089 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2090 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2092 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2096 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2098 * gdb.cp/koenig.exp: Added new test case.
2099 * gdb.cp/koenig.cc: Ditto.
2101 2010-06-01 Michael Snyder <msnyder@vmware.com>
2103 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2104 * gdb.base/arrayidx.exp: Ditto.
2105 * gdb.base/attach.exp: Ditto.
2106 * gdb.base/auxv.exp: Ditto.
2107 * gdb.base/bigcre.exp: Ditto.
2108 * gdb.base/break-always.exp: Ditto.
2109 * gdb.base/break-interp.exp: Ditto.
2110 * gdb.base/break.exp: Ditto.
2111 * gdb.base/breakpoint-shadow.exp: Ditto.
2112 * gdb.base/call-ar-st.exp: Ditto.
2113 * gdb.base/call-sc.exp: Ditto.
2114 * gdb.base/call-signal-resume.exp: Ditto.
2115 * gdb.base/callfuncs.exp: Ditto.
2116 * gdb.base/catch-syscall.exp: Ditto.
2117 * gdb.base/charset.exp: Ditto.
2118 * gdb.base/code-expr.exp: Ditto.
2119 * gdb.base/commands.exp: Ditto.
2120 * gdb.base/cond-expr.exp: Ditto.
2121 * gdb.base/condbreak.exp: Ditto.
2122 * gdb.base/cursal.exp: Ditto.
2123 * gdb.base/cvexpr.exp: Ditto.
2124 * gdb.base/default.exp: Ditto.
2125 * gdb.base/del.exp: Ditto.
2126 * gdb.base/detach.exp: Ditto.
2127 * gdb.base/display.exp: Ditto.
2128 * gdb.base/ena-dis-br.exp: Ditto.
2129 * gdb.base/eval-skip.exp: Ditto.
2130 * gdb.base/foll-fork.exp: Ditto.
2131 * gdb.base/foll-vfork.exp: Ditto.
2132 * gdb.base/frame-args.exp: Ditto.
2133 * gdb.base/funcargs.exp: Ditto.
2134 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2135 * gdb.base/gdbvars.exp: Ditto.
2136 * gdb.base/help.exp: Ditto.
2137 * gdb.base/ifelse.exp: Ditto.
2138 * gdb.base/included.exp: Ditto.
2139 * gdb.base/list.exp: Ditto.
2140 * gdb.base/macscp.exp: Ditto.
2141 * gdb.base/maint.exp: Ditto.
2142 * gdb.base/multi-fork.exp: Ditto.
2143 * gdb.base/overlays.exp: Ditto.
2144 * gdb.base/page.exp: Ditto.
2145 * gdb.base/pending.exp: Ditto.
2146 * gdb.base/pointers.exp: Ditto.
2147 * gdb.base/pr11022.exp: Ditto.
2148 * gdb.base/prelink.exp: Ditto.
2149 * gdb.base/printcmds.exp: Ditto.
2150 * gdb.base/psymtab.exp: Ditto.
2151 * gdb.base/randomize.exp: Ditto.
2152 * gdb.base/relational.exp: Ditto.
2153 * gdb.base/relocate.exp: Ditto.
2154 * gdb.base/remote.exp: Ditto.
2155 * gdb.base/sepdebug.exp: Ditto.
2156 * gdb.base/set-lang-auto.exp: Ditto.
2157 * gdb.base/setshow.exp: Ditto.
2158 * gdb.base/setvar.exp: Ditto.
2159 * gdb.base/signals.exp: Ditto.
2160 * gdb.base/signull.exp: Ditto.
2161 * gdb.base/sigstep.exp: Ditto.
2162 * gdb.base/sizeof.exp: Ditto.
2163 * gdb.base/solib-disc.exp: Ditto.
2164 * gdb.base/store.exp: Ditto.
2165 * gdb.base/structs.exp: Ditto.
2166 * gdb.base/structs2.exp: Ditto.
2167 * gdb.base/subst.exp: Ditto.
2168 * gdb.base/term.exp: Ditto.
2169 * gdb.base/trace-commands.exp: Ditto.
2170 * gdb.base/unwindonsignal.exp: Ditto.
2171 * gdb.base/valgrind-db-attach.exp: Ditto.
2172 * gdb.base/varargs.exp: Ditto.
2173 * gdb.base/watch-cond.exp: Ditto.
2174 * gdb.base/watch_thread_num.exp: Ditto.
2175 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2176 * gdb.base/watchpoint.exp: Ditto.
2177 * gdb.base/whatis-exp.exp: Ditto.
2179 2010-06-01 Michael Snyder <msnyder@vmware.com>
2181 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2182 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2183 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2184 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2185 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2186 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2187 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2188 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2189 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2190 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2191 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2192 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2193 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2194 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2195 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2197 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2199 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2201 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2202 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2203 (p *args): ... here and remove excessive trailing newline.
2205 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2207 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2209 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2211 Accept the new Linux kernel "t (tracing stop)" string.
2212 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2214 (state_wait) <T (tracing stop)>: New.
2215 (main): Update the state_wait expect string.
2217 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2219 * limits.c, limits.exp: Delete files.
2220 * Makefile.in (clean mostlyclean): Adjust.
2221 * tracecmd.exp: Adjust.
2223 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2225 * gdb.base/tui-layout.exp: New.
2227 2010-05-28 Michael Snyder <msnyder@vmware.com>
2229 * gdb.reverse/break-precsave.exp:
2230 Replace uses of send_gdb / gdb_expect.
2231 * gdb.reverse/break-reverse.exp:
2232 Replace uses of send_gdb / gdb_expect.
2233 * gdb.reverse/consecutive-precsave.exp:
2234 Replace uses of send_gdb / gdb_expect.
2235 * gdb.reverse/consecutive-reverse.exp:
2236 Replace uses of send_gdb / gdb_expect.
2237 * gdb.reverse/finish-precsave.exp:
2238 Replace uses of send_gdb / gdb_expect.
2239 * gdb.reverse/finish-reverse.exp:
2240 Replace uses of send_gdb / gdb_expect.
2241 * gdb.reverse/i386-precsave.exp:
2242 Replace uses of send_gdb / gdb_expect.
2243 * gdb.reverse/i386-reverse.exp:
2244 Replace uses of send_gdb / gdb_expect.
2245 * gdb.reverse/i386-sse-reverse.exp:
2246 Replace uses of send_gdb / gdb_expect.
2247 * gdb.reverse/i387-env-reverse.exp:
2248 Replace uses of send_gdb / gdb_expect.
2249 * gdb.reverse/i387-stack-reverse.exp:
2250 Replace uses of send_gdb / gdb_expect.
2251 * gdb.reverse/machinestate-precsave.exp:
2252 Replace uses of send_gdb / gdb_expect.
2253 * gdb.reverse/machinestate.exp:
2254 Replace uses of send_gdb / gdb_expect.
2255 * gdb.reverse/sigall-precsave.exp:
2256 Replace uses of send_gdb / gdb_expect.
2257 * gdb.reverse/sigall-reverse.exp:
2258 Replace uses of send_gdb / gdb_expect.
2259 * gdb.reverse/solib-precsave.exp:
2260 Replace uses of send_gdb / gdb_expect.
2261 * gdb.reverse/solib-reverse.exp:
2262 Replace uses of send_gdb / gdb_expect.
2263 * gdb.reverse/step-precsave.exp:
2264 Replace uses of send_gdb / gdb_expect.
2265 * gdb.reverse/step-reverse.exp:
2266 Replace uses of send_gdb / gdb_expect.
2267 * gdb.reverse/until-precsave.exp:
2268 Replace uses of send_gdb / gdb_expect.
2269 * gdb.reverse/until-reverse.exp:
2270 Replace uses of send_gdb / gdb_expect.
2271 * gdb.reverse/watch-precsave.exp:
2272 Replace uses of send_gdb / gdb_expect.
2273 * gdb.reverse/watch-reverse.exp:
2274 Replace uses of send_gdb / gdb_expect.
2276 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2278 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2281 2010-05-27 Michael Snyder <msnyder@vmware.com>
2283 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2284 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2285 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2286 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2287 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2288 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2289 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2290 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2291 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2292 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2293 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2294 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2295 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2296 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2297 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2298 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2299 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2300 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2301 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2303 2010-05-26 Michael Snyder <msnyder@vmware.com>
2305 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2306 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2308 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2309 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2310 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2312 * gdb.reverse/consecutive-reverse.exp:
2313 Replace uses of send_gdb / gdb_expect.
2314 * gdb.reverse/consecutive-precsave.exp:
2315 Replace uses of send_gdb / gdb_expect.
2317 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2318 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2319 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2320 * gdb.mi/mi-ns-stale-regcache.exp:
2321 Replace uses of send_gdb / gdb_expect.
2322 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2323 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2324 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2325 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2326 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2327 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2328 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2329 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2330 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2332 2010-05-26 Michael Snyder <msnyder@vmware.com>
2334 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2336 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2338 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2339 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2340 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2341 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2342 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2343 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2344 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2345 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2346 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2348 2010-05-25 Tom Tromey <tromey@redhat.com>
2350 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2352 2010-05-25 Tom Tromey <tromey@redhat.com>
2354 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2356 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2357 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2359 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2361 * gdb.base/call-sc.exp (setup_kfails): Remove.
2362 (setup_compiler_kfails): Remove.
2363 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2365 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2366 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2367 (advancei): Fix setup_kfail argument order.
2368 * gdb.base/radix.exp: Fix setup_kfail argument order.
2369 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2371 * gdb.base/structs.exp (setup_kfails): Remove.
2372 (setup_compiler_kfails): Fix setup_kfail argument order.
2373 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2375 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2376 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2377 setup_kfail argument order.
2378 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2380 2010-05-25 Tom Tromey <tromey@redhat.com>
2382 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2384 2010-05-25 Michael Snyder <msnyder@vmware.com>
2386 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2387 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2388 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2389 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2390 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2391 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2392 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2393 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2394 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2395 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2396 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2397 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2398 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2399 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2400 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2401 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2402 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2403 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2404 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2405 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2406 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2407 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2408 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2409 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2410 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2411 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2412 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2413 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2414 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2415 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2416 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2417 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2418 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2419 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2420 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2421 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2422 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2423 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2424 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2425 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2426 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2427 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2428 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2429 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2430 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2431 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2432 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2433 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2435 2010-05-25 Doug Evans <dje@google.com>
2437 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2440 2010-05-21 Tom Tromey <tromey@redhat.com>
2442 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2444 * gdb.dwarf2/pieces.S: Update.
2445 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2447 2010-05-21 Tom Tromey <tromey@redhat.com>
2449 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2451 * gdb.dwarf2/pieces.c (struct C): New.
2453 * gdb.dwarf2/pieces.S: Replace.
2455 2010-05-21 Tom Tromey <tromey@redhat.com>
2457 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2460 2010-05-21 Tom Tromey <tromey@redhat.com>
2462 * gdb.dwarf2.pieces.exp: New file.
2463 * gdb.dwarf2.pieces.S: New file.
2464 * gdb.dwarf2.pieces.c: New file.
2466 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2467 Joel Brobecker <brobecker@adacore.com>
2469 * lib/gdb.exp (gdb_test_no_output): New function.
2470 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2471 when testing commands that should produce no output.
2473 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2475 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2476 parameter that we want to watch being a constant.
2478 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2480 * gdb.ada/cond_lang: New testcase.
2482 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2484 * lib/gdb.exp (banned_variables): New variable/constant.
2485 (gdb_init): Add write trace on variables listed in banned_variables.
2486 (gdb_finish): Remove write traces on variables listed in
2489 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2491 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2492 * gdb.cp/koenig.exp: Likewise.
2494 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2498 * gdb.python/py-value.exp (test_value_hash): New function.
2500 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2503 * gdb.base/gdb11530.c: New file.
2504 * gdb.base/gdb11530.exp: New file.
2506 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2508 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2509 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2511 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2513 * gdb.cp/koenig.exp: New test.
2514 * gdb.cp/koenig.cc: New test program.
2516 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2518 Remove the use of prms_id and bug_id throughout the testsuite.
2520 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2523 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2524 use a reference local variable.
2526 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2528 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2529 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2530 variable different_dir. Move debugfile into a full directory pathname
2531 under DIFFERENT_DIR.
2532 * lib/gdb.exp (separate_debug_filename): Remove.
2533 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2534 variable debug_dir and mkdir of it. Update function comments.
2536 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2540 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2543 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2545 * gdb.python/py-param.exp: New File.
2547 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2549 * gdb.base/default.exp: Fix "set language" test.
2551 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2553 PR breakpoints/11531.
2554 * gdb.base/gdb11531.c: New file.
2555 * gdb.base/gdb11531.exp: New file.
2557 2010-04-26 Tom Tromey <tromey@redhat.com>
2559 * gdb.base/completion.exp: Add tests for completion and deprecated
2562 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2564 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2565 (print /x char_array): Escape curly brackets.
2567 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2569 Fix deadlock on looped list of loaded shared objects.
2570 * gdb.base/solib-corrupted.exp: New.
2572 2010-04-23 Doug Evans <dje@google.com>
2574 * gdb.python/py-section-script.c: New file.
2575 * gdb.python/py-section-script.exp: New file.
2576 * gdb.python/py-section-script.py: New file.
2578 2010-04-20 Chris Moller <cmoller@redhat.com>
2582 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2583 * gdb.base/pr10179-a.c:
2584 * gdb.base/pr10179-b.c:
2585 * gdb.base/pr10179.exp: New files.
2587 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2589 Fix crashes on dangling display expressions.
2590 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2592 (lib_flags): Remove the "debug" keyword.
2593 (libsepdebug): New variable for iterating new loop.
2594 (save_pf_prefix): New variable wrapping the loop.
2595 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2596 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2598 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2600 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2602 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2605 * gdb.stabs/gdb11479.exp: New file.
2606 * gdb.stabs/gdb11479.c: New file.
2608 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2610 * gdb.base/charset.c (Strin16, String32): New variables.
2611 * gdb.base/charset.exp (gdb_test): Test correct display
2612 of 16 or 32 bit strings.
2614 2010-04-21 Chris Moller <cmoller@redhat.com>
2617 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2618 * gdb.cp/pr9167.cc: New file.
2619 * gdb.cp/pr9167.exp: New file.
2622 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2625 * gdb.pascal/gdb11492.pas: New file.
2626 * gdb.pascal/gdb11492.exp: New file.
2628 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2630 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2632 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2634 * gdb.ada/dyn_loc: New testcase.
2636 2010-04-20 Chris Moller <cmoller@redhat.com>
2640 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2641 * gdb.cp/pr10687.cc: New file.
2642 * gdb.cp/pr10687.exp: New file.
2645 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 Sergio Durigan Junior <sergiodj@redhat.com>
2648 * gdb.fortran/logical.exp: New testcase.
2649 * gdb.fortran/logical.f90: New file.
2651 2010-04-19 Doug Evans <dje@google.com>
2653 * gdb.base/help.exp (help source): Update expected output.
2655 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2657 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2658 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2659 gdb_exit and return.
2660 (executable): New variable.
2663 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2665 PR breakpoints/8554.
2667 * gdb.trace/save-trace.exp: Adjust.
2669 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2672 * gdb.arch/system-gcore.exp: New.
2673 * gdb.arch/gcore.c: Likewise.
2675 2010-04-15 Doug Evans <dje@google.com>
2677 * gdb.python/py-progspace.c: New file.
2678 * gdb.python/py-progspace.exp: New file.
2680 * gdb.base/source.exp: Add tests for "source -s".
2682 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2684 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2685 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2686 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2687 * gdb.python/py-mi.exp: New test for to_string returning None.
2689 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2691 * gdb.python/py-breakpoint.c: Make result global.
2693 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2695 Fix non-GNU make compatibility.
2696 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2698 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2700 * gdb.python/py-breakpoint.exp: New File.
2701 * gdb.python/py-breakpoint.C: Ditto.
2703 2010-04-08 Stan Shebs <stan@codesourcery.com>
2705 * gdb.trace/actions.exp: Clear default-collect.
2706 * gdb.trace/save-trace.exp: Clear default-collect.
2708 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2710 * gdb.python/py-value: Add null string variable.
2711 (test_lazy_string): Test zero length, NULL address lazy
2714 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2716 * gdb.arch/i386-avx.c: New.
2717 * gdb.arch/i386-avx.exp: Likewise.
2719 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2721 2010-04-06 Doug Evans <dje@google.com>
2723 * gdb.base/source-test.gdb: New file.
2724 * gdb.base/source.exp: Test source -v.
2726 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2728 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2730 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2732 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2733 within one line, unless it is followed by a double quote.
2734 * gdb.stabs/hppa.sed: Idem.
2735 * gdb.stabs/weird.def: Add char and String constants
2736 * gdb.stabs/weird.exp: Check for correct parsing of
2737 char and string constants.
2738 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2739 in .stabs to .stabx substitution.
2741 2010-04-05 Stan Shebs <stan@codesourcery.com>
2743 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2745 * gdb.trace/tfile.exp: Try to print them.
2747 2010-04-04 Stan Shebs <stan@codesourcery.com>
2749 * gdb.base/completion.exp: Update for new "info watchpoints".
2750 * gdb.base/default.exp: Ditto.
2751 * gdb.base/help.exp: Ditto.
2752 * gdb.base/watchpoint.exp: Ditto.
2753 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2755 2010-04-04 Stan Shebs <stan@codesourcery.com>
2757 * gdb.trace/tfile.exp: Sharpen tfind test.
2759 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2761 * gdb.base/break-entry.exp: New.
2763 2010-04-02 Hui Zhu <teawater@gmail.com>
2764 Michael Snyder <msnyder@vmware.com>
2766 * gdb.reverse/i386-sse-reverse.exp: New file.
2767 * gdb.reverse/i386-sse-reverse.c: New file.
2769 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2771 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2773 2010-04-01 Stan Shebs <stan@codesourcery.com>
2775 * gdb.trace/actions.exp: Tweak expected output.
2776 * gdb.trace/while-stepping.exp: Tweak expected output.
2778 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2780 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2782 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2784 * gdb.base/commands.exp: Adjust.
2785 * gdb.cp/extern-c.exp: Adjust.
2787 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2789 * gdb.trace/collection.c (local_test_func): Define a local struct,
2792 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2794 * gdb.trace/collection.exp (gdb_collect_args_test)
2795 (gdb_collect_argarray_test): XFAIL the tests that assume the
2796 argarray argument's elements are collected.
2798 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2800 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2801 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2803 2010-03-31 Stan Shebs <stan@codesourcery.com>
2805 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2806 and tracepoint conditionals.
2807 (gdb_verify_tracepoints): Delete unused return.
2809 2010-03-26 Keith Seitz <keiths@redhat.com>
2811 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2812 appear in the output before main.
2813 Remove KFAIL for gdb/2215 aka bz 9320.
2815 2010-03-30 Doug Evans <dje@google.com>
2817 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2819 * gdb.arch/amd64-dword.exp: Ditto.
2821 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2823 (break printf): Ditto.
2825 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2827 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2829 * gdb.cp/shadow.exp: Ditto.
2831 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2833 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2836 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2838 * gdb.trace/collection.exp (executable): New.
2840 (fpreg, spreg, pcreg): New.
2841 (test_register): Use gdb_test_multiple. Pass /x to print.
2842 (prepare_for_trace_test): New.
2843 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2844 (gdb_collect_args_test, gdb_collect_argstruct_test)
2845 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2846 prepare_for_trace_test.
2847 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2848 fpreg, spreg and pcreg.
2849 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2850 prepare_for_trace_test.
2851 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2852 try to detect tracing support here. Don't set breakpoints at
2853 `begin' or `end' here.
2854 <global scope>: Use clean_restart. Run to main before checking
2855 for tracing support. Check for for tracing support here.
2857 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2859 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2860 " as $displacement" to "seen displacement message".
2862 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2864 * gdb.trace/while-dyn.exp (executable): New variable.
2866 (test_while_stepping): New function. Move most tests here. Call
2867 it once for each of the while-stepping, stepping and ws aliases.
2869 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2871 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2872 that do not provide the tagless_struct type name at all.
2873 (test_print_anon_union): Do not check value of uninitialized
2874 union member. Do not use cp_test_ptype_class, so we can accept
2875 "long" as well as "long int".
2877 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2879 * gdb.trace/tfile.c (tohex, bin2hex): New.
2880 (write_error_trace_file): Hexify error description.
2882 2010-03-25 Stan Shebs <stan@codesourcery.com>
2884 * gdb.trace/tfile.c: Generate an additional trace file, improve
2886 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2887 files in a better way.
2889 2010-03-25 Keith Seitz <keiths@redhat.com>
2891 * gdb.java/jprint.exp: XFAIL printing of static class members
2892 because of GCC debuginfo problem.
2894 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2896 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2898 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2900 * gdb.base/completion.exp: Allow long instead of long int.
2901 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2902 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2904 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2905 * gdb.base/pointers.exp: Allow long instead of long int.
2906 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2907 * gdb.base/step-line.exp: Allow a directory before the source file name.
2909 2010-03-24 Tom Tromey <tromey@redhat.com>
2911 PR breakpoints/9352:
2912 * gdb.base/default.exp: Update.
2913 * gdb.base/commands.exp: Update.
2914 * gdb.cp/extern-c.exp: Test setting commands on multiple
2915 breakpoints at once.
2917 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2919 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2921 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2922 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2925 2010-03-24 Stan Shebs <stan@codesourcery.com>
2927 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2929 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2931 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2932 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2933 argument. Handle "short" and "long".
2934 (Top level): Pass overprototyped output for old_fptr and xptr.
2936 2010-03-23 Pedro Alves <pedro@codesourcery.com>
2938 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2939 format strings and add casts to avoid compiler warnings.
2941 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
2943 * lib/trace-support.exp (gdb_trace_setactions):
2944 Don't expect whitespace after ">" prompt.
2945 * gdb.trace/actions.exp: Adjust for output changes.
2946 * gdb.trace/while-stepping.exp: Likewise.
2948 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2950 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2953 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2955 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2958 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2960 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
2961 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
2963 2010-03-19 Stan Shebs <stan@codesourcery.com>
2965 * gdb.trace/ax.exp: New file.
2967 2010-03-19 Doug Evans <dje@google.com>
2969 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
2972 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
2973 named /usr/sbin/prelink<foo>.
2975 2010-03-18 Stan Shebs <stan@codesourcery.com>
2977 * gdb.trace/circ.exp: Test circular-trace-buffer.
2978 * gdb.trace/tfile.exp: Update tstatus test.
2980 2010-03-18 Joel Brobecker <brobecker@adacore.com>
2982 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2983 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2985 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2987 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2989 2010-03-18 Pedro Alves <pedro@codesourcery.com>
2991 * gdb.base/default.exp: Adjust the expected output of the finish
2992 and until commands when the inferior is not being run.
2994 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2996 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2997 * gdb.cp/nsusing.exp: Ditto.
2999 2010-03-15 Tom Tromey <tromey@redhat.com>
3001 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3002 * gdb.cp/userdef.cc (operator==): New function.
3003 (main): New locals mem1, mem2.
3005 2010-03-15 Jie Zhang <jie@codesourcery.com>
3007 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3008 Declare and use new loadtimeout variable.
3010 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3012 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3015 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3017 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3018 literal. Add missing endlines to prints to stderr.
3020 2010-03-12 Tom Tromey <tromey@redhat.com>
3023 * gdb.cp/m-static.exp: Add regression test.
3024 * gdb.cp/m-static.cc (method): New method.
3027 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3029 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3030 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3032 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3034 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3036 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3038 * lib/gdb.exp (skip_stl_tests): New.
3039 (gdb_compile): Symbian needs -ldl.
3040 (shlib_target_file): New.
3041 (shlib_symbol_file): New.
3042 (gdb_load_shlibs): Use shlib_target_file.
3043 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3044 * gdb.cp/exception.exp: Use skip_stl_tests.
3045 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3046 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3047 * gdb.cp/mb-templates.exp: Ditto.
3048 * gdb.base/commands.exp: Relax regexes.
3049 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3050 shlib_target_file and shlib_symbol_file.
3051 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3053 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3054 * gdb.base/solib-disc.exp: Use
3055 shlib_target_file and shlib_symbol_file.
3056 * gdb.base/unload.exp: Don't skip on symbian. Use
3057 shlib_target_file and shlib_symbol_file.
3058 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3060 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3062 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3063 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3064 Issue a tfind end before looking for a tracepoint frame.
3065 * gdb.trace/tfind.exp: Adjust tstatus output.
3066 Adjust disassembly output.
3067 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3069 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3071 * gdb.base/break-interp.exp: Create new displacement parameter value
3072 for the test_ld calls.
3073 (reach): New parameter displacement, verify its content. New push of
3074 pf_prefix "reach-$func:". Import global expect_out.
3075 (test_core): New parameter displacement, verify its content. New push
3076 of pf_prefix "core:". New command "set verbose on". Import global
3078 (test_attach): New parameter displacement, verify its content. New
3079 push of pf_prefix "attach:". New command "set verbose on". Import
3081 (test_ld): New parameter displacement, pass it to the reach, test_core
3082 and test_attach calls and verify its content in the "ld.so exit" test.
3083 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3084 (prelink): Update expected text, use gdb_test.
3086 2010-03-10 Doug Evans <dje@google.com>
3088 * gdb.base/checkpoint.exp: Fix comment.
3089 Lengthen timeout while doing >600 checkpoints test.
3090 Rename duplicate "kill all one" test to keep test names unique.
3092 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3094 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3096 2010-03-08 Keith Seitz <keiths@redhat.com>
3098 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3099 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3100 (dm_type_long): New function.
3101 (dm_type_unsigned_short): New function.
3102 (dm_type_unsigned_long): New function.
3103 (myint): New typedef.
3104 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3105 long, unsigned shor and long, operator char*, and typedef.
3106 (test_lookup_operator_functions): Add operator char* test.
3107 (test_paddr_operator_functions): Likewise.
3108 (test_paddr_overloaded_functions): Use probe values for
3109 short, long, and unsigned short and long.
3110 (test_paddr_hairy_functions): If the demangler probe detected
3111 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3113 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3114 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3115 and "print null_pmf".
3116 Add test "ptype a.*pmf".
3117 * gdb.cp/overload.exp: Allow optional "int" to appear with
3119 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3120 long expect value for men_overload1arg.
3121 Allow "int" to appear with "short" and "long".
3122 When testing "info break", add argument for main (void).
3123 Also allow "int" to appear with "short" and "long".
3124 Ditto with "unsigned" and "long long".
3125 * gdb.java/jmain.exp: Do not enclose methods names in single
3127 * gdb.java/jmisc.exp: Likewise.
3128 * gdb.java/jprint.exp: Likewise.
3129 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3131 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3132 * gdb.cp/exception.exp (backtrace after first throw)
3133 (backtrace after second throw): Allow a namespace before __cxa_throw.
3134 (backtrace after first catch, backtrace after second catch): Allow
3135 a namespace before __cxa_begin_catch.
3137 * gdb.cp/cpexprs.exp: New file.
3138 * gdb.cp/cpexprs.cc: New file.
3140 From Daniel Jacobowitz <dan@codesourcery.com>
3141 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3142 to use string_to_regexp.
3143 (ctor, dtor): New functions. Use them to match constructor
3144 and destructor function types.
3145 (Top level): Use runto_main.
3147 2010-03-05 Tom Tromey <tromey@redhat.com>
3149 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3151 (pp_ns.to_string): Likewise.
3153 2010-03-04 Keith Seitz <keiths@redhat.com>
3155 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3156 can be quoted. Test that both the filename and function/line
3157 portions can be quoted at the same time.
3159 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3161 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3163 2010-03-03 Doug Evans <dje@google.com>
3165 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3166 libc contains libpthread.
3168 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3169 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3170 of gdb_compile. Add another pattern to match android backtrace.
3172 2010-03-03 Tom Tromey <tromey@redhat.com>
3175 * gdb.base/printcmds.exp (test_printf): Add test.
3177 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3179 * gdb.arch/amd64-byte.exp: New.
3180 * gdb.arch/amd64-dword.exp: Likewise.
3181 * gdb.arch/amd64-pseudo.c: Likewise.
3182 * gdb.arch/amd64-word.exp: Likewise.
3183 * gdb.arch/i386-byte.exp: Likewise.
3184 * gdb.arch/i386-pseudo.c: Likewise.
3185 * gdb.arch/i386-word.exp: Likewise.
3187 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3189 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3190 types. Add structreg, bitfields, and flags registers.
3191 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3194 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3196 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3197 (load_description): Set architecture if defined.
3199 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3201 * gdb.python/py-frame.exp: Add read_var block tests.
3202 * gdb.python/py-frame.c (block): New function.
3204 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3205 Daniel Jacobowitz <dan@codesourcery.com>
3207 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3209 2010-02-25 David S. Miller <davem@davemloft.net>
3211 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3212 fix logic for setting all_syscalls_numbers.
3214 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3216 * Makefile.in: Add py-block and py-symbol.
3217 * gdb.python/py-symbol.exp: New File.
3218 * gdb.python/py-symtab.exp: New File.
3219 * gdb.python/py-block.exp: New File.
3220 * gdb.python/py-symbol.c: New File.
3221 * gdb.python/py-block.c: New File.
3223 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3226 * lib/gdb.exp (skip_python_tests): New function.
3227 * gdb.python/py-cmd.exp: Use skip_python_tests.
3228 * gdb.python/py-frame.exp: Likewise.
3229 * gdb.python/py-function.exp: Likewise.
3230 * gdb.python/py-prettyprint.exp: Likewise.
3231 * gdb.python/py-template.exp: Likewise.
3232 * gdb.python/py-type.exp: Likewise.
3233 * gdb.python/py-value.exp: Likewise.
3235 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3239 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3241 2010-02-19 Tom Tromey <tromey@redhat.com>
3243 PR c++/8693, PR c++/9496:
3244 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3247 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3249 Fix compatibility with m68k as.
3250 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3251 Use only /* comments */.
3253 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3255 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3256 * configure: Regenerate.
3258 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3260 * gdb.python/py-type.exp: Check for Python support.
3262 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3264 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3265 `regsub' syntax available.
3267 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3269 * gdb.base/shmain.c (main): Remove printf call.
3270 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3271 * gdb.base/unload.c (main): Make format of fprintf a string
3272 literal. Add missing endlines to prints to stderr.
3273 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3275 2010-02-17 Tom Tromey <tromey@redhat.com>
3277 * gdb.java/jprint.java (jprint.props): New field.
3278 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3280 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3282 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3285 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3287 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3288 creation to support remote host testing.
3290 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3292 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3293 Recognize "command not found".
3295 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3297 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3300 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3302 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3303 if arguments are not supported.
3305 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3307 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3308 be const or non-const.
3310 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3312 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3313 mi_send_resuming_command to send -exec-continue.
3315 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3317 * gdb.base/list.exp (test_list_filename_and_function): Add test
3319 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3321 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3322 Add KFAIL'd tests for PR gdb/11289.
3324 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3326 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3328 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3330 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3331 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3332 a temporary directory.
3334 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3336 * gdb.base/charset.exp: Use a single regular expression to match
3337 show host-charset and show target-charset output.
3339 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3341 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3342 "Illegal process-id" expect string more exact.
3343 (attach to digits-starting nonsense is prohibited): New.
3345 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3347 * gdb.base/prelink.exp (set verbose on): New.
3349 2010-02-12 Tomas Holmberg <th@virtutech.com>
3351 * mi-reverse.exp: New file. Test for reverse option to the
3352 following MI commands: exec-continue, exec-finish, exec-next,
3353 exec-step, exec-next-instruction, exec-step-instruction.
3355 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3357 * gdb.ada/ptype_tagged_param: New testcase.
3359 2010-02-08 Tom Tromey <tromey@redhat.com>
3362 * gdb.cp/overload.exp: Add tests.
3363 * gdb.cp/overload.cc (struct K): New.
3365 (main): Call new functions.
3366 (K::staticoverload): Define.
3368 2010-02-08 Chris Moller <moller@mollerware.com>
3371 * gdb.cp/pr10728-x.h: New file.
3372 * gdb.cp/pr10728-x.cc: New file.
3373 * gdb.cp/pr10728-y.cc: New file.
3374 * gdb.cp/pr10728.exp: New file.
3375 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3377 2010-02-08 Chris Moller <moller@mollerware.com>
3380 * gdb.cp/pr9067.exp: New
3381 * gdb.cp/pr9067.cc: New
3382 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3384 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3386 * lib/gdb.exp (gdb_test_timeout): New global variable.
3387 Set it to timeout if not already set.
3388 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3390 2010-02-05 Doug Evans <dje@google.com>
3392 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3395 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3398 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3400 2010-02-04 Tom Tromey <tromey@redhat.com>
3402 * gdb.cp/virtbase.exp: Make test case names unique.
3404 2010-02-02 Tom Tromey <tromey@redhat.com>
3406 * gdb.cp/virtbase.exp: Add regression tests.
3407 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3408 (main): Instantiate RHC.
3410 2010-02-02 Tom Tromey <tromey@redhat.com>
3412 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3413 type-printing change.
3415 2010-02-02 Tom Tromey <tromey@redhat.com>
3417 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3418 * gdb.cp/virtbase.cc: New file.
3419 * gdb.cp/virtbase.exp: New file.
3420 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3422 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3425 * gdb.threads/current-lwp-dead.c: Include features.h.
3427 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3429 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3431 * gdb.base/symbol-without-target_section.exp,
3432 gdb.base/symbol-without-target_section.c: New.
3434 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3436 * gdb.base/bigcore.exp: Reset increased timeout.
3437 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3439 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3441 * gdb.base/gcore.exp (capture_command_output): Use
3444 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3446 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3447 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3448 (Top level): Call it.
3450 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3452 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3454 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3456 * gdb.base/call-strs.exp, gdb.base/default.exp,
3457 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3458 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3459 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3460 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3461 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3462 * gdb.base/ending-run.exp: Correct restore of timeout.
3463 * gdb.base/page.exp: Remove unnecessary timeout setting.
3465 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3467 * gdb.ada/rec_return: New testcase.
3469 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3471 * gdb.ada/call_pn: New testcase.
3473 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3475 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3476 (Top level): Use it to resume.
3477 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3478 the Thumb mode displaced stepping error as unsupported.
3480 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3482 * gdb.cp/nsusing.exp: Added more tests.
3483 * gdb.cp/nsrecurs.exp: Ditto.
3484 * gdb.cp/nsusing.cc: Added test functions.
3485 * gdb.cp/nsrecurs.cc: Ditto.
3487 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3489 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3490 absolute directory pathnames in gdb.sum file.
3492 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3494 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3495 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3497 2010-01-26 Tom Tromey <tromey@redhat.com>
3500 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3503 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3505 * gdb.cp/nsrecurs.exp: New test.
3506 * gdb.cp/nsrecurs.cc: New test program.
3507 * gdb.cp/nsstress.exp: New test.
3508 * gdb.cp/nsstress.cc: New test program.
3509 * gdb.cp/nsdecl.exp: New test.
3510 * gdb.cp/nsdecl.cc: New test program.
3512 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3514 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3515 imported into file scope.
3516 Marked test as xfail.
3517 * gdb.cp/namespace-using.cc (marker5): New function.
3518 * gdb.cp/shadow.exp: New test.
3519 * gdb.cp/shadow.cc: New test program.
3520 * gdb.cp/nsimport.exp: New test.
3521 * gdb.cp/nsimport.cc: New test program.
3523 2010-01-25 Tom Tromey <tromey@redhat.com>
3526 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3527 with "set print null-stop on".
3529 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3531 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3532 Adjust it for DISASSEMBLY_OMIT_FNAME.
3534 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3537 * gdb.dwarf2/member-ptr-forwardref.exp,
3538 gdb.dwarf2/member-ptr-forwardref.S: New.
3540 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3542 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3543 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3544 thread1_tid_mutex. Remove gdbstop_mutex handling.
3545 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3546 thread2_tid_mutex. Remove gdbstop_mutex handling.
3547 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3548 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3549 pthread_cond_wait conditionalizations by while loops.
3551 2010-01-20 Tom Tromey <tromey@redhat.com>
3554 * gdb.dwarf2/pr10770.exp: New file.
3555 * gdb.dwarf2/pr10770.c: New file.
3556 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3558 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3560 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3561 that target was removed, and the test always runs native anyway.
3563 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3565 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3566 gdb.base/watchpoint-cond-gone-stripped.c: New.
3568 2010-01-19 Tom Tromey <tromey@redhat.com>
3571 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3573 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3574 (main): Use AAA::SomeEnum.
3576 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3578 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3579 (test_ignore_count): Declare line_callme_body global.
3580 (run to breakpoint with ignore count): Use line_callme_body.
3581 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3582 (set line_main_hello, set line_main_return): Reindent.
3583 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3585 (continue to callee4): Use line_callee4_body.
3586 (check *stopped from CLI command): Use line_callee4_next.
3587 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3588 (set line_main_hello, set line_main_return): Reindent.
3589 (set line_callee4_head, set line_callee4_body): New.
3590 (continue to callee4): Use line_callee4_body.
3592 2010-01-18 Tom Tromey <tromey@redhat.com>
3595 * gdb.cp/casts.cc: Add new classes and variables.
3596 * gdb.cp/casts.exp: Test new operators.
3598 2010-01-18 Tom Tromey <tromey@redhat.com>
3599 Thiago Jung Bauermann <bauerman@br.ibm.com>
3601 * gdb.python/source2.py: New file.
3602 * gdb.python/source1: New file.
3603 * gdb.python/python.exp: Test "source" command.
3605 2010-01-15 Stan Shebs <stan@codesourcery.com>
3607 * gdb.trace/tfile.c: New file.
3608 * gdb.trace/tfile.exp: New file.
3610 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3612 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3614 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3616 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3618 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3620 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3621 (libfunc): New parameter action. Implement also selectable "sleep".
3622 * gdb.base/break-interp-main.c: Include assert.h.
3623 (libfunc): New parameter action.
3624 (main): New parameters argc and argv. Assert argc. Pass argv.
3625 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3626 (test_attach): New proc.
3627 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3628 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3630 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3632 * gdb.base/break-interp.exp (test_core): New proc.
3635 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3637 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3638 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3639 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3640 and gdb_compile_shlib. Use new -Wl compiler options.
3641 (dl bt, main bt): New tests.
3643 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3645 Support PIEs with no symfile_objfile.
3646 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3647 (test_ld): New parameter trynosym.
3648 (test_ld <$trynosym>): New block.
3650 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3652 * gdb.base/break-interp.exp: New file.
3654 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3656 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3657 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3658 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3660 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3661 * gdb.python/py-mi.exp: Add lazy string test.
3663 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3665 * lib/mi-support.exp (mi_check_thread_states): Handle
3666 core number in thread listing.
3668 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3670 * gdb.base/maint.exp: Adjust the expected output for the
3671 "maint print type" test. Use gdb_test_multiple instead of
3672 gdb_sent/gdb_expect.
3674 2010-01-11 Doug Evans <dje@google.com>
3676 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3677 from gdbserver_download. All callers updated.
3679 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3681 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3683 Implement binary numbers parsing.
3684 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3685 (test_integer_literals_rejected): New binary tests.
3687 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3689 * gdb.cell/configure: Regenerate.
3691 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3693 * gdb.base/corefile.exp: Move the core finding block out and call it as
3694 core_find, new variable $corefile, replace corefile by $corefile and
3695 [file tail $corefile] for usage vs. test names resp.
3696 * lib/gdb.exp (core_find): Move it as a new function here. New
3697 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3698 $destcore. Return "" on error.
3700 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3702 Workaround PR binutils/10802.
3703 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3706 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3708 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3710 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3712 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3713 call, to avoid interruption.
3715 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3717 * gdb.stabs/weird.def (args93): New.
3719 2010-01-07 Doug Evans <dje@google.com>
3721 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3723 2010-01-07 Tom Tromey <tromey@redhat.com>
3725 * gdb.base/source.exp: Use correct line number.
3727 2010-01-05 Stan Shebs <stan@codesourcery.com>
3729 * gdb.trace/tracecmd.exp: Test ftrace.
3731 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3733 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3735 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3737 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3738 "uint_for_mi_testing".
3740 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3742 Test indented comment in file being sourced.
3743 * gdb.base/commands.exp: Test indented comment in file being sourced.
3745 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3747 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3748 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3749 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3752 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3754 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3757 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3759 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3760 missing $after_stopped and comma (,) expectation.
3762 2009-12-31 Stan Shebs <stan@codesourcery.com>
3764 * gdb.trace/actions.exp: Test teval action.
3766 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3768 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3769 (top level): Call test_watchpoint_in_big_blob.
3770 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3772 (func3): Write to buf.
3774 2009-12-29 Stan Shebs <stan@codesourcery.com>
3776 * gdb.trace/actions.exp: Test default-collect.
3778 2009-12-28 Stan Shebs <stan@codesourcery.com>
3780 * gdb.trace/tsv.exp: New file.
3781 * gdb.base/completion.exp: Update ambiguous info output.
3783 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3785 * gdb.base/find.c (main): Reference search buffers.
3786 * gdb.base/included.c (main): Reference integer.
3787 * gdb.base/ptype.c (charfoo): Declare.
3788 (intfoo): Call charfoo.
3789 * gdb.base/scope0.c (useitp): New function.
3790 (usestatics): Use useitp.
3791 (useit): Add a type for val.
3792 * gdb.base/scope1.c (useit1): Take a pointer argument.
3793 (usestatics1): Update calls to useit1.
3794 * gdb.cp/call-c.cc: Declare foo.
3796 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3797 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3798 (main): Call C::ensureRefs and ensureOtherRefs.
3799 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3801 (ensureOtherRefs): New function.
3802 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3803 * gdb.cp/templates.cc (main): Call t5i.value.
3805 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3807 Fix compatibility with G++-4.5.
3808 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3809 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3810 (uncaught return): Remove.
3812 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3813 Phil Muldoon <pmuldoon@redhat.com>
3815 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3816 (bp_location13, bp_location14, bp_location17, bp_location18)
3817 (marker3_proto, marker4_proto): New variables.
3818 (breakpoint info): Update output.
3819 (run until breakpoint at marker3, run until breakpoint at marker4): New
3822 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3824 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3825 Replace the printf call of Y by provided "y-set-1" label. New block
3826 for the second shared library.
3827 * gdb.base/unload.exp: Compile also the second library, call
3828 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3829 (single pending breakpoint info): Rename to ...
3830 (pending breakpoint info before run): ... this extended test.
3831 (libfile2, libname2, libsrcfile2, libsrc2)
3832 (lib_sl2): New variables.
3833 (exec_opts): Set also SHLIB_NAME2.
3834 (pending breakpoint info on first run at shrfunc1)
3835 (pending breakpoint info on second run at shrfunc1)
3836 (pending breakpoint info on second run at shrfunc2)
3837 (print y from libfile, print y from libfile2): New tests.
3838 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3839 * gdb.base/unloadshr2.c: New.
3841 2009-12-22 Hui Zhu <teawater@gmail.com>
3843 * gdb.reverse/sigall-reverse.exp: Adjust.
3845 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3849 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3850 (main): Call do_bitfield_tests.
3851 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
3853 2009-12-20 Joel Brobecker <brobecker@adacore.com>
3855 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3856 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3857 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3858 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3859 gdb.modula2/unbounded1.c: Update copyright header.
3861 2009-12-10 Chris Moller <moller@mollerware.com>
3864 * gdb.cp/virtfunc2.exp: New tests
3865 * gdb.cp/virtfunc2.cc: New tests
3866 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3868 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3870 * gdb.reverse/i387-env-reverse.c: New file.
3871 * gdb.reverse/i387-env-reverse.exp: New file.
3872 * gdb.reverse/i387-stack-reverse.c: New file.
3873 * gdb.reverse/i387-stack-reverse.exp: New file.
3875 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3877 * gdb.python/py-type.exp (test_range): New test.
3879 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3883 * gdb.python/py-type.exp: New file.
3884 * gdb.python/py-type.c: New file.
3885 * Makefile.in: Add py-type.
3887 2009-12-03 Tom Tromey <tromey@redhat.com>
3889 * gdb.python/py-value.exp (test_parse_and_eval): New
3892 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3896 * gdb.base/pr11022.exp: New test.
3897 * gdb.base/pr11022.c: New test.
3899 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3901 Fix spurious false FAILs.
3902 * gdb.base/structs.c (chartest): New.
3903 (main): Fill-in chartest.
3904 * gdb.base/structs.exp (anychar_re, first): New.
3905 (start_structs_test): Import global anychar_re and first.
3906 New gdb_test call "set print elements 300; ${testfile}"
3907 (start_structs_test <$first>): New block.
3908 (any): Import global anychar_re. New variable ac. Use ${ac}.
3910 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3912 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3914 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3916 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3917 Force $srcfile file.
3918 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3920 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3922 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3923 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3924 * gdb.threads/watchthreads-reorder.exp: Likewise.
3926 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3930 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3931 "if", and "thread". Correct matching in the previous test.
3933 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3935 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3937 2009-11-23 Michael Snyder <msnyder@vmware.com>
3939 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3940 * gdb.reverse-watch-precsave.exp: Ditto.
3942 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3944 * gdb.asm/asm-source.exp: Adjust.
3945 * gdb.base/help.exp: Adjust.
3947 2009-11-22 Pedro Alves <pedro@codesourcery.com>
3949 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
3950 (do_syscall_tests_without_xml): Set data-directory to
3951 /the/path/to/nowhere.
3953 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3955 * gdb.threads/local-watch-wrong-thread.c,
3956 gdb.threads/local-watch-wrong-thread.exp: New files.
3958 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3960 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
3961 assume new `regsub' syntax available.
3963 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3965 * gdb.base/watchpoint-hw-hit-once.exp,
3966 gdb.base/watchpoint-hw-hit-once.c: New.
3968 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3970 * gdb.threads/watchthreads-reorder.exp,
3971 gdb.threads/watchthreads-reorder.c: New.
3973 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
3975 * gdb.xml/tdesc-regs.exp: Use for m68k.
3977 2009-11-15 Pedro Alves <pedro@codesourcery.com>
3979 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
3981 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3983 * lib/gdb.exp (current_target_name): New procedure.
3984 (gdb_wrapper_target): New variable.
3985 (gdb_wrapper_init): Set gdb_wrapper_target.
3986 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
3989 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3991 * gdb.base/remote.exp: Delete the slowest load test.
3992 Do not load with fixed packet sizes.
3994 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3996 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3998 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4000 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4001 srcfile when setting a breakpoint.
4003 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4005 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4008 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4010 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4012 * gdb.base/display.c (force_mem): New.
4013 (do_loops): Use it. Add breakpoint comments.
4014 (do_vars): Add a breakpoint comment.
4015 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4018 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4020 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4021 instead of a bare "run".
4023 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4025 * gdb.python/py-prettyprint.exp: Adjust.
4027 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4029 * lib/cell.exp (skip_cell_tests): Clean up test files before
4032 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4034 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4035 and the breakpoint menu. Do not call perror if a prompt is seen.
4036 Consume the following GDB prompt.
4037 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4038 * gdb.cp/namespace.exp: Use gdb_test.
4039 * gdb.cp/templates.exp: Use gdb_test.
4040 (test_template_breakpoints): Use gdb_test_multiple.
4042 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4044 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4045 (marker4): Reference values.
4047 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4049 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4052 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4054 * gdb.base/break.c (need_malloc): New.
4055 * gdb.base/constvars.c (main): Reference crass and crisp.
4056 * gdb.base/gdb1821.c (main): Reference bar.
4057 * gdb.cp/gdb1355.cc (main): Reference s1.
4058 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4060 * gdb.cp/hang2.cc (dummy2): Define.
4061 * gdb.cp/hang3.cc (dummy3): Define.
4062 * gdb.cp/m-data.cc (main): Reference shadow.
4064 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4065 Nathan Froyd <froydnj@codesourcery.com>
4067 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4070 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4072 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4073 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4074 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4075 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4076 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4077 * gdb.dwarf2/dw2-producer.exp: Likewise.
4078 * gdb.dwarf2/mac-fileno.exp: Likewise.
4079 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4080 py-prettyprint.py to the remote host.
4081 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4083 2009-11-11 Keith Seitz <keiths@redhat.com>
4085 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4086 use it instead of "Foo".
4087 * gdb.cp/classes.exp (do_tests): Add a test to access
4088 a method through a typedef'd class name.
4090 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4092 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4094 * gdb.base/pointers.exp: Likewise.
4095 * gdb.cp/ref-types.exp: Likewise.
4097 2009-11-11 Keith Seitz <keiths@redhat.com>
4099 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4101 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4103 (probe_demangler): Remove all single-quoting of
4104 method and variable names.
4105 (info_func_regexp): Remove the word "void" from any
4106 occurrence of "(void)".
4107 (print_addr_2): Remove all single-quoting of
4109 (print_addr_2_kfail): Likewise.
4110 (print_addr): Single-quote C function names before
4111 passing to print_addr_2.
4112 (test_paddr_operator_functions): Remove single-quoting
4114 Add tests for operator new[] and operator delete[].
4116 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4118 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4120 2009-11-09 Keith Seitz <keiths@redhat.com>
4122 * gdb.cp/overload.exp: Add tests for resolving overloaded
4123 methods in expression parsing/evaluation.
4125 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4127 * lib/gdb.exp (default_gdb_version): Use --version instead of
4130 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4132 * lib/gdb.exp (gdb_compile_test): New.
4133 (skip_ada_tests, skip_java_tests): New.
4134 (gdb_compile): Use gdb_compile_test for f77.
4135 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4136 * lib/java.exp (compile_java_from_source): Remove runtests check,
4137 use gdb_compile_test to record result.
4138 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4139 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4140 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4141 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4142 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4143 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4144 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4145 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4146 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4147 adjust gdb_compile invocations.
4149 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 * Makefile.in (abs_builddir): New.
4152 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4153 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4154 `$(abs_builddir)/site.exp'.
4156 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4158 * config/m68k-emc.exp, lib/emc-support.exp,
4159 gdb.trace/gdb_c_test.c: Delete.
4160 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4161 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4162 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4163 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4164 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4165 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4166 casing for m68k-*-elf.
4168 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4170 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4171 * gdb.arch/i386-prologue.exp: Likewise.
4172 * gdb.arch/i386-unwind.exp: Likewise.
4174 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4176 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4178 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4180 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4182 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4184 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4186 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4188 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4190 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4192 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4193 * gdb.base/sepdebug2.c: New file.
4195 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4197 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4198 the modified warnings for catch syscall. Verify if GDB was compiled
4199 with support for lib expat, and choose which tests to run depending
4202 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4204 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4205 that composite commands are parsed OK. And also test
4206 that breakpoint commands do work.
4208 2009-10-23 Michael Snyder <msnyder@vmware.com>
4210 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4211 to allow for new disassembly style.
4213 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4215 * gdb.asm/asm-source.exp: Adjust.
4217 2009-10-22 Michael Snyder <msnyder@vmware.com>
4219 * gdb.reverse/break-precsave.exp: New test.
4220 * gdb.reverse/consecutive-precsave.exp: Ditto.
4221 * gdb.reverse/finish-precsave.exp: Ditto.
4222 * gdb.reverse/i386-precsave.exp: Ditto.
4223 * gdb.reverse/machinestate-precsave.exp: Ditto.
4224 * gdb.reverse/sigall-precsave.exp: Ditto.
4225 * gdb.reverse/solilb-precsave.exp: Ditto.
4226 * gdb.reverse/step-precsave.exp: Ditto.
4227 * gdb.reverse/until-precsave.exp: Ditto.
4228 * gdb.reverse/watch-precsave.exp: Ditto.
4230 2009-10-22 Michael Snyder <msnyder@vmware.com>
4232 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4233 for gdb_expect. Adjust one test's expect strings for the new
4234 format of disassemble.
4235 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4236 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4238 * gdb.reverse/step-reverse.exp: Delete 'return'.
4239 * gdb.reverse/until-reverse.exp: Delete blank lines.
4240 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4242 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4244 * gdb.base/consecutive.exp: Adjust.
4245 * gdb.base/display.exp: Likewise.
4246 * gdb.base/pc-fp.exp: Likewise.
4247 * gdb.base/sigbpt.exp: Likewise.
4249 2009-10-19 Michael Snyder <msnyder@vmware.com>
4251 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4252 * gdb.reverse/finish-reverse.c: Ditto.
4253 * gdb.reverse/sigall-reverse.c: Ditto.
4254 * gdb.reverse/solib-reverse.c: Ditto.
4255 * gdb.reverse/step-reverse.c: Ditto.
4256 * gdb.reverse/watch-reverse.c: Ditto.
4258 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4259 Stan Shebs <stan@codesourcery.com>
4261 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4262 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4263 "Executing new program".
4264 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4265 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4266 left listed after having been killed.
4267 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4268 * gdb.base/maint.exp: Adjust test.
4270 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4271 * gdb.multi/Makefile.in: New.
4272 * gdb.multi/base.exp: New.
4273 * gdb.multi/goodbye.c: New.
4274 * gdb.multi/hangout.c: New.
4275 * gdb.multi/hello.c: New.
4276 * gdb.multi/bkpt-multi-exec.c: New.
4277 * gdb.multi/bkpt-multi-exec.exp: New.
4278 * gdb.multi/crashme.c: New.
4280 2009-10-13 Tristan Gingold <gingold@adacore.com>
4282 * gdb.base/sepdebug.exp: Check debug info are found.
4284 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4286 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4289 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4291 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4293 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4295 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4298 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4300 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4301 * gdb.base/annota3.exp: Idem.
4302 * gdb.base/maint.exp: Idem.
4304 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4306 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4309 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4311 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4312 mingw and cygwin targets.
4314 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4315 Pedro Alves <pedro@codesourcery.com>
4317 * lib/gdb.exp (gdb_compile): Avoid adding
4318 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4320 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4322 * gdb.base/shr1.c: Use %p in format string.
4323 * gdb.base/unload.c: Avoid warning in fprintf.
4324 * gdb.base/watchpoint-solib.c: Idem.
4326 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4328 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4330 (test_unlink): Correct printf string.
4331 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4332 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4334 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4336 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4337 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4338 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4340 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4342 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4343 * gdb.objc/nondebug.exp: Likewise.
4345 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4347 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4348 target_info setting.
4350 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4351 that detect new threads during "info threads".
4353 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4355 * gdb.threads/manythreads.c (main): Increase thread stack size
4356 to 2*PTHREAD_STACK_MIN.
4357 * gdb.threads/multi-create.c (main): Likewise.
4358 (create_function): Likewise.
4360 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4362 * gdb.base/dump.exp: Pass difference of pointer types instead
4363 of integer types as offset to restore in intarr3.srec case.
4365 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4367 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4369 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4371 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4373 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4375 New test for two watchpoints, with disabling of
4377 * testsuite/gdb.base/watchpoints.c: New file.
4378 * testsuite/gdb.base/watchpoints.exp: New file.
4380 2009-09-25 Tom Tromey <tromey@redhat.com>
4382 * gdb.base/charset.exp: Test utf-16 strings with Python.
4384 2009-09-25 Tom Tromey <tromey@redhat.com>
4386 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4388 * gdb.base/charset.c (utf_32_string): Rename.
4389 (init_utf32): Rename.
4392 2009-09-22 Tom Tromey <tromey@redhat.com>
4394 * gdb.python/py-function.exp: Add regression tests.
4396 2009-09-21 Keith Seitz <keiths@redhat.com>
4398 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4399 with invalid operator.
4401 2009-09-21 Keith Seitz <keiths@redhat.com>
4403 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4404 and destructor using typedef name of class.
4405 * gdb.cp/classes.cc (class Base1): Add a destructor.
4406 (base1): New typedef.
4407 (use_methods): Instanitate an object of type base1.
4408 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4409 (do_tests): Call test_template_typedef.
4410 * gdb.cp/templates.cc (Baz::~Baz): New method.
4411 (intBazOne): New typedef.
4412 (main): Instantiate intBazOne.
4414 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4418 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4420 (run_lang_tests): Add print elements test.
4422 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4424 * gdb.python/py-value.exp (test_subscript_regression): New
4425 function. Test for invalid subscripts.
4426 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4427 (ptr_ref): New function.
4429 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4431 * gdb.base/default.exp: Fix "show convenience".
4433 2009-09-15 Tom Tromey <tromey@redhat.com>
4435 * lib/mi-support.exp (mi_create_varobj): Update.
4436 (mi_create_floating_varobj): Likewise.
4437 (mi_create_dynamic_varobj): New proc.
4438 (mi_varobj_update): Update.
4439 (mi_varobj_update_with_type_change): Likewise.
4440 (mi_varobj_update_kv_helper): New proc.
4441 (mi_varobj_update_dynamic_helper): Rewrite.
4442 (mi_varobj_update_dynamic): New proc.
4443 (mi_list_varobj_children): Update.
4444 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4445 * gdb.python/python-prettyprint.py (pp_outer): New class.
4446 (pp_nullstr): Likewise.
4447 (lookup_function): Register new printers.
4448 * gdb.python/python-prettyprint.c (struct substruct): New type.
4449 (struct outerstruct): Likewise.
4450 (substruct_test): New function.
4451 (struct nullstr): New type.
4452 (string_1, string_2): New globals.
4453 (main): Add new tests.
4454 * gdb.python/python-mi.exp: Added regression tests.
4455 * gdb.mi/mi2-var-display.exp: Update.
4456 * gdb.mi/mi2-var-cmd.exp: Update.
4457 * gdb.mi/mi2-var-child.exp: Update.
4458 * gdb.mi/mi2-var-block.exp: Update.
4459 * gdb.mi/mi-var-invalidate.exp: Update.
4460 * gdb.mi/mi-var-display.exp: Update.
4461 * gdb.mi/mi-var-cmd.exp: Update.
4462 * gdb.mi/mi-var-child.exp: Update.
4463 * gdb.mi/mi-var-block.exp: Update.
4464 * gdb.mi/mi-break.exp: Update.
4465 * gdb.mi/gdb701.exp: Update.
4467 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4469 * Makefile.in: Inclusion of catch-syscall object.
4470 * gdb.base/catch-syscall.c: New file.
4471 * gdb.base/catch-syscall.exp: New file.
4473 2009-09-12 Michael Snyder <msnyder@vmware.com>
4475 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4476 that can support reverse debuggnig.
4478 2009-09-11 Tom Tromey <tromey@redhat.com>
4480 * gdb.dwarf2/valop.S: New file.
4481 * gdb.dwarf2/valop.exp: New file.
4483 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4485 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4487 2009-09-10 Doug Evans <dje@google.com>
4489 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4490 Add $gdb_prompt to second breakpoint regexp.
4492 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4494 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4495 names, add missing ones.
4496 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4497 * gdb.python/py-frame.c: Rename from python-frame.c.
4498 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4500 * gdb.python/py-function.exp: Rename from python-function.exp.
4501 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4503 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4504 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4505 Adjust testfile name.
4506 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4507 * gdb.python/py-template.cc: Rename from python-template.cc.
4508 * gdb.python/py-template.exp: Rename from python-template.exp.
4509 Adjust testfile name.
4510 * gdb.python/py-value.c: Rename from python-value.c.
4511 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4514 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4516 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4518 (Second breakpoint address is valid on ia64)
4519 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4521 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4523 * gdb.base/ending-run.exp: Restrict regular expression matching
4524 line number to require closing brace following.
4526 2009-09-03 Doug Evans <dje@google.com>
4528 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4530 2009-09-02 Tom Tromey <tromey@redhat.com>
4532 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4534 2009-09-02 Tom Tromey <tromey@redhat.com>
4536 * gdb.dwarf2/callframecfa.exp: New file.
4537 * gdb.dwarf2/callframecfa.S: New file.
4539 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4541 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4542 gdb.base/solib-overlap-main.c: New.
4544 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4548 * gdb.base/bitfields.c (struct container, container): New.
4549 (main): Initialize it and call break5.
4550 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4552 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4554 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4555 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4557 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4559 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4561 2009-08-26 Michael Snyder <msnyder@vmware.com>
4563 * gdb.base/i386-reverse.c: New file.
4564 * gdb.base/i386-reverse.exp: New file.
4565 * gdb.base/Makefile.in: Add new files to be removed.
4567 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4569 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4570 environment-pwd for remote host.
4571 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4573 2009-08-24 Keith Seitz <keiths@redhat.com>
4575 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4576 Add two new C++ completer tests which limit the output to a
4579 2009-08-24 Michael Snyder <msnyder@vmware.com>
4581 * gdb.base/del.exp: Fix typo in comment.
4582 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4584 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4586 * configure: Regenerate.
4587 * gdb.hp/configure: Likewise.
4588 * gdb.hp/gdb.aCC/configure: Likewise.
4589 * gdb.hp/gdb.base-hp/configure: Likewise.
4590 * gdb.hp/gdb.compat/configure: Likewise.
4591 * gdb.hp/gdb.defects/configure: Likewise.
4592 * gdb.hp/gdb.objdbg/configure: Likewise.
4593 * gdb.stabs/configure: Likewise.
4595 2009-08-19 Doug Evans <dje@google.com>
4597 * gdb.base/gdbvars.c: New file.
4598 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4600 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4602 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4603 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4605 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4607 * gdb.base/default.exp: Adjust "set language test": it's now an
4608 enum command. Larger help string moved to "help set language".
4609 * gdb.base/help.exp: Adjust "help set language" expected output,
4610 now lists all known languages.
4612 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4614 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4615 all frame arguments.
4616 * gdb.arch/altivec-regs.exp: Likewise.
4618 2009-08-07 Tom Tromey <tromey@redhat.com>
4620 * gdb.base/setshow.exp: Add tests for changes to set language, set
4621 check range, and set check type.
4623 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4625 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4626 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4629 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4631 * configure.ac: Run gdb.cell tests when appropriate.
4632 * configure: Regenerate.
4633 * lib/cell.exp: New file.
4634 * gdb.cell: New directory.
4635 * gdb.cell/configure.ac: New file.
4636 * gdb.cell/configure: New file.
4637 * gdb.cell/Makefile.in: New file.
4638 * gdb.cell/arch.exp: New file.
4639 * gdb.cell/break.c: New file.
4640 * gdb.cell/break.exp: New file.
4641 * gdb.cell/break-spu.c: New file.
4642 * gdb.cell/bt.c: New file.
4643 * gdb.cell/bt2-spu.c: New file.
4644 * gdb.cell/bt-spu.c: New file.
4645 * gdb.cell/bt.exp: New file.
4646 * gdb.cell/coremaker.c: New file.
4647 * gdb.cell/coremaker-spu.c: New file.
4648 * gdb.cell/core.exp: New file.
4649 * gdb.cell/gcore.exp: New file.
4650 * gdb.cell/data.c: New file.
4651 * gdb.cell/data.exp: New file.
4652 * gdb.cell/data-spu.c: New file.
4653 * gdb.cell/ea-cache.exp: New file.
4654 * gdb.cell/ea-cache.c: New file.
4655 * gdb.cell/ea-cache-spu.c: New file.
4656 * gdb.cell/ea-standalone.c: New file.
4657 * gdb.cell/ea-standalone.exp: New file.
4658 * gdb.cell/ea-test.c: New file.
4659 * gdb.cell/ea-test.exp: New file.
4660 * gdb.cell/f-regs.exp: New file.
4661 * gdb.cell/mem-access.c: New file.
4662 * gdb.cell/mem-access.exp: New file.
4663 * gdb.cell/mem-access-spu.c: New file.
4664 * gdb.cell/ptype.exp: New file.
4665 * gdb.cell/registers.exp: New file.
4666 * gdb.cell/size.c: New file.
4667 * gdb.cell/sizeof.exp: New file.
4668 * gdb.cell/size-spu.c: New file.
4669 * gdb.cell/solib.exp: New file.
4670 * gdb.cell/solib-symbol.exp: New file.
4672 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4674 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4676 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4678 * gdb.base/float.exp: Handle VFP registers.
4680 2009-07-14 Michael Snyder <msnyder@vmware.com>
4682 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4683 to bring gdb to the beginning of the calling line.
4685 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4686 confusing the i386 epilogue unwinder.
4688 2009-07-14 Stan Shebs <stan@codesourcery.com>
4690 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4692 2009-07-14 Michael Snyder <msnyder@vmware.com>
4694 * gdb.reverse/step-reverse.exp (stepi into function call):
4695 Call instruction may not be first instruction in the line.
4696 (reverse stepi from a function call): Used wrong line number.
4698 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4700 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4702 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4704 Fix gdb.base/macscp.exp when using custom inputrc.
4705 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4706 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4708 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4709 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4711 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4713 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4714 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4715 Change the compilation target to match the testcase name.
4716 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4718 * a2-run.exp: Use for setup prepare_for_testing. Change the
4719 compilation target to match the testcase name.
4720 * gdb.base/commands.exp: Likewise.
4721 * gdb.base/finish.exp: Likewise.
4722 * gdb.base/float.exp: Likewise.
4723 * gdb.base/info-target.exp: Likewise.
4724 * gdb.base/relational.exp: Likewise.
4725 * gdb.base/term.exp: Likewise.
4726 * gdb.base/until.exp: Likewise.
4727 * gdb.base/volatile.exp: Likewise.
4728 * gdb.base/whatis-exp.exp: Likewise.
4730 2009-07-11 Hui Zhu <teawater@gmail.com>
4732 * gdb.base/help.exp (disassemble): Update expected help text.
4734 2009-07-09 Tom Tromey <tromey@redhat.com>
4736 * lib/gdb.exp: Handle TRANSCRIPT.
4737 (remote_spawn, remote_close, send_gdb): New procs.
4739 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4741 * gdb.python/python-prettyprint.c: Add counted null string
4743 * gdb.python/python-prettyprint.exp: Print null string. Test for
4745 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4746 * gdb.python/python-value.exp (test_value_in_inferior): Add
4747 variable length string fetch tests.
4748 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4750 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4754 2009-07-07 Tom Tromey <tromey@redhat.com>
4756 * gdb.base/call-rt-st.exp: Update for change to escape output.
4757 * gdb.base/callfuncs.exp: Likewise.
4758 * gdb.base/charset.exp: Likewise.
4759 * gdb.base/constvars.exp: Likewise.
4760 * gdb.base/long_long.exp: Likewise.
4761 * gdb.base/pointers.exp: Likewise.
4762 * gdb.base/printcmds.exp: Likewise.
4763 * gdb.base/setvar.exp: Likewise.
4764 * gdb.base/store.exp: Likewise.
4765 * gdb.cp/ref-types.exp: Likewise.
4766 * gdb.mi/mi-var-child.exp: Likewise.
4767 * gdb.mi/mi-var-display.exp: Likewise.
4768 * gdb.mi/mi2-var-display.exp: Likewise.
4769 * gdb.base/charset.exp: Test octal escape sequence length.
4770 Update for change to escape output.
4772 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4774 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4776 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4778 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4780 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4782 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4783 gdbserver increasing $portnum if "Can't bind address" has been seen.
4785 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4787 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4790 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4792 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4795 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4797 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4798 linux. Adjust to use "inferior", "info inferiors", "detach
4799 inferior" and "kill inferior" instead of "restart", "info fork",
4800 "detach fork" and "delete fork".
4801 * gdb.base/ending-run.exp: Spell out "info".
4802 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4805 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4807 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4808 change to prefix TLS offset in hex with 0x.
4810 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4812 * gdb.base/default.exp: Update test case for "x" changes.
4814 2009-07-01 Tristan Gingold <gingold@adacore.com>
4816 * gdb.base/bigcore.exp: Make darwin untested.
4818 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4820 * gdb.base/completion.exp (directory completion): Create the directory.
4821 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4823 (directory completion 2): Expect now ${escapeuniquesub}.
4824 (Glob remaining of directory test): Remove one excessive newline.
4825 Expect the real output.
4827 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4829 Fix `make check//%' target after `make check' has been ran.
4830 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4832 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4835 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4837 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4838 the expected result record.
4840 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4842 Remove racy FAILs relying just on the timeouts.
4843 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4844 (annotation_level 2): Remove racy FAILs.
4846 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4849 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4851 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4853 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4855 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4857 * gdb.mi/mi-stack.exp: Testing symbolic options
4858 to -stack-list-locals and -stack-list-arguments.
4860 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4862 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4864 2009-06-29 Tom Tromey <tromey@redhat.com>
4866 * dg-extract-results.sh: New file.
4867 * Makefile.in (FORCE_PARALLEL): New variable.
4868 (CHECK_TARGET): New conditional variable.
4869 (check): Use CHECK_TARGET.
4870 (DO_RUNTEST): New variable.
4871 (check-single): New target.
4872 (TEST_DIRS): New variable.
4873 (TEST_TARGETS): Likewise.
4874 (check-parallel): New target.
4875 (check-gdb.%): New pattern.
4876 (BASE1_FILES): New variable.
4877 (BASE2_FILES): Likewise.
4878 (check-gdb.base%): New pattern.
4879 (%/.dir): New pattern.
4880 * configure: Rebuild.
4881 * aclocal.m4 (AM_CONDITIONAL): New defun.
4882 * configure.ac: Check whether user is using GNU make.
4883 (GMAKE): New conditional.
4885 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4887 * gdb.cp/namespace-nested-import.cc: New test.
4888 * gdb.cp/namespace-nested-import.exp: New test.
4890 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4892 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4893 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4894 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4895 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4896 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4897 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4898 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4899 gdb.opt/inline-markers.c: New files.
4900 * lib/gdb.exp (skip_inline_frame_tests): New function.
4901 (skip_inline_var_tests): New function.
4903 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4905 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4908 2009-06-27 Michael Snyder <msnyder@vmware.com>
4910 * gdb.reverse: New directory.
4911 * gdb.reverse/break-reverse.c: New test.
4912 * gdb.reverse/break-reverse.exp: New test.
4913 * gdb.reverse/consecutive-reverse.c: New test.
4914 * gdb.reverse/consecutive-reverse.exp: New test.
4915 * gdb.reverse/finish-reverse.c: New test.
4916 * gdb.reverse/finish-reverse.exp: New test.
4917 * gdb.reverse/machinestate.c: New test.
4918 * gdb.reverse/ms1.c: New test.
4919 * gdb.reverse/machinestate.exp: New test.
4920 * gdb.reverse/Makefile.in: New file.
4921 * gdb.reverse/shr2.c: New test.
4922 * gdb.reverse/solib-reverse.c: New test.
4923 * gdb.reverse/solib-reverse.exp: New test.
4924 * gdb.reverse/step-reverse.c: New test.
4925 * gdb.reverse/step-reverse.exp: New test.
4926 * gdb.reverse/until-reverse.c: New test.
4927 * gdb.reverse/ur1.c: New test.
4928 * gdb.reverse/until-reverse.exp: New test.
4929 * gdb.reverse/watch-reverse.c: New test.
4930 * gdb.reverse/watch-reverse.exp: New test.
4931 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4932 * configure: Regenerate.
4934 2009-06-26 Doug Evans <dje@google.com>
4936 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4938 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4940 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4941 windows problem for 'file delete $binfile'.
4943 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4945 * gdb.cp/namespace-using.exp: New test.
4946 * gdb.cp/namespace-using.cc: New test.
4948 2009-05-20 Joel Brobecker <brobecker@adacore.com>
4950 * gdb.ada/variant_record_packed_array: New testcase.
4952 2009-06-23 Tom Tromey <tromey@redhat.com>
4954 * gdb.base/charset.exp (test_combination): Regression test.
4955 * gdb.base/charset.c (my_wchar_t): New typedef.
4956 (myvar): New global.
4959 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
4961 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
4964 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4966 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
4968 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4970 * gdb.mi/gdb680.exp: Update test for error message.
4972 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4974 * gdb.base/annota1.exp: Allow multiple occurrences of the
4975 frames-invalid annotation.
4976 * gdb.cp/annota2.exp: Likewise.
4978 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
4980 * gdb.cp/gdb2495.cc: New file.
4981 * gdb.cp/gdb2495.exp: New file.
4983 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4985 Report error on GDB crash during runto.
4986 * lib/gdb.exp (runto <eof>): New.
4988 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
4990 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
4991 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
4992 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
4993 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
4994 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
4995 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
4996 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
4997 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
4998 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
4999 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5000 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5001 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5002 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5003 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5004 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5005 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5006 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5007 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5008 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5009 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5010 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5011 gdb.trace/passcount.exp, gdb.trace/report.exp,
5012 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5013 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5014 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5017 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5019 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5020 defined before referencing it.
5022 2009-06-03 Doug Evans <dje@google.com>
5024 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5025 * gdb.arch/i386-see.c: Ditto.
5027 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5029 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5030 (check_macro): Return 1 if undefined.
5031 If first test fails, check if macro debug information is available,
5032 and report unsupported test if no macro information is found.
5034 2009-05-29 Doug Evans <dje@google.com>
5036 * gdb.threads/hand-call-in-threads.exp: New.
5037 * gdb.threads/hand-call-in-threads.c: New.
5039 2009-05-29 Michael Snyder <msnyder@vmware.com>
5041 * gdb.base/break-always.exp: Change "1" to "on".
5042 Add confirmation check.
5044 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5046 * gdb.threads/threxit-hop-specific.c: New.
5047 * gdb.threads/threxit-hop-specific.exp: New.
5048 * gdb.threads/thread-execl.c: New.
5049 * gdb.threads/thread-execl.exp: New.
5051 2009-05-27 Tom Tromey <tromey@redhat.com>
5052 Thiago Jung Bauermann <bauerman@br.ibm.com>
5054 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5055 (mi_child_regexp): Likewise.
5056 (mi_list_varobj_children_range): Likewise.
5057 (mi_get_features): Likewise.
5058 (mi_list_varobj_children): Rewrite.
5059 * gdb.python/python-mi.exp: New file.
5061 2009-05-27 Tom Tromey <tromey@redhat.com>
5062 Thiago Jung Bauermann <bauerman@br.ibm.com>
5063 Phil Muldoon <pmuldoon@redhat.com>
5064 Paul Pluzhnikov <ppluzhnikov@google.com>
5066 * gdb.python/python-prettyprint.exp: New file.
5067 * gdb.python/python-prettyprint.c: New file.
5068 * gdb.python/python-prettyprint.py: New file.
5069 * gdb.base/display.exp: print/r is now valid.
5071 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5072 Tom Tromey <tromey@redhat.com>
5073 Pedro Alves <pedro@codesourcery.com>
5074 Paul Pluzhnikov <ppluzhnikov@google.com>
5076 * gdb.python/python-template.exp: New file.
5077 * gdb.python/python-template.cc: New file.
5078 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5080 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5082 (test_value_after_death): New proc.
5083 * gdb.python/python-value.c (PTR): New typedef.
5084 (main): New variable 'x'.
5086 2009-05-27 Tom Tromey <tromey@redhat.com>
5088 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5090 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5093 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5095 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5097 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5099 * gdb.threads/fork-thread-pending.c: New.
5100 * gdb.threads/fork-thread-pending.exp: New.
5102 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5104 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5105 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5107 2009-05-18 Jon Beniston <jon@beniston.com>
5109 * gdb.asm/asm-source.exp: Add lm32 target.
5111 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5113 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5114 `gdb_get_line_number'. Call `callee' in both parent and child.
5115 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5116 `gdb_get_line_number' instead of hardcoding line numbers.
5117 (catch_fork_unpatch_child): New procedure to test detaching
5118 breakpoints from child fork.
5119 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5120 hardcoding line numbers.
5121 (do_fork_tests): Run `catch_fork_unpatch_child'.
5123 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5125 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5126 of structure type enters or leaves the scope, it
5127 is reported by -var-update.
5129 2009-05-11 Doug Evans <dje@sebabeach.org>
5131 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5132 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5133 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5135 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5137 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5139 2009-04-30 Doug Evans <dje@google.com>
5141 * gdb.threads/watchthreads2.exp: New testcase.
5142 * gdb.threads/watchthreads2.c: New testcase.
5144 2009-04-29 Doug Evans <dje@google.com>
5146 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5147 * gdb.cp/mb-ctor.cc: Ditto.
5148 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5149 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5150 * gdb.cp/mb-inline1.cc: Call it.
5151 * gdb.cp/mb-inline2.cc: Ditto.
5152 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5153 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5155 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5157 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5158 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5159 Replace all uses of `decimal' by `nonzero'.
5160 (info macro FROM_COMMANDLINE): New test.
5162 2009-04-27 Tom Tromey <tromey@redhat.com>
5164 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5166 2009-04-27 Doug Evans <dje@google.com>
5168 * gdb.threads/watchthreads.c (main): Initialize args before starting
5169 the threads. Plus formatting cleanup.
5170 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5171 biased scheduling of one thread.
5173 2009-04-27 Jerome Guitton <guitton@adacore.com>
5175 * gdb.cp/templates.cc (GetMax): New template.
5176 (main): Declare two instances of GetMax.
5177 * gdb.cp/templates.exp: Add new test.
5179 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5181 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5183 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5185 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5187 2009-04-15 Tom Tromey <tromey@redhat.com>
5189 * gdb.base/charset.exp: Add regression test.
5191 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5193 * gdb.base/exe-lock.exp: New testcase.
5195 2009-04-13 Tom Tromey <tromey@redhat.com>
5197 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5200 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5202 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5203 * gdb.server/ext-attach.exp: Likewise.
5205 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5207 Eliminate some sleep usage.
5209 * gdb.mi/basics.c (do_nothing): New.
5210 (main): Use do_nothing instead of printf, so that
5211 not to introduce race condition between output of
5212 inferiour and output of gdb. Do not use sleep as it
5213 is not generally available on embedded targets.
5215 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5217 * gdb.server/ext-attach.exp: Expect an optional process id after
5218 "Detached from remote process".
5220 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5222 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5223 gdb.dwarf2/dw2-unresolved.exp: New.
5225 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5227 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5230 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5232 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5233 mi_run_to_main. Skip thread exit test on remote targets.
5234 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5236 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5238 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5239 when expecting ^connected. Detect when the target doesn't support
5241 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5242 supported. Return -1 on error, 0 on success.
5243 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5244 (mi_runto): Return mi_runto_helper's result explicitly.
5246 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5248 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5250 2009-04-01 Tom Tromey <tromey@redhat.com>
5252 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5253 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5254 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5255 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5257 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5258 Jan Kratochvil <jan.kratochvil@redhat.com>
5261 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5263 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5265 * dw2-strp.S (DW_AT_language): Change to C++.
5266 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5268 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5270 * gdb.ada/tasks: New testcase.
5272 2009-03-30 Stan Shebs <stan@codesourcery.com>
5274 * gdb.trace/actions.exp: Update to match new info trace format.
5275 * gdb.trace/deltrace.exp: Ditto.
5276 * gdb.trace/infotrace.exp: Ditto.
5277 * gdb.trace/passcount.exp: Ditto.
5278 * gdb.trace/save-trace.exp: Ditto.
5279 * gdb.trace/while-stepping.exp: Ditto.
5280 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5282 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5284 * gdb.python/python-frame.c: New file.
5285 * gdb.python/python-frame.exp: New file.
5287 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5289 * gdb.python/python-value.exp: Add tests for the address
5292 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5294 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5296 2009-03-26 Doug Evans <dje@google.com>
5298 * gdb.mi/mi-nonstop-exit.exp: New file.
5299 * gdb.mi/non-stop-exit.c: New file.
5301 2009-03-26 Tom Tromey <tromey@redhat.com>
5303 Update for change to prologue skipping:
5304 * gdb.mi/mi2-simplerun.exp: Update.
5305 * gdb.mi/mi2-break.exp: Update.
5306 * gdb.mi/mi-simplerun.exp: Update.
5307 * gdb.mi/mi-break.exp: Update.
5308 * gdb.base/ending-run.exp: Update.
5310 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5312 * gdb.python/python-value.exp (test_value_in_inferior): Test
5313 gdb.Value.is_optimized_out attribute.
5315 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5317 * gdb.dwarf2/dw2-noloc-main.c: New file.
5318 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5321 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5322 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5323 (DW_TAG_subprogram func_cu1, noloc): Remove.
5325 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5326 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5327 (file_symbols): New procedure.
5329 2009-03-25 Tom Tromey <tromey@redhat.com>
5331 * gdb.base/charset.exp (valid_target_charset): New proc.
5332 Use it to skip tests on invalid charsets.
5334 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5336 * gdb.base/completion.exp: Add a test for directory completion.
5338 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5341 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5342 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5344 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5346 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5347 * gdb.python/python-function.exp: Add test for function returning
5350 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5352 * gdb.python/python-function.exp: New file.
5354 2009-03-20 Tom Tromey <tromey@redhat.com>
5356 * gdb.base/store.exp: Update for change to escape output.
5357 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5359 * gdb.base/pointers.exp: Update for change to escape output.
5360 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5362 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5364 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5366 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5368 * gdb.base/setvar.exp: Update for change to escape output.
5369 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5370 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5372 (test_print_string_constants): Likewise.
5373 * gdb.base/charset.exp (valid_host_charset): Check size of
5374 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5375 cases. Handle "auto"-related output.
5376 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5377 (uvar, Uvar): New globals.
5379 2009-03-19 Jerome Guitton <guitton@adacore.com>
5381 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5383 * gdb.ada/fixed_points.exp: Ditto.
5385 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5387 * return-nodebug.c: Don't include stdio.h.
5389 (func): Delete definition and provide extern declaration.
5391 (main): Don't call printf. Call func and store its result in t.
5392 * return-nodebug1.c: New.
5393 * return-nodebug.exp: Don't expect stdio output. Instead, print
5394 the global variable t. Drop printf formatters and cast types from
5395 foreach loop. Don't use prepare_for_testing. Compile
5396 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5397 define FORMAT or CAST.
5399 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5401 * gdb.base/solib-display.exp: Disable test for remote targers.
5403 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5405 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5407 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5410 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5411 code from `follow parent, print pids'.
5412 (`follow child, print pids', `follow parent, print pids'): Call it.
5413 Replace `gdb_test "break..."' by gdb_breakpoint.
5415 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5417 * gdb.mi/mi-cli.exp: Adjust for output difference in
5418 sync and async modes.
5420 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5422 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5423 that was checked in by mistake. Remove loading of ada.exp, since
5424 this is not necessary in this case.
5426 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5428 * gdb.ada/ptype_arith_binop.exp: New testcase.
5430 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5432 * gdb.ada/mod_from_name: New testcase.
5434 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5436 * gdb.ada/tick_last_segv: New testcase.
5438 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5440 * gdb.mi/mi-cli.exp: Remove debug print.
5442 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5444 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5445 include the token in ^running and frame info in *stopped.
5447 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5449 * solib-display.exp: New file.
5450 * solib-display-main.c: New file.
5451 * solib-display-lib.c: New file.
5453 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5455 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5457 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5459 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5460 (list_and_check_macro): Use more specific test name.
5461 (next to definition): Make the test names unique.
5463 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5465 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5467 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5469 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5471 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5472 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5473 * lib/mi-support.exp (library_loaded_re): New.
5474 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5476 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5478 * gdb.gdb/observer.exp: Use test_notification observer, not
5479 normal_stop, everywhere.
5480 (test_normal_stop_notifications): Rename to...
5481 (test_notifications): ...this.
5482 (test_observer_normal_stop): Rename to...
5483 (test_observer): ...this.
5485 2009-02-16 Doug Evans <dje@google.com>
5487 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5488 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5489 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5490 (test_prefixed_syscall,test_int3): New tests.
5491 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5492 (test_prefixed_syscall,test_int3): New tests.
5494 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5496 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5497 (mi_expect_interrupt): Likewise.
5498 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5501 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5503 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5504 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5505 Replace calls to get_valueofx by get_hexadecimal_valueof.
5507 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5509 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5510 (get_integer_valueof): New procedure.
5511 (get_sizeof): Use new get_integer_value_of.
5512 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5513 by get_integer_valueof.
5515 2009-02-13 Tom Tromey <tromey@redhat.com>
5517 * gdb.base/remote.exp (get_sizeof): Remove.
5518 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5519 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5520 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5521 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5522 (get_sizeof): Likewise.
5524 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5527 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5529 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5531 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5533 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5535 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5537 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5539 * gdb.python/python-cmd.exp: New file.
5541 2009-02-06 Tristan Gingold <gingold@adacore.com>
5543 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5545 2009-02-05 Tristan Gingold <gingold@adacore.com>
5547 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5548 pointer is dereferenced and use this signal name in regexp.
5549 * gdb.base/signull.exp: Ditto.
5550 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5551 * gdb.base/signull.c (main): Ditto.
5553 2009-02-04 Tom Tromey <tromey@redhat.com>
5554 Thiago Jung Bauermann <bauerman@br.ibm.com>
5556 * gdb.python/python-value.exp: Use `gdb.history' instead of
5557 `gdb.value_from_history'.
5558 (test_value_numeric_ops): Add test for conversion of enum constant.
5559 * gdb.python/python-value.c (enum e): New type.
5560 (evalue): New global.
5563 2009-02-04 Jerome Guitton <guitton@adacore.com>
5565 * gdb.ada/uninitialized_vars: New test program.
5566 * gdb.ada/uninitialized_vars.exp: New testcase.
5568 2009-02-02 Tom Tromey <tromey@redhat.com>
5570 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5571 * gdb.cp/pr2489.cc: Rename...
5572 * gdb.cp/pr9594.cc: ... to this.
5574 2009-02-02 Tom Tromey <tromey@redhat.com>
5576 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5577 * gdb.cp/pr2489.cc: New file.
5578 * gdb.cp/cpcompletion.exp: New file.
5580 2009-02-02 Tom Tromey <tromey@redhat.com>
5583 * gdb.cp/call-c.exp: Add regression test.
5584 * gdb.cp/call-c.cc (FooHandle): New typedef.
5585 (main): New variable 'handle'.
5587 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5589 * lib/mi-support.exp (et_mi_thread_list)
5590 (check_mi_and_console_threads): Adjust for current thread in
5591 -thread-list-ids output.
5593 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5595 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5598 2009-01-28 Doug Evans <dje@google.com>
5600 * gdb.arch/amd64-disp-step.S: New file.
5601 * gdb.arch/amd64-disp-step.exp: New file.
5602 * gdb.arch/i386-disp-step.S: New file.
5603 * gdb.arch/i386-disp-step.exp: New file.
5605 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5607 * gdb.base/find.exp: Set newline variable
5608 using quotes instead of braces to fix cygwin failures.
5610 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5612 * gdb.base/radix.exp: Add tests to ensure that that set
5613 input-radix 0 and set output-radix 0 are really rejected.
5615 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5617 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5620 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5623 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5625 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5628 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5630 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5632 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5633 binfile definition to fix Windows OS failure.
5635 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5638 * gdb.base/interrupt.c (sigint_handler): New.
5639 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5641 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5642 Test "signal SIGINT".
5644 2009-01-19 Doug Evans <dje@google.com>
5646 * gdb.base/break.exp: Update expected gdb output.
5647 * gdb.base/sepdebug.exp: Ditto.
5648 * gdb.mi/mi-syn-frame.exp: Ditto.
5649 * gdb.mi/mi2-syn-frame.exp: Ditto.
5650 * gdb.base/call-signal-resume.exp: New file.
5651 * gdb.base/call-signals.c: New file.
5652 * gdb.base/unwindonsignal.exp: New file.
5653 * gdb.base/unwindonsignal.c: New file.
5654 * gdb.threads/interrupted-hand-call.exp: New file.
5655 * gdb.threads/interrupted-hand-call.c: New file.
5656 * gdb.threads/thread-unwindonsignal.exp: New file.
5658 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5660 * gdb.base/define.exp: Test defining and hooking prefix commands.
5661 * gdb.python/python.exp: Update test for "show user" output.
5663 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5665 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5666 now the output exactly, using less wildcards. Expect also the output
5667 of gfortran-4.3. Update for the f-valprint.c modification from
5669 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5670 Remove gdb_test test names where matching the command.
5672 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5674 PR breakpoints/9681:
5675 * gdb.base/watchpoint.exp: Add regression test.
5677 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5679 * gdb.threads/attach-into-signal.exp: Don't use
5680 gdb_suppress_entire_file.
5681 * gdb.threads/attach-stopped.exp: Ditto.
5682 * gdb.threads/attachstop-mt.exp: Ditto.
5684 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5687 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5689 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5692 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5693 and unsupported output radices are really rejected.
5695 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5697 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5699 2008-12-22 Tom Tromey <tromey@redhat.com>
5701 * gdb.cp/punctuator.exp: New file.
5703 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5705 * gdb.base/completion.exp (Completing non-existing component): New test.
5707 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5709 Fix for PR gdb/8648.
5710 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5711 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5712 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5713 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5715 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5717 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5719 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5721 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5722 compiler actually generate code at the expected line number.
5724 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5726 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5728 2008-12-12 Tom Tromey <tromey@redhat.com>
5730 * gdb.base/commands.exp (redefine_hook_test): New proc.
5733 2008-12-11 Tom Tromey <tromey@redhat.com>
5735 * gdb.base/macscp.exp: New regression test.
5737 2008-12-11 Tom Tromey <tromey@redhat.com>
5739 * gdb.base/macscp.exp: Print "address.addr".
5740 * gdb.base/macscp1.c (struct outer): New struct.
5741 (address): New global.
5743 2008-12-09 Tom Tromey <tromey@redhat.com>
5745 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5748 2008-12-04 Doug Evans <dje@google.com>
5750 * gdb.server/ext-run.exp: Relax regexp for init program.
5752 2008-12-03 Tristan Gingold <gingold@adacore.com>
5754 * gdb.base/macscp.exp: Generate an object file during compilation
5755 to work around Darwin dsymutil limitations.
5757 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5759 Test resolving external references to TLS variables.
5760 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5762 (testfile2, srcfile2): New variables.
5763 * gdb.threads/tls.c (file2_thread_local)
5764 (function_referencing_file2_thread_local): New.
5765 * gdb.threads/tls2.c: New file.
5767 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5769 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5770 rather than integer, as integer might not be big enough when
5773 2008-11-27 Jerome Guitton <guitton@adacore.com>
5775 * gdb.cp/formatted-ref.exp: Add equality test.
5776 * gdb.ada/formatted_ref.exp: Ditto.
5778 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5780 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5781 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5783 2008-11-20 Andreas Schwab <schwab@suse.de>
5785 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5786 matching syscall entry point.
5787 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5788 (tcatch_vfork_then_child_follow): Likewise. Finish through
5789 vfork even if we stopped at the syscall trampoline.
5791 2008-11-20 Doug Evans <dje@google.com>
5793 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5795 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5797 * gdb.arch/ppc-dfp.exp: New file.
5798 * gdb.arch/ppc-dfp.c: New file.
5800 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5802 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5804 2008-11-17 Doug Evans <dje@google.com>
5806 * gdb.mi/mi-syn-frame.exp: Update expected output.
5807 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5809 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5811 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5812 "thread N" results in =thread-selected.
5813 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5814 (mi_send_resuming_command_raw): Be prepared for
5817 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5819 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5820 * lib/mi-support.exp: Likewise.
5822 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5824 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5825 commands from the expected output for "help catch".
5827 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5829 * gdb.ada/int_deref.exp: New testcase.
5831 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5833 * gdb.mi/gdb2549.exp: New file.
5835 2008-11-11 Doug Evans <dje@google.com>
5837 * gdb.base/callexit.exp: New file.
5838 * gdb.base/callexit.c: New file.
5840 2008-11-10 Doug Evans <dje@google.com>
5842 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5843 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5844 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5845 (default_gdb_start,default_gdb_exit): Ditto.
5846 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5847 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5848 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5849 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5850 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5851 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5853 2008-11-03 Andreas Schwab <schwab@suse.de>
5855 * gdb.base/hashline2.exp: Fix typo.
5856 * gdb.base/hashline3.exp: Likewise.
5858 2008-10-30 Tom Tromey <tromey@redhat.com>
5860 * gdb.base/pointers.exp: Add test.
5861 * gdb.base/pointers.c (k, S): New typedefs.
5862 (instance): New global.
5864 2008-10-30 Andreas Schwab <schwab@suse.de>
5866 * gdb.base/args.exp: Add tests for newlines.
5868 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5870 gdb.base/foll-exec.exp: Update the expected output of a couple
5871 of "info breakpoints" tests.
5873 2008-10-28 Tom Tromey <tromey@redhat.com>
5875 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5877 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5879 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5881 Use runto_main before any test that requires execution.
5883 2008-10-23 Pedro Alves <pedro@codesourcery.com>
5885 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5888 2008-10-22 Joel Brobecker <brobecker@adacore.com>
5890 * gdb.base/completion.exp: Update expected output following
5891 the addition of the "info tasks" command.
5893 2008-10-22 Tom Tromey <tromey@redhat.com>
5895 * gdb.base/exprs.exp (test_expr): Add test for string
5898 2008-10-19 Pedro Alves <pedro@codesourcery.com>
5900 * configure.ac: Output gdb.python/Makefile.
5901 * configure: Regenerate.
5902 * gdb.python/Makefile.in: New.
5904 2008-10-16 Joel Brobecker <brobecker@adacore.com>
5906 * gdb.base/foll-fork.exp: Adjust the expected output to match
5907 the new description for fork/vfork catchpoints in the "info
5908 breakpoints" output.
5910 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5912 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5914 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5916 * gdb.python/python-value.c: New file.
5917 * gdb.python/python-value.exp: New file.
5919 2008-10-15 Pedro Alves <pedro@codesourcery.com>
5921 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5923 2008-10-15 Denis Pilat <denis.pilat@st.com>
5925 * gdb.cp/mb-ctor.exp: Fix a typo.
5927 2008-10-09 Tom Tromey <tromey@redhat.com>
5929 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5930 'fprintf' and 'stderr'.
5932 2008-10-07 Joel Brobecker <brobecker@adacore.com>
5934 * gdb.ada/ref_tick_size.exp: New testcase.
5936 2008-10-06 Doug Evans <dje@google.com>
5938 * gdb.dwarf2/dw2-cu-size.exp: New file.
5939 * gdb.dwarf2/dw2-cu-size.S: New file.
5941 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5942 .Ltype_int for clarity.
5944 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5947 * gdb.cp/gdb2384.exp: Extended to test more cases.
5948 * gdb.cp/gdb2384.cc: Likewise.
5949 * gdb.cp/gdb2384-base.h: Likewise.
5950 * gdb.cp/gdb2384-base.cc: Likewise.
5952 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5954 * gdb.base/maint.exp (maint print type): Remove printing
5955 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5957 2008-09-30 Tom Tromey <tromey@redhat.com>
5959 * gdb.base/macscp.exp: Add completion tests.
5960 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
5961 (TWENTY_THREE): Likewise.
5962 (FORTY_EIGHT): Likewise.
5964 2008-09-30 Tom Tromey <tromey@redhat.com>
5966 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
5968 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
5970 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5972 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
5973 testcase is derived from. Fix racy dependency on an expected PID
5974 number. No longer support the testcase on Linux kernel 2.4.x.
5976 2008-09-27 Tom Tromey <tromey@redhat.com>
5978 * gdb.base/macscp.exp: Add tests for stringification, splicing,
5981 2008-09-22 Pedro Alves <pedro@codesourcery.com>
5983 * lib/mi-support.exp (mi_expect_interrupt): New.
5984 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
5985 from gdb.mi/mi-nonstop.exp.
5986 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
5987 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
5989 Use mi_check_thread_states throughout. Avoid ".*" and do not
5990 require an anchor after -exec-run.
5992 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
5994 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
5995 stop is pending. Avoid ".*" when two stops are pending.
5996 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
5997 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
5998 newlines in fullnames.
5999 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6000 (mi_expect_stop): Update comments. Only anchor in sync mode.
6001 Do not match newlines.
6002 (mi_send_resuming_command_raw): Always return status.
6003 (mi_get_stop_line): Do not match more than one line by accident.
6004 Only anchor in sync mode.
6005 (mi_run_inline_test): If -exec-next fails, give up.
6007 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6009 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6012 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6014 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6016 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6018 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6019 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6020 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6021 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6022 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6023 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6024 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6025 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6026 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6027 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6028 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6029 Include the "= " sequence in the expected output of print tests.
6031 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6033 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6034 description for boolean types.
6036 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6038 * gdb.base/hook-stop-continue.c: New.
6039 * gdb.base/hook-stop-continue.exp: New.
6041 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6043 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6045 2008-09-08 Jerome Guitton <guitton@adacore.com>
6047 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6048 (stack_check_probe_2, stack_check_probe_loop_1)
6049 (stack_check_probe_loop_2): New functions.
6050 (main): Add call to these new functions.
6051 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6052 functions, check that the breakpoint is inserted at the appropriate
6054 (insert_breakpoint): Slightly refine this procedure so that it can
6055 be called several times in the test.
6057 2008-09-08 Jerome Guitton <guitton@adacore.com>
6059 * gdb.base/stack-checking.c: New file.
6060 * gdb.base/stack-checking.exp: New file.
6062 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6064 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6065 * gdb.arch/altivec-regs.exp: Likewise.
6066 * gdb.arch/vsx-regs.exp: Likewise.
6068 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6070 * gdb.arch/ppc-fp.exp: New file.
6071 * gdb.arch/ppc-fp.c: New file.
6073 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6075 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6076 lest gcc-4.3.1 optimizes the whole thing away.
6078 2008-09-04 Michael Snyder <msnyder@vmware.com>
6080 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6081 as "at" (for non-debug functions such as _start).
6083 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6085 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6086 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6087 software watchpoints.
6088 * gdb.base/watch_thread_num.exp: Likewise.
6090 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6092 * gdb.arch/i386-bp_permanent.exp: New test.
6094 2008-08-24 Tom Tromey <tromey@redhat.com>
6096 * gdb.base/maint.exp: Update "maint print type".
6098 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6100 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6101 support. Adjust the order of "*running" notifications.
6102 * gdb.mi/non-stop.c: Don't cast from int to void* and
6105 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6107 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6108 expect to find it in the "info frame" output.
6110 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6112 * gdb.base/interp.exp: Always consume both prompts.
6114 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6116 * gdb.base/pending.exp: Test pending breakpoints without symbols
6119 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6121 * lib/mi-support.exp (mi_expect_stop): Produce
6122 more details on failures.
6123 * gdb.mi/mi-nonstop.exp: New.
6124 * gdb.mi/non-stop.c: New.
6126 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6128 * gdb.mi/mi-async.exp: Use 'set target-async'.
6129 * lib/mi-support.exp: Use 'set/show target-async'.
6131 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6133 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6135 2008-08-17 Tom Tromey <tromey@redhat.com>
6137 * gdb.base/help.exp (help catch): Rewrite.
6139 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6141 * gdb.base/define.exp: Test indented command documentation.
6142 * gdb.python/python.exp: Test indented multi-line command.
6144 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6146 * testsuite/gdb.arch/vsx-regs.c: New source file.
6147 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6148 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6150 2008-08-14 Tom Tromey <tromey@redhat.com>
6152 * gdb.base/macscp.exp: Add regression test for "macro define" or
6153 "macro undef" with no arguments.
6155 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6157 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6159 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6161 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6163 2008-08-06 Tom Tromey <tromey@redhat.com>
6165 * gdb.python/python.exp: New file.
6167 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6169 Fix for PR gdb/1543.
6170 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6172 (location): New variable.
6173 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6174 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6175 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6176 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6177 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6178 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6179 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6180 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6181 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6182 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6183 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6184 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6185 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6186 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6187 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6188 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6189 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6190 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6191 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6192 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6193 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6194 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6195 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6196 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6197 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6198 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6199 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6200 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6201 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6202 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6203 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6204 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6205 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6206 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6207 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6208 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6209 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6210 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6211 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6212 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6213 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6214 gdb.base/type-opaque.exp, gdb.base/until.exp,
6215 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6216 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6217 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6218 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6219 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6220 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6221 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6222 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6223 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6224 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6225 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6226 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6227 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6228 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6229 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6230 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6231 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6232 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6233 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6234 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6235 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6236 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6237 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6238 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6239 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6240 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6241 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6242 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6243 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6244 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6245 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6246 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6247 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6248 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6249 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6250 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6251 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6252 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6253 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6254 to bug-gdb@prep.ai.mit.edu .
6256 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6258 * lib/mi-support.exp (mi_load_shlibs): New.
6259 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6261 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6263 * lib/mi-support.exp (get_mi_thread_list)
6264 (check_mi_and_console_threads): New, moved from ...
6265 * gdb.mi/mi-pthread.exp: ...here.
6266 * gdb.mi/gdb669.exp (get_mi_thread_list)
6267 (check_mi_and_console_threads): Delete.
6268 * gdb.mi/mi2-pthread.exp: Likewise.
6270 2008-07-28 Tom Tromey <tromey@redhat.com>
6272 * Makefile.in (just-check): Remove. Move body to...
6275 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6277 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6278 Add a test for duplicated SIGINTs.
6280 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6282 * gdb.threads/schedlock.exp (get_args): Update to work for any
6284 (Top level): Report the number of threads that did not resume.
6286 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6288 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6290 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6292 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6295 2008-07-26 Tom Tromey <tromey@redhat.com>
6297 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6298 (function_struct, function_struct_ptr): New globals.
6299 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6300 function pointer in a struct.
6302 2008-07-26 Tom Tromey <tromey@redhat.com>
6304 * gdb.base/macscp.exp: Add test for macro lexing bug.
6306 2008-07-18 Tom Tromey <tromey@redhat.com>
6308 * gdb.base/macscp.exp: Add macro tests.
6310 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6312 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6314 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6316 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6318 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6320 * gdb.cp/class2.exp: fix for failure on spu-elf
6322 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6324 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6326 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6328 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6330 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6332 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6334 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6336 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6337 of regexp to account for changes made to GDB in the printing of
6340 2008-07-11 Tom Tromey <tromey@redhat.com>
6342 * gdb.base/completion.exp: Add 'help' completion test.
6344 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6346 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6348 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6350 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6352 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6354 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6356 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6358 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6360 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6362 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6364 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6366 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6367 previous commit. Add a comment.
6369 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6371 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6373 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6375 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6377 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6379 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6380 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6381 compiling an executable, link in an object that forces unbuffered
6383 * lib/set_unbuffered_mode.c: New file.
6385 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6387 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6389 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6391 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6393 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6394 Demand that *running is output.
6395 (detect_async): Perform checking every time.
6396 (mi_send_resuming_command): Extract everything into...
6397 (mi_send_resuming_command_raw): ...this.
6398 (mi_expect_stop): Don't accept any output before *stopped.
6400 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6402 Robustify mi-simplerun.
6403 * gdb.mi/basics.c (main): Add a call to sleep.
6404 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6405 * gdb.mi/mi2-cli.exp: Likewise.
6406 * gdb.mi/mi-break.exp: Likewise.
6408 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6410 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6412 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6414 * gdb.mi/mi-console.exp: Adjust.
6415 * gdb.mi/mi-syn-frame.exp: Adjust.
6416 * gdb.mi/mi2-console.exp: Adjust.
6417 * gdb.mi/mi2-syn-frame.exp: Adjust.
6418 * lib/mi-support.exp (mi_run_cmd): Adjust.
6419 (mi_send_resuming_command): Adjust.
6421 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6423 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6424 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6426 * gdb.mi/mi2-syn-frame.exp: Likewise.
6427 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6428 (async, detect_async): New.
6429 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6430 depending on if we're running in sync or async mode.
6432 2008-06-09 Tom Tromey <tromey@redhat.com>
6434 * gdb.base/completion.exp: New tests for field name completion
6435 with spaces, and field name completion with '->'.
6437 2008-06-06 Tom Tromey <tromey@redhat.com>
6439 * gdb.base/break1.c (struct some_struct): New struct.
6440 (values): New global.
6441 * gdb.base/completion.exp: Add field name completion test.
6443 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6445 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6447 * gdb.cp/call-c.cc: Likewise.
6449 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6451 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6454 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6455 Pedro Alves <pedro@codesourcery.com>
6457 * gdb.threads/execl.c, gdb.threads/execl1.c,
6458 gdb.threads/execl.exp: New tests.
6460 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6461 Daniel Jacobowitz <dan@codesourcery.com>
6463 * gdb.cp/exception.exp: Activate test, make it work with pending
6466 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6468 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6470 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6472 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6474 * gdb.mi/mi2-var-cmd.exp: Likewise.
6476 2008-05-27 Andreas Schwab <schwab@suse.de>
6478 * gdb.base/frame-args.exp: Handle arguments that are optimized
6481 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6483 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6484 quiet for ppc32 and group options into a single variable.
6486 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6488 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6489 of zero-size elements.
6490 * gdb.ada/null_array.exp: Test printing this new array.
6492 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6494 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6496 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6498 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6499 of the "finish" command.
6501 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6503 * gdb.base/annota1.exp: Test for new annotation.
6505 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6507 * gdb.base/fixsection.exp: New file.
6508 * gdb.base/fixsection0.c: New file.
6509 * gdb.base/fixsection1.c: New file.
6511 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6513 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6514 * gdb.base/annota3.exp: Likewise.
6516 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6518 * gdb.base/watch_thread_num.exp: Don't run tests that require
6519 watchpoints if the target doesn't support them.
6521 2008-05-12 Doug Evans <dje@google.com>
6523 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6525 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6527 * gdb.ada/assign_1.exp: New testcase.
6529 2008-05-09 Doug Evans <dje@google.com>
6531 * gdb.base/find.exp: New file.
6532 * gdb.base/find.c: New file.
6534 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6536 * gdb.base/commands.exp (watchpoint_command_test): Handle
6537 gdb,no_hardware_watchpoints.
6538 * gdb.base/float.exp: Allow ARM targets without floating point.
6539 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6541 2008-05-06 Jerome Guitton <guitton@adacore.com>
6542 Joel Brobecker <brobecker@adacore.com>
6544 * gdb.ada/lang_switch: New test program.
6545 * gdb.ada/lang_switch.exp: New testcase.
6547 2008-05-05 Doug Evans <dje@google.com>
6549 * gdb.base/help.exp (disassemble): Update expected help text.
6551 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6553 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6555 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6557 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6560 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6562 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6563 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6564 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6565 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6567 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6569 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6570 notification to appear.
6572 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6574 * gdb.base/fullname.c: New file.
6575 * gdb.base/fullname.exp: New file.
6576 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6578 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6580 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6581 expressions with macros.
6583 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6585 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6587 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6589 * gdb.base/completion.exp: Handle lack of other symbols beginning
6592 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6594 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6596 * gdb.asm/asmsrc1.s: Add scratch space.
6598 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6599 Daniel Jacobowitz <dan@codesourcery.com>
6601 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6602 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6603 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6605 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6607 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6609 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6611 * gdb.base/info-target.exp: New testcase.
6613 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6615 * gdb.cp/hang.exp: Use .cc instead of .C.
6616 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6617 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6619 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6621 * gdb.base/gdb1250.exp: Remove perror.
6622 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6624 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6626 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6629 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6631 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6634 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6636 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6638 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6640 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6641 * gdb.mi/mi2-syn-frame.exp: Likewise.
6642 * lib/mi-support.exp: Likewise.
6644 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6646 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6647 to specify regexp for the location to stop at.
6648 * gdb.base/break-always.c: New.
6649 * gdb.base/break-always.exp: New.
6651 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6653 * lib/mi-support.exp (mi_runto_helper): Adjust
6654 for the original-location field.
6655 (mi_create_breakpoint, mi_list_breakpoints): New.
6656 * gdb.mi/mi-break.exp: Adjust.
6657 * gdb.mi/mi2-break.exp: Adjust.
6658 * gdb.mi/mi-pending.exp: Adjust.
6659 * gdb.mi/mi-simplerun.exp: Adjust.
6660 * gdb.mi/mi2-simplerun.exp: Adjust.
6661 * gdb.mi/mi-syn-frame.exp: Adjust.
6662 * gdb.mi/mi2-syn-frame.exp: Adjust.
6663 * gdb.mi/mi-until.exp: Adjust.
6664 * gdb.mi/mi2-until.exp: Adjust.
6665 * gdb.mi/mi-var-display.exp: Adjust.
6666 * gdb.mi/mi2-var-display.exp: Adjust.
6667 * gdb.mi/mi-watch.exp: Adjust.
6668 * gdb.mi/mi2-watch.exp: Adjust.
6670 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6672 * aclocal.m4: Add override.m4.
6673 * configure: Regenerate.
6675 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6677 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6678 '-var-update --all-values' reports new value even the type
6679 of a variable object has changed.
6681 2008-04-18 Craig Silverstein <csilvers@google.com>
6683 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6686 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6688 * gdb.ada/atomic_enum: New test program.
6689 * gdb.ada/atomic_enum.exp: New testcase.
6691 2008-04-17 Doug Evans <dje@google.com>
6693 * gdb.opt/Makefile.in: Fix whitespace.
6695 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6697 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6699 2008-04-17 Doug Evans <dje@google.com>
6701 * gdb.base/hashline1.exp: New testcase.
6702 * gdb.base/hashline2.exp: New testcase.
6703 * gdb.base/hashline2.exp: New testcase.
6705 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6707 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6709 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6711 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6712 temporary breakpoint to match "Temporary breakpoint".
6713 * gdb.base/break.exp (delete_breakpoints): Likewise.
6714 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6715 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6716 * gdb.base/display.exp: Likewise.
6717 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6718 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6719 * gdb.base/restore.exp (restore_tests): Likewise.
6720 * gdb.base/sepdebug.exp: Likewise.
6721 * gdb.base/watchpoint.exp: Likewise.
6722 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6723 * gdb.mi/mi-pending.exp: Likewise.
6724 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6725 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6726 * gdb.mi/mi-var-cmd.exp: Likewise.
6727 * gdb.mi/mi-var-display.exp: Likewise.
6728 * gdb.mi/mi2-cli.exp: Likewise.
6729 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6730 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6731 * gdb.mi/mi2-var-display.exp: Likewise.
6732 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6733 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6735 (mi_expect_stop): Move after_reason argument to be really after
6736 reason. This is to support fix for PR2424.
6738 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6740 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6742 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6744 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6745 field. Add more floating varobj tests.
6746 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6748 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6749 (main): Call do_at_tests.
6750 * lib/mi-support.exp (mi_create_floating_varobj)
6751 (mi_varobj_update_with_type_change): New.
6753 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6755 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6756 option of -var-evaluate-expression.
6757 * gdb.mi/mi2-var-display.exp: Likewise.
6759 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6761 Introduce test setup helpers.
6762 * lib/gdb.exp (build_executable, clean_restart)
6763 (prepare_for_testing): New.
6764 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6765 * gdb.base/return.exp: Likewise.
6766 * gdb.base/ending-run.exp: Likewise.
6768 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6770 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6771 Interface (MI) responses.
6773 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6775 * gdb.cp/breakpoint.cc: New code to test conditions involving
6777 * gdb.cp/breakpoint.exp: Test condition involving member
6780 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6782 * lib/mi-support.exp (mi_expect_stop): New.
6783 (mi_run_cmd): Change the
6784 token. Use mi_send_resuming_command, use
6786 (mi_execute_to_helper): Rename to mi_execute_to.
6787 (mi_send_resuming_command): Add more error patterns.
6788 (mi_wait_for_stop): Renamed to...
6789 (mi_get_stop_line): ...this.
6790 (mi_run_inline_test): Adjust.
6792 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6793 * gdb.mi/mi-console.exp: Likewise.
6794 * gdb.mi/mi-pending.exp: Likewise.
6795 * gdb.mi/mi-simplerun.exp: Likewise.
6796 * gdb.mi/mi-stack.exp: Likewise.
6797 * gdb.mi/mi-stepi.exp: Likewise.
6798 * gdb.mi/mi-syn-frame.exp: Add comment.
6799 * gdb.mi/mi-until.exp: Likewise.
6800 * gdb.mi/mi-var-display.exp: Likewise.
6801 * gdb.mi/mi-watch.exp: Likewise.
6802 * gdb.mi/mi2-cli.exp: Likewise.
6803 * gdb.mi/mi2-console.exp: Likewise.
6804 * gdb.mi/mi2-simplerun.exp: Likewise.
6805 * gdb.mi/mi2-stack.exp: Likewise.
6806 * gdb.mi/mi2-stepi.exp: Likewise.
6807 * gdb.mi/mi2-until.exp: Likewise.
6808 * gdb.mi/mi2-var-display.exp: Likewise.
6809 * gdb.mi/mi2-watch.exp: Likewise.
6811 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6813 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6815 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6817 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6819 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6820 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6821 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6822 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6823 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6824 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6825 expect an mi error duplicated in stderr.
6827 2008-04-03 Joel Brobecker <brobecker@adacore.com>
6829 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6830 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6831 Add a couple of tests that verify the behavior when the new setting
6832 is set to "cancel" and "all".
6833 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6834 "ask" before we start the testing.
6836 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6838 * gdb.cp/casts.cc: Add class reference variables.
6839 * gdb.cp/casts.exp: New test cases for up/down casting references.
6841 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6843 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6844 instead of beginning to make an extra test pass.
6845 * gdb.mi/mi2-var-display.exp: Likewise.
6847 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6849 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6851 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6852 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6854 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6855 value. Add xfail for older kernels.
6857 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6859 Bring mi-support in line with gdb.exp.
6860 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6861 (mi_gdb_start): New function.
6863 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6865 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6867 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6869 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6870 * gdb.mi/mi2-var-display.exp: Likewise.
6872 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6874 * lib/mi-support.exp (mi_create_varobj_checked): New.
6875 (mi_list_varobj_children): Allow to check for a
6877 (mi_list_array_varobj_children): New.
6879 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6880 and mi_list_varobj_children, as opposed to hardcoding
6882 * gdb.mi/gdb701.exp: Likewise.
6883 * gdb.mi/gdb792.exp: Likewise.
6884 * gdb.mi/mi-var-block.exp: Likewise.
6885 * gdb.mi/mi-var-cmd.exp: Likewise.
6886 * gdb.mi/mi-var-invalidate.exp: Likewise.
6887 * gdb.mi/mi2-var-block.exp: Likewise.
6888 * gdb.mi/mi2-var-child.exp: Likewise.
6889 * gdb.mi/mi2-var-cmd.exp: Likewise.
6890 * gdb.mi/mi2-var-display.exp: Likewise.
6892 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6894 Fix random false FAILs on i386.
6895 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6897 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6900 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6902 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6905 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6907 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6909 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6912 2008-03-21 Pedro Alves <pedro@codesourcery.com>
6914 * gdb.threads/fork-child-threads.exp: Test next over fork.
6916 2008-03-21 Chris Demetriou <cgd@google.com>
6918 * gdb.base/break.exp (rbreak junk): New test for rbreak
6919 "Junk at end of arguments" issue.
6921 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6923 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6924 *& to work on created array elements.
6925 (Top level): Test print $pc with a file. Test string operations
6927 * gdb.base/ptype.exp: Do not expect *& to work on created array
6930 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6932 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6933 gdb.threads/staticthreads.exp: Update exit query.
6935 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6937 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6939 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6941 * gdb.base/watchpoint.c (global_ptr, func4): New.
6943 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6944 (test_inaccessible_watchpoint): New.
6946 2008-02-29 Maciej W. Rozycki <macro@mips.com>
6948 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6951 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6953 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6954 frames-invalid annotations.
6956 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
6958 * gdb.base/assign.exp: avoid same output for different tests.
6960 2008-02-27 Doug Evans <dje@google.com>
6962 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
6964 (breakpoint_to_handler_entry): Ditto.
6966 2008-02-27 Joel Brobecker <brobecker@adacore.com>
6968 * gdb.base/ending-run.exp: Use the first line of code inside
6969 function body to test breakpoints.
6970 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
6971 location where the breakpoint is inserted when using the line
6972 where a function is declared. Fix typo in the description of
6974 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
6976 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6978 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
6981 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6983 * gdb.base/args.exp: avoid same output for tests
6986 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6988 * gdb.base/annota1.exp: Adjust for 'info break'
6990 * gdb.base/annota3.exp: Likewise.
6991 * gdb.base/break.exp: Likewise.
6992 * gdb.base/condbreak.exp: Likewise.
6993 * gdb.base/pending.exp: Likewise.
6994 * gdb.base/sepdebug.exp: Likewise.
6995 * gdb.base/unload.exp: Likewise.
6996 * gdb.cp/ovldbreak.exp: Likewise.
6997 * gdb.mi/mi-pending.exp: Likewise.
6999 2008-02-07 Doug Evans <dje@google.com>
7001 * gdb.cp/mb-inline.exp: New.
7002 * gdb.cp/mb-inline.h: New.
7003 * gdb.cp/mb-inline1.cc: New.
7004 * gdb.cp/mb-inline2.cc: New.
7006 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7008 * gdb.pascal/floats.pas: New test program.
7009 * gdb.pascal/floats.exp: New testcase.
7011 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7013 * gdb.base/callfuncs.c (t_float_many_args): New function.
7014 (t_double_many_args): New function.
7015 * gdb.base/callfuncs.exp: Add tests for exceeding float
7016 and double parameters passed through the stack.
7018 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7020 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7021 gdb.ada/complete/foo.adb: New files.
7022 * gdb.ada/complete.exp: New testcase.
7024 2008-02-03 Doug Evans <dje@google.com>
7026 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7028 * gdb.cp/gdb2384.exp: New file.
7029 * gdb.cp/gdb2384.cc: New file.
7030 * gdb.cp/gdb2384-base.h: New file.
7031 * gdb.cp/gdb2384-base.cc: New file.
7033 2008-02-02 Doug Evans <dje@google.com>
7035 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7037 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7039 * gdb.ada/sym_print_name: New test program.
7040 * gdb.ada/sym_print_name.exp: New testcase.
7042 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7044 * gdb.ada/nested/hello.adb: New file.
7045 * gdb.ada/nested.exp: New testcase.
7046 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7048 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7050 * gdb.mi/basic.c (return_1): New function.
7051 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7052 don't cause future evaluations of function to report
7053 creation of internal breakpoints.
7055 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7057 * gdb.mi/mi-break.exp (test_error): New.
7060 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7062 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7063 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7065 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7067 * gdb.pascal/integers.pas: New test program.
7068 * gdb.pascal/integers.exp: New testcase.
7070 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7072 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7074 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7076 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7077 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7079 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7081 * gdb.ada/formatted_ref: New test program.
7082 * gdb.ada/formatted_ref.exp: New testcase.
7084 * gdb.cp/formatted-ref.cc: New file.
7085 * gdb.cp/formatted-ref.exp: New testcase.
7087 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7089 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7091 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7093 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7094 (test_file_list_exec_source_file): Update to new macro-info field.
7096 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7098 * gdb.ada/exprs: New test program.
7099 * gdb.ada/exprs.exp: New testcase.
7101 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7103 * dfp-test.c (DELTA, DELTA_B): New definitions.
7104 (double_val1, double_val2, double_val3, double_val4, double_val5,
7105 double_val6, double_val7, double_val8, double_val9, double_val10,
7106 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7107 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7108 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7109 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7110 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7111 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7112 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7113 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7114 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7115 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7116 dec128_val16): New global variables.
7117 (decimal_dec128_align): New function.
7118 (decimal_mixed): Likewise.
7119 (decimal_many_args_dec32): Likewise.
7120 (decimal_many_args_dec64): Likewise.
7121 (decimal_many_args_dec128): Likewise.
7122 (decimal_many_args_mixed): Likewise.
7123 * dfp-test.exp: Add tests calling new inferior functions.
7125 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7127 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7128 gdb.server/ext-run.exp: New files.
7129 * lib/gdbserver-support.exp (gdbserver_download): New.
7130 (gdbserver_start): New. Update gdbserver expected
7132 (gdbserver_spawn): Use them.
7133 (gdbserver_start_extended): New.
7135 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7137 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7139 (do_exec_tests): Check for systems which do not support catchpoints.
7141 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7142 Run on GNU/Linux. Enable verbose output.
7143 (check_fork_catchpoints): New.
7144 (explicit_fork_child_follow, catch_fork_child_follow)
7145 (tcatch_fork_parent_follow): Update expected messages.
7146 (do_fork_tests): Use check_fork_catchpoints.
7147 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7148 Run on GNU/Linux. Enable verbose output.
7149 (check_vfork_catchpoints): New.
7150 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7152 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7154 2008-01-29 Jim Blandy <jimb@red-bean.com>
7156 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7158 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7160 2008-01-29 Jim Blandy <jimb@red-bean.com>
7162 * gdb.threads/sigthread.c: Use barriers to ensure that
7163 child_thread and child_thread_two are always initialized before we
7166 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7168 * gdb.base/watchpoint-solib.exp: New.
7169 * gdb.base/watchpoint-solib.c: New.
7170 * gdb.base/watchpoint-solib-shr.c: New.
7172 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7174 * gdb.base/gdb1056.exp: Add unsigned integer test.
7176 2008-01-28 Doug Evans <dje@google.com>
7178 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7180 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7182 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7184 * gdb.base/expand-psymtabs.exp: Doc fix.
7186 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7188 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7190 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7192 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7195 2008-01-23 Chris Demetriou <cgd@google.com>
7197 * gdb.threads/thread_events.c: New testcase source file.
7198 * gdb.threads/thread_events.exp: New testcase expect file.
7200 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7202 * lib/gdb.exp: Add the variable octal.
7204 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7207 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7208 Vladimir Prus <vladimir@codesourcery.com>
7210 * gdb.base/float.exp: Allow missing floating point for m68k and
7213 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7215 * gdb.mi/basics.c: Setup for testing breakpoints
7217 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7218 * gdb.mi/mi-cli.exp: Adjust.
7219 * gdb.mi/mi2-cli.exp: Adjust.
7221 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7223 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7224 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7225 with dummy_ptr's address.
7226 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7227 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7229 * gdb.mi/mi2-var-child.exp: Likewise.
7231 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7233 * gdb.ada/null_array: New test program.
7234 * gdb.ada/null_array.exp: New testcase.
7236 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7238 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7239 with required float modifiers.
7241 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7243 * gdb.ada/funcall_param: New test program.
7244 * gdb.ada/funcall_param.exp: New testcase.
7246 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7248 * gdb.ada/arrayparam: New test program.
7249 * gdb.ada/arrayparam.exp: New testcase.
7251 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7253 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7254 landed. Should also fix random failures in the test following it.
7256 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7258 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7259 for expressions with decimal float values.
7260 (test_dfp_conversions): New function to test casts to and from
7261 decimal float types.
7262 Call test_dfp_conversions.
7263 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7265 (main): Initialize ds.float4 and ds.double8 elements.
7266 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7267 string to new error message.
7268 (d64_set_tests): Likewise.
7269 (d128_set_tests): Likewise.
7270 Add tests for expressions with decimal float variables. Add tests for
7271 conversions to and from decimal float types.
7273 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7275 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7276 * gdb.ada/packed_tagged.exp: New testcase.
7278 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7280 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7281 gdb.ada/homonym/homonym_main.adb: New files.
7282 * gdb.ada/homonym.exp: New testcase.
7284 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7286 * gdb.ada/packed_array.exp: Add testing of references to
7289 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7291 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7293 * gdb.ada/type_coercion.exp: New testcase.
7295 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7297 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7298 gdb.ada/tagged/foo.adb: New file.
7299 * gdb.ada/tagged.exp: New testcase.
7301 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7303 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7304 gdb.ada/ptype_field/foo.adb: New files.
7305 * gdb.ada/ptype_field.exp: New testcase.
7307 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7309 * gdb.ada/print_pc.exp: New testcase.
7311 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7313 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7314 gdb.ada/taft_type/p.adb: New files.
7315 * gdb.ada/taft_type.exp: New testcase.
7317 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7319 * gdb.ada/array_bounds/bar.adb: New file.
7320 * gdb.ada/array_bounds.exp: New testcase.
7322 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7324 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7325 gdb.ada/arrayptr/foo.adb: New files.
7326 * gdb.ada/arrayptr.exp: New testcase.
7328 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7330 * gdb.base/set-lang-auto.exp: New testcase.
7332 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7334 * gdb.ada/fun_addr/foo.adb: New file.
7335 * gdb.ada/fun_addr.exp: New testcase.
7337 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7339 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7342 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7344 * array_subscript_addr/p.adb: New file.
7345 * array_subscript_addr.exp: New testcase.
7347 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7349 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7351 * gdb.ada/str_cmp_ref.exp: New testcase.
7353 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7355 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7356 gdb.ada/fun_in_declare/foo.adb: New files.
7357 * gdb.ada/fun_in_declare.exp: New testcase.
7359 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7361 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7362 gdb.ada/ref_param/pck.ads: New files.
7363 * gdb.ada/ref_param.exp: New testcase.
7365 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7367 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7368 gdb.ada/interface/foo.adb: New files.
7369 * gdb.ada/interface.exp: New testcase.
7371 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7373 * gdb.base/multi-forks.exp: Consume all output from child
7374 processes before proceeding to next test.
7376 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7378 * configure: Regenerated.
7380 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7382 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7383 gdb.ada/fixed_cmp/fixed.adb: New files.
7384 * gdb.ada/fixed_cmp.exp: New testcase.
7386 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7388 * gdb.ada/boolean_expr.exp: New testcase.
7390 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7392 * gdb.base/multi-forks.exp: Doc fix.
7394 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7396 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7397 * gdb.ada/char_param.exp: Do not compile our test program with
7398 -gnata, this is unnecessary.
7399 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7401 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7403 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7404 gdb.ada/print_chars/foo.adb: New files.
7405 * gdb.ada/print_chars.exp: New testcase.
7407 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7409 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7410 gdb.ada/char_param/foo.adb: New files.
7411 * gdb.ada/char_param.exp: New testcase.
7413 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7415 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7416 hard-coding source line numbers into the test.
7417 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7418 gdb_get_line_number to find.
7420 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7422 * gdb.base/ptype.c (highest): New struct type.
7423 (the_highest): New variable of that type.
7424 (main): Add dummy assignment to a field of variable the_highest.
7425 * gdb.base/ptype.exp: Test type printing of our new variable.
7427 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7429 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7430 and record first explicitly generated thread number.
7431 Use that thread number for thread specific watchpoint test.
7432 Add iteration number to repetitive tests.
7434 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7435 Jim Blandy <jimb@codesourcery.com>
7437 * gdb.base/expand-psymtabs.c: New testcase
7439 * gdb.base/expand-psymtabs.exp: New testcase
7442 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7444 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7445 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7447 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7449 * gdb.ada/frame_args/foo.adb: New file.
7450 * gdb.ada/frame_args/pck.ads: New file.
7451 * gdb.ada/frame_args/pck.adb: New file.
7452 * gdb.ada/frame_args.exp: New testcase.
7454 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7456 * gdb.base/frame-args.c: New file.
7457 * gdb.base/frame-args.exp: New testcase.
7459 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7460 Joseph Myers <joseph@codesourcery.com>
7462 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7464 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7466 * gdb.mi/mi-pending.exp: New.
7467 * gdb.mi/mi-pending.c: New.
7468 * gdb.mi/mi-pendshr.c: New.
7470 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7472 * gdb.base/default.exp: Update expected output for 'info catch'.
7474 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7476 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7477 must be set to binary.
7479 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7481 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7483 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7485 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7486 gdb.mi/mi-file-transfer.exp: New.
7488 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7490 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7492 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7494 * gdb.trace/backtrace.exp: Fix a typo.
7495 * gdb.trace/circ.exp: Likewise.
7496 * gdb.trace/collection.exp: Likewise.
7497 * gdb.trace/limits.exp: Likewise.
7498 * gdb.trace/report.exp: Likewise.
7499 * gdb.trace/tfind.exp: Likewise.
7500 * gdb.trace/while-dyn.exp: Likewise.
7502 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7504 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7505 objects of pointers that can't be dereferenced are now
7508 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7510 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7511 (target_cpu): Remove.
7513 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7515 * gdb.base/ending-run.exp: Expect the list of cleared
7516 breakpoint to come in natural order, not the reversed one.
7518 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7520 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7521 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7523 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7525 * gdb.base/printcmds.exp: New function
7526 test_printf_with_dfp.
7528 2007-11-02 Doug Evans <dje@google.com>
7530 * gdb.disasm/t01_mov.s: Remove carriage returns.
7531 * gdb.disasm/t02_mova.s: Ditto.
7532 * gdb.disasm/t03_add.s: Ditto.
7533 * gdb.disasm/t04_sub.s: Ditto.
7534 * gdb.disasm/t05_cmp.s: Ditto.
7535 * gdb.disasm/t06_ari2.s: Ditto.
7536 * gdb.disasm/t07_ari3.s: Ditto.
7537 * gdb.disasm/t08_or.s: Ditto.
7538 * gdb.disasm/t09_xor.s: Ditto.
7539 * gdb.disasm/t10_and.s: Ditto.
7540 * gdb.disasm/t11_logs.s: Ditto.
7541 * gdb.disasm/t12_bit.s: Ditto.
7542 * gdb.disasm/t13_otr.s: Ditto.
7544 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7546 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7548 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7550 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7551 provide DFP support.
7553 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7555 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7556 Test "set powerpc vector-abi". Skip auto-detection tests for old
7559 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7561 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7562 with [string compare].
7564 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7566 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7567 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7569 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7571 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7572 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7573 * gdb.opt/Makefile.in: New makefile.
7574 * Makefile.in: Create new directory "gdb.opt".
7575 * configure.ac: Add "gdb.opt" directory.
7576 * configure: Regenerated.
7578 2007-10-25 Doug Evans <dje@google.com>
7580 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7581 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7583 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7584 Thiago Jung Bauermann <bauerman@br.ibm.com>
7586 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7587 Floating Point expressions.
7588 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7589 Floating Point variables.
7590 * gdb.base/dfp-test.c: new file containing program with Decimal
7591 Floating variables, used by gdb.base/dfp-test.exp.
7593 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7595 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7597 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7599 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7600 compiling test case with GCC.
7601 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7603 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7605 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7608 2007-10-18 Michael Snyder <msnyder@specifix.com>
7610 * gdb.base/dbx.exp: Add missing "-re " operator.
7612 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7614 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7615 * configure.ac: Removed trailing spaces after backslash.
7616 * gdb.modula2: New directory.
7617 * gdb.modula2/Makefile.in: New file.
7618 * gdb.modula2/unbounded-array.exp: New file.
7619 * gdb.modula2/unbounded1.c: New file.
7621 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7623 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7625 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7627 * gdb.base/sigstep.c (main): Add checks for
7628 return values for setitimer call.
7629 Call setitimer again with itimer = ITIMER_REAL
7630 if first call to setitimer fails.
7632 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7634 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7637 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7639 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7641 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7643 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7644 of gdb_expect call, to avoid interruption.
7646 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7648 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7649 (v_unsigned_long_long, v_long_long_array)
7650 (v_signed_long_long_array, v_unsigned_long_long_array)
7651 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7652 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7653 [!NO_LONG_LONG]: New.
7654 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7657 (v_long_long_func, v_signed_long_long_func)
7658 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7659 (main) [!NO_LONG_LONG]: Initialize long long variants.
7661 * gdb.base/whatis.exp: If board file requests no_long_long, build
7662 test with NO_LONG_LONG defined. Test long long, signed long long,
7663 and unsigned long long variants but only if board file doesn't
7666 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7667 Daniel Jacobowitz <dan@codesourcery.com>
7669 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7670 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7671 * configure: Regenerated.
7672 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7673 gdb.pascal/types.exp, lib/pascal.exp: New files.
7675 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7677 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7679 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7680 to return to the call.
7681 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7682 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7683 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7684 * gdb.mi/mi-until.exp (test_until): Likewise.
7685 * gdb.mi/mi2-until.exp (test_until): Likewise.
7687 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7689 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7691 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7693 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7695 * gdb.threads/watchthreads.c (thread_function): Sleep between
7697 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7698 at once for S/390. Generate matching fails and passes.
7700 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7702 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7703 the 'struct_declarations' variable to zeros.
7705 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7707 * gdb.cp/mb-ctor.cc: New.
7708 * gdb.cp/mb-ctor.exp: New.
7709 * gdb.cp/mb-templates.cc: New.
7710 * gdb.cp/mb-templates.exp: New.
7712 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7714 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7716 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7718 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7720 * configure: Regenerate.
7722 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7724 * gdb.base/annota1.exp: Adjust for 'info break'
7726 * gdb.base/annota3.exp: Likewise.
7727 * gdb.base/break.exp: Likewise.
7728 * gdb.base/condbreak.exp: Likewise.
7729 * gdb.base/pending.exp: Likewise.
7730 * gdb.base/sepdebug.exp: Likewise.
7731 * gdb.base/unload.exp: Likewise.
7732 * gdb.base/ovldbreak.exp: Likewise.
7734 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7736 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7738 * gdb.base/chng-syms.exp: Likewise.
7739 * gdb.base/unload.exp: Likewise.
7741 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7743 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7745 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7747 * schedlock.c (NUM): Change to 1.
7748 (main): Use args[0] for the main thread.
7749 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7750 regardless of the number of threads.
7752 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7754 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7756 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7758 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7759 watchpoint type down.
7760 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7763 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7765 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7766 Move all the tests here and run them twice, once using software
7767 watchpoints and once using hardware watchpoints.
7768 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7770 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7772 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7775 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7777 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7780 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7781 know about $ORIGIN. Calculate output dir from $dest instead of
7782 using ${objdir}/{$subdir}.
7784 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7786 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7787 gcore, before continuing with the test.
7789 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7791 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7792 * gdb.mi/mi-watch.exp: Likewise.
7794 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7795 Jim Blandy <jimb@codesourcery.com>
7797 * gdb.arch/i386-sse.exp: Do not expect character constants.
7798 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7799 * gdb.base/display.exp: Allow print/s.
7800 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7801 and unsigned char array changes.
7803 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7805 * gdb.base/display.exp: Add tests for printf %p.
7807 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7809 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7810 the dll name to unicode.
7812 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7814 * gdb.base/default.exp (show version): Update the version text.
7815 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7817 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7819 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7822 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7824 * lib/gdb.exp (build_id_debug_filename_get): New function.
7825 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7826 Remove the generate DEBUG file for the future testcase runs.
7827 New testcase for the NT_GNU_BUILD_ID retrieval.
7828 Move the final testing step to ...
7829 (test_different_dir): ... a new function.
7830 New parameter XFAIL to XFAIL all the tests performed.
7831 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7832 New parameter TYPE to PF_PREFIX all the tests performed.
7834 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7836 * gdb.mi/mi-var-cp.cc (path_expression): New
7838 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7840 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7842 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7843 to fit into SPU Local Store memory.
7845 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7847 * gdb.base/default.exp: Adjust the expected output of "info
7848 warranty" after the switch to GPLv3.
7850 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7852 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7853 to 30000 (from 20000).
7855 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7857 Switch the license of all .exp files to GPLv3.
7858 Switch the license of all .f and .f90 files to GPLv3.
7859 Switch the license of all .s and .S files to GPLv3.
7861 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7863 * configure.ac: Switch license to GPLv3.
7865 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7867 Switch the licensing to GPLv3 for all .ads and .adb files.
7869 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7871 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7873 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7875 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7877 * gdb.base/step-line.c: Switch license to GPL version 3, and
7878 update copyright year.
7879 * gdb.base/step-line.inp: Likewise.
7881 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7883 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7884 changes inside gdb1555.c.
7885 * gdb.base/pending.exp: Likewise.
7887 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7889 * config/default.exp: New file.
7891 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7893 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7894 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7896 2007-07-30 Maciej W. Rozycki <macro@mips.com>
7898 * gdb.base/dump.exp: Force the correct endianness for binary
7899 formats not carrying this information.
7901 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7903 * gdb.threads/staticthreads.exp: Match .*sem_post.
7905 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7907 * gdb.base/readline.exp (operate_and_get_next): Match the final
7910 2007-07-23 Kevin Buettner <kevinb@redhat.com>
7912 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7915 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7917 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7918 prior to `gdb_start'.
7920 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7922 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7923 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7924 Remove call to gdb_unload.
7926 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7927 Daniel Jacobowitz <dan@codesourcery.com>
7929 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7931 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7932 * gdb.base/unload.exp: Use shared library test routines.
7934 2007-07-03 Markus Deuling <deuling@de.ibm.com>
7936 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7937 * gdb.base/solib-symbol-lib.c: Likewise.
7938 * gdb.base/solib-symbol-main.c: Likewise.
7940 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7942 * config/gdbserver.exp (gdb_reconnect): New.
7943 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7944 gdb.base/solib-disc.exp: New files.
7945 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7947 (gdb_compile): Add shlib_load flag.
7948 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7950 (gdbserver_reconnect): New.
7952 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
7953 Daniel Jacobowitz <dan@codesourcery.com>
7955 * gdb.base/annota3.exp: Test for if construct.
7957 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
7959 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
7961 2007-06-21 Chris Dearman <chris@mips.com>
7962 Maciej W. Rozycki <macro@mips.com>
7964 * gdb.base/display.exp: Allow a newline after display/i.
7965 * gdb.base/pc-fp.exp: Likewise.
7966 * gdb.base/sigbpt.exp: Likewise.
7968 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7970 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
7971 required features to be included.
7973 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7975 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
7976 in info threads output.
7978 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7979 Markus Deuling <deuling@de.ibm.com>
7981 * gdb.arch/spu-info.exp: New testcase.
7982 * gdb.arch/spu-info.c: New file.
7984 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
7986 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
7987 tpcs_offset. Restore lr after the call.
7988 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
7990 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
7992 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
7993 (gdbserver_run): Kill any running gdbserver.
7994 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
7996 2007-05-17 Maciej W. Rozycki <macro@mips.com>
7998 * gdb.base/sigbpt.exp: Preset segv_addr.
8000 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8002 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8003 (gdb_compile_shlib): Likewise.
8004 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8005 (default_gdb_init): Clear cleanfiles.
8006 (gdb_finish): Delete recorded cleanfiles.
8007 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8009 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8010 Do not use isnative.
8011 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8012 gdb.base/so-impl-ld.exp: Likewise.
8013 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8014 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8017 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8019 * config/unknown.exp: Remove.
8021 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8023 * gdb.base/info-proc.exp: Check is_remote.
8025 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8027 * gdb.base/gcore.exp: Initialize variable core_supported.
8029 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8031 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8033 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8035 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8036 * gdb.threads/print-threads.exp (test_all_threads): Allow
8037 negative and hexadecimal thread IDs.
8039 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8041 * gdb.java/jprint.java (public): Avoid invalid call to static
8044 2007-05-14 Denis Pilat <denis.pilat@st.com>
8046 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8047 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8048 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8049 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8050 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8052 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8054 * gdb.base/overlays.exp: Add support for targets with only code
8055 overlay support, not data overlay. Support spu-*-* target in
8057 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8058 * gdb.base/spu.ld: New file.
8060 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8062 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8064 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8066 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8068 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8070 * gdb.java/jmain.exp: Handle demangled names with and without method
8073 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8075 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8076 (have_a_very_merry_interrupt): Remove calls to puts.
8077 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8079 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8082 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8083 Daniel Jacobowitz <dan@codesourcery.com>
8085 * gdb.base/auxv.exp (core_works): Also check is_remote.
8086 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8088 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8090 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8091 message, not the undefined 'module' variable.
8092 * gdb.base/siginfo.exp: Likewise.
8093 * gdb.base/sigstep.exp: Likewise.
8094 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8096 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8098 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8100 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8101 target sim fails. Return 0 otherwise.
8102 (gdb_load): Return prematurely if gdb_target_sim fails.
8104 2007-04-16 Denis Pilat <denis.pilat@st.com>
8106 * gdb.base/setshow.exp: Reset height after having set it to 100.
8108 2007-04-16 Denis Pilat <denis.pilat@st.com>
8110 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8112 2007-04-16 Denis Pilat <denis.pilat@st.com>
8114 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8116 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8118 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8119 tests. Run the frozen varobjs test.
8120 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8121 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8123 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8125 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8126 gdb.base/type-opaque.exp: New files.
8128 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8130 * gdb.mi/mi-var-child.c
8131 (do_children_tests): User char[2] instead of
8132 char so that automatic printing of pointers to char
8133 don't give unpredicable result.
8134 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8136 * gdb.mi/mi-var-child.exp: Step to right line
8137 of do_children_tests.
8138 * gdb.mi/mi2-var-child.exp: Likewise.
8139 * gdb.mi/mi-var-cmd.exp: Step to right line of
8141 (do_children_tests): User char[2] instead of
8142 char so that automatic printing of pointers to char
8143 don't give unpredicable result.
8144 * gdb.mi/mi2-var-cmd.exp: Likewise.
8145 * lib/mi-support.exp (mi_continue_to_line):
8146 Pass test name to mi_wait_for_stop.
8148 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8150 * gdb.asm/asm-source.exp: Remove d10v case.
8151 * lib/gdb.exp (skip_cplus_tests): Likewise.
8152 * gdb.asm/d10v.inc: Deleted.
8154 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8156 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8158 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8160 * config/netware.exp: Delete file.
8162 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8164 * gdb.dwarf2/dw2-noloc.S: New file.
8165 * gdb.dwarf2/dw2-noloc.exp: New file.
8167 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8169 * gdb.cp/method2.cc: New test.
8170 * gdb.cp/method2.exp: New test.
8171 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8173 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8175 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8177 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8179 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8181 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8183 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8184 (gdb_load): Delete, replace with...
8185 (gdb_reload): ...this.
8186 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8187 * gdb.server/server-mon.exp: Likewise.
8188 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8189 (gdb_start_cmd): New.
8190 (gdb_file_cmd): Save the last loaded file.
8192 (gdb_gnu_strip_debug): Use transform.
8193 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8194 support here. Use new $last_loaded_file. Check mtime.
8195 (gdb_target_cmd): Handle ObjC failure case.
8196 (infer_host_exec): Delete.
8197 (gdbserver_load): Rename to...
8198 (gdbserver_run): ...this. Simplify.
8199 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8200 (mi_gdb_load): Move most contents to a new function...
8201 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8202 (mi_run_cmd): Use mi_gdb_target_load.
8203 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8204 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8206 * gdb.base/charsign.exp: Remove incorrect comment.
8207 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8208 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8209 gdb.base/start.exp: Use gdb_start_cmd.
8211 2007-03-23 Nigel Stephens <nigel@mips.com>
8212 Maciej W. Rozycki <macro@mips.com>
8214 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8215 * gdb.base/signull.exp: Similarly.
8217 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8219 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8220 messages available to test cases (like chng-sym.exp).
8222 2007-03-14 Andreas Schwab <schwab@suse.de>
8224 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8227 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8229 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8231 (main): Call optimized_1.
8232 (gdb2029): Correct typos. Call gdb2029_marker.
8233 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8236 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8238 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8239 as tabs. Remove redundant test pattern.
8241 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8243 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8244 for /a format output.
8246 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8248 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8249 collect output incrementally.
8251 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8253 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8254 for -var-create lpcharacter test.
8255 * gdb.mi/mi2-var-cmd.exp: Likewise.
8257 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8259 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8260 pass on targets where address zero is readable.
8262 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8264 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8265 just a single architecture.
8267 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8269 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8270 (fetch_all_registers): New function, uses gdb_test_multiple and
8271 exp_continue to fetch inferior output line-by-line.
8272 Replace all uses of do_get_all_registers by fetch_all_registers.
8274 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8276 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8279 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8281 * gdb.threads/manythreads.exp: Use $message string for
8282 consistancy; add a default (timeout) case.
8284 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8286 * gdb.base/watchpoint.exp: Fix truncated comment.
8288 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8290 * Makefile.in: Remove spurious single-quotes from sed command.
8292 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8294 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8296 * gdb.mi/mi2-var-cmd.exp: Likewise.
8298 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8300 * gdb.dwarf2/dw2-producer.S: New file.
8301 * gdb.dwarf2/dw2-producer.exp: New testcase.
8303 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8305 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8306 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8307 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8308 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8309 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8310 Revert tests to use mi_gdb_test and include value field in output
8313 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8315 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8317 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8319 * gdb.base/maint.exp: Remove full paths from test names.
8320 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8321 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8323 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8325 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8327 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8329 * gdb.server/server-mon.exp: New test.
8331 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8333 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8335 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8337 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8338 register capitalization.
8340 2007-02-13 Denis Pilat <denis.pilat@st.com>
8342 * gdb.mi/mi-var-invalidate.exp: New file.
8344 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8346 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8348 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8350 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8352 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8354 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8355 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8357 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8359 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8360 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8361 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8362 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8363 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8364 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8365 Update tests to include value field in output of -var-create.
8367 2007-02-08 Andreas Schwab <schwab@suse.de>
8369 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8371 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8373 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8374 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8376 2007-02-02 Denis Pilat <denis.pilat@st.com>
8378 * gdb.threads/threadapply.exp: check that frame is not changed by
8379 the thread apply all command.
8381 2007-01-31 Andreas Schwab <schwab@suse.de>
8383 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8385 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8386 in the dwarf sections.
8387 * gdb.dwarf2/mac-fileno.S: Likewise.
8389 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8390 bspstore register on ia64.
8392 2007-01-29 Andreas Schwab <schwab@suse.de>
8394 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8395 "frame-begin" annotation.
8397 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8398 number of "frames-invalid" annotations.
8400 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8402 * gdb.base/commands.exp: Call if_commands_test.
8403 (gdb_test_no_prompt, if_commands_test): New.
8405 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8407 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8409 2007-01-27 Andreas Schwab <schwab@suse.de>
8411 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8412 .short/.int/.quad in the dwarf sections.
8413 * gdb.dwarf2/dw2-intercu.S: Likewise.
8414 * gdb.dwarf2/dw2-intermix.S: Likewise.
8416 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8418 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8419 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8421 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8422 * gdb.base/setvar.exp: Likewise.
8424 2007-01-26 Andreas Schwab <schwab@suse.de>
8426 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8429 * gdb.base/multi-forks.exp ("restart $i"): Also match
8430 __kernel_syscall_via_break.
8432 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8434 * lib/mi-support.exp (mi_delete_varobj): New.
8435 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8437 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8438 (main): Call the above.
8439 (reference_update_test, base_in_reference_test)
8440 (reference_to_pointer): Delete the created varobjs.
8442 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8444 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8445 * configure: Regenerated.
8446 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8447 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8448 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8449 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8450 * lib/gdb.exp (gdb_skip_xml_test): New function.
8452 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8454 * gdb.base/sigrepeat.exp: Correct error message.
8456 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8457 Daniel Jacobowitz <dan@codesourcery.com>
8459 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8460 gdb.arch/i386-gnu-cfi-asm.S: New files.
8462 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8464 * lib/gdb.exp: Abort on missing `site.exp'.
8466 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8467 Daniel Jacobowitz <dan@codesourcery.com>
8469 * gdb.base/included.c, gdb.base/included.exp,
8470 gdb.base/included.h: New files.
8472 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8474 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8475 (maximize_rlimit): Reduce limits on 64-bit systems.
8477 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8479 From Marcus Deuling <deuling@de.ibm.com>:
8480 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8483 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8485 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8486 (test_path_specification): Use objdir instead of srcdir to always
8487 get an absolute filename.
8489 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8491 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8493 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8495 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8496 Make sure the variable we're using is in scope.
8497 (reference_to_pointer): Likewise.
8499 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8501 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8502 has no debug information.
8504 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8506 * gdb.base/annota1.exp: Remove extra send_gdb.
8508 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8510 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8512 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8514 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8516 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8517 Daniel Jacobowitz <dan@codesourcery.com>
8519 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8520 lcharacter or linteger change. Correct duplicated test name.
8521 * gdb.mi/mi2-var-cmd.exp: Likewise.
8523 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8525 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8527 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8529 * gdb.base/nofield.c: New file.
8530 * gdb.base/nofield.exp: New testcase.
8532 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8534 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8536 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8539 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8541 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8543 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8545 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8548 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8550 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8551 Expect ".exe" extension.
8553 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8555 * gdb.base/charset.exp: Add explicit filename to break.
8556 * gdb.base/dbx.exp: Add explicit filename to breaks.
8558 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8560 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8561 * gdb.mi/mi2-file.exp: Likewise.
8563 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8565 Implement specification of MI tests as comments
8566 in C and C++ sources.
8567 * lib/mi-support.exp (mi_autotest_data): New variable.
8568 (mi_autotest_source): New variable.
8569 (count_newlines, mi_prepare_inline_tests)
8570 (mi_get_inline_test, mi_continue_to_line)
8571 (mi_run_inline_test, mi_tbreak)
8572 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8573 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8575 * gdb.mi/mi-var-cp.cc: Define tests here.
8577 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8579 Simplify usage of mi_continue_to.
8580 * lib/mi-support.exp (mi_runto_helper): Renamed
8581 from mi_runto, added new parameter 'run_or_continue'.
8582 (mi_runto): Use mi_runto_helper.
8583 (mi_continue_to): Accept just function name as parameter.
8584 Use mi_runto_helper.
8585 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8586 * gdb.mi/mi2-var-cmd.exp: Likewise.
8588 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8590 Make this testcase a bit more realistic. The current code
8591 is too simplistic, and allows the compiler to optimize out
8592 some of the entities we need for this testcase.
8593 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8594 (Do_Nothing): Add extra parameter.
8595 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8596 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8597 by using a variable of type Void_Star.
8599 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8601 * gdb.ada/catch_ex/foo.adb: New file.
8602 * gdb.ada/catch_ex.exp: New testcase.
8604 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8606 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8607 pass --image-base to linker.
8609 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8610 Daniel Jacobowitz <dan@codesourcery.com>
8612 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8615 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8617 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8618 output. Test the types of members and member pointers.
8619 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8621 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8622 statement. Enable for GCC. Update expected output for some tests
8623 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8625 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8626 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8627 (Diamond::vget_base): New.
8628 (main): Add new tests.
8629 * gdb.cp/printmethod.exp: Update expected output for member functions.
8630 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8633 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8635 * gdb.threads/tls.exp: Allow stops in sem_post.
8637 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8639 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8640 * gdb.base/annota3.exp: Likewise.
8641 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8642 again (instead of timing out).
8643 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8645 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8646 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8647 test from jmisc1.exp.
8648 * gdb.java/jmisc1.exp: Delete.
8649 * gdb.java/jprint.exp: Adjust to work with method signatures including
8651 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8652 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8653 * lib/java.exp (compile_java_from_source): Pass the correct type
8656 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8658 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8659 (stack_align_edx): New function.
8660 (stack_align_eax): New function.
8661 (main): Add calls to stack_align_edx and stack_align_eax.
8662 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8663 Add testing for the cases where the register used during a stack
8664 realignment is edx. Same for eax.
8666 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8668 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8669 and generic PE targets.
8671 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8673 * gdb.ada/array_return.exp: Update copyright date list.
8675 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8677 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8678 (Create_Small_Float_Vector): New function.
8679 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8681 * gdb.ada/array_return/p.adb: Use new type and function from
8683 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8684 able to print the value returned by a function returning an
8687 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8689 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8690 The associated tests should be PASSing.
8692 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8694 Test for base in references.
8695 * gdb.mi/mi-var-cp.cc: Add test code.
8696 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8697 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8698 * gdb.mi/mi2-watch.exp: Likewise.
8699 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8700 (mi_list_varobj_children): New function.
8702 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8704 * lib/mi-support.exp
8705 (mi_runto): Accept "()" after function name.
8706 (mi_create_varobj): New function.
8707 (mi_varobj_update): New function.
8708 (mi_Check_varobj_value): New function.
8709 * gdb.mi/mi-var-cp.exp: New file.
8710 * gdb.mi/mi-var-cp.cc: New file.
8712 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8714 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8715 gdb.base/weaklib2.c: New files.
8717 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8719 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8720 info. Adjust test names.
8722 * gdb.base/break.c (main): Move position of malloc.
8723 * gdb.base/break.exp: Revert mistaken checkin.
8725 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8727 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8728 assignement of arrays and function pointers.
8729 * gdb.mi/var-cmd.c: Add declaration necessary for above
8732 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8734 * gdb.base/break.c (main): Call malloc.
8736 * gdb.threads/linux-dp.exp: Read thread table before and after
8737 creating each philosopher and verify it.
8739 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8740 Paul Brook <paul@codesourcery.com>
8741 Daniel Jacobowitz <dan@codesourcery.com>
8743 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8744 main to remove duplication. Add start function of the form
8745 '_*start[1-9]*'. Add RVDS start function.
8747 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8749 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8751 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8753 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8754 * gdb.asm/spu.inc: New file.
8755 * gdb.base/term.exp: Disable if [target_info exists noargs].
8756 * gdb.gdb/complaints.exp: Disable if ![isnative].
8757 * gdb.gdb/selftest.exp: Likewise.
8758 * gdb.gdb/observer.exp: Likewise.
8759 * gdb.gdb/xfullpath.exp: Likewise.
8760 * gdb.base/attach.exp: Disable on SPU target.
8761 * gdb.cp/bs145503.exp: Likewise.
8762 * gdb.cp/exception.exp: Likewise.
8763 * gdb.cp/userdef.exp: Likewise.
8765 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8767 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8769 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8771 * gdb.base/completion.exp: Fix completion tests for
8773 * gdb.base/help.exp (help_test_raw, test_class_help)
8774 (test_prefix_command_help): Move...
8775 * lib/gdb.exp: Here.
8776 * gdb.base/main.exp: Adjust.
8777 * gdb.cp/maint.exp: Adjust.
8778 * gdb.trace/tracecmd.exp: Use test_help_class.
8780 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8782 * gdb.stabs/weird.exp (print_weird_var): Use
8783 gdb_test_multiple instead of gdb_expect.
8785 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8787 * gdb.base/help.exp (help_test_raw): New.
8788 (test_class_help): New.
8789 (test_prefix_command_help): New.
8792 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8794 * gdb.base/constvars.c (main): Write to crass and crips, so that
8795 they are allocated by the compiler.
8797 2006-10-27 Andreas Schwab <schwab@suse.de>
8799 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8802 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8804 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8807 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8809 * gdb.base/sepdebug.exp: Remove debug format test.
8810 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8812 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8814 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8816 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8817 int to pointer or pointer to int.
8818 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8820 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8822 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8824 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8826 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8828 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8831 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8833 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8835 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8836 the corresponding bug has been fixed in GDB (PR/2018).
8838 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8840 * gdb.base/subst.exp: New testcase.
8842 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8844 * gdb.ada/array_return/pck.ads: Add copyright notice.
8845 * gdb.ada/array_return/pck.adb: Likewise.
8846 * gdb.ada/array_return/p.adb: Likewise.
8847 * gdb.ada/exec_changed/first.adb: Likewise.
8848 * gdb.ada/exec_changed/second.adb: Likewise.
8850 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8852 * gdb.ada/watch_arg/watch.adb: New file.
8853 * gdb.ada/watch_arg.exp: New testcase.
8855 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8857 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8858 via string_to_regexp.
8859 * gdb.mi/mi2-basics.exp: Likewise.
8861 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8863 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8864 Remove unused / obsolete files.
8866 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8868 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8870 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8872 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8873 HIGH_FRAME argument to -stack-list-arguments can be larger than
8874 the number of frames.
8876 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8878 * gdb.base/args.c (main): Add breakpoint marker.
8879 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8880 really test empty arguments.
8881 (args_load): Delete.
8884 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
8886 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
8889 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8891 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8892 HIGH_FRAME argument to -stack-list-locals can be larger than
8893 the number of frames.
8895 2006-08-18 Fred Fish <fnf@specifix.com>
8897 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8898 '$' in front of skip_vmx_tests_saved when setting that.
8900 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8902 * gdb.base/trace-commands.exp: New file.
8904 2006-08-10 Joel Brobecker <brobecker@adacore.com>
8905 Daniel Jacobowitz <dan@codesourcery.com>
8907 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8908 expected output of the backtrace commands.
8910 2006-08-09 Joel Brobecker <brobecker@adacore.com>
8912 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8913 untested followed by return combination.
8914 * gdb.arch/altivec-regs.exp: Likewise.
8915 * gdb.arch/e500-abi.exp: Likewise.
8916 * gdb.arch/e500-regs.exp: Likewise.
8917 * gdb.arch/gdb1291.exp: Likewise.
8918 * gdb.arch/gdb1431.exp: Likewise.
8919 * gdb.arch/gdb1558.exp: Likewise.
8920 * gdb.arch/i386-prologue.exp: Likewise.
8921 * gdb.arch/i386-unwind.exp: Likewise.
8922 * gdb.asm/asm-source.exp: Likewise.
8923 * gdb.base/a2-run.exp: Likewise.
8924 * gdb.base/advance.exp: Likewise.
8925 * gdb.base/all-bin.exp: Likewise.
8926 * gdb.base/annota1.exp: Likewise.
8927 * gdb.base/annota3.exp: Likewise.
8928 * gdb.base/args.exp: Likewise.
8929 * gdb.base/arithmet.exp: Likewise.
8930 * gdb.base/assign.exp: Likewise.
8931 * gdb.base/async.exp: Likewise.
8932 * gdb.base/attach.exp: Likewise.
8933 * gdb.base/bang.exp: Likewise.
8934 * gdb.base/bigcore.exp: Likewise.
8935 * gdb.base/bitfields.exp: Likewise.
8936 * gdb.base/bitfields2.exp: Likewise.
8937 * gdb.base/break.exp: Likewise.
8938 * gdb.base/call-sc.exp: Likewise.
8939 * gdb.base/call-strs.exp: Likewise.
8940 * gdb.base/callfuncs.exp: Likewise.
8941 * gdb.base/checkpoint.exp: Likewise.
8942 * gdb.base/chng-syms.exp: Likewise.
8943 * gdb.base/code-expr.exp: Likewise.
8944 * gdb.base/commands.exp: Likewise.
8945 * gdb.base/completion.exp: Likewise.
8946 * gdb.base/cond-expr.exp: Likewise.
8947 * gdb.base/condbreak.exp: Likewise.
8948 * gdb.base/consecutive.exp: Likewise.
8949 * gdb.base/constvars.exp: Likewise.
8950 * gdb.base/corefile.exp: Likewise.
8951 * gdb.base/cvexpr.exp: Likewise.
8952 * gdb.base/dbx.exp: Likewise.
8953 * gdb.base/define.exp: Likewise.
8954 * gdb.base/detach.exp: Likewise.
8955 * gdb.base/display.exp: Likewise.
8956 * gdb.base/dump.exp: Likewise.
8957 * gdb.base/ena-dis-br.exp: Likewise.
8958 * gdb.base/ending-run.exp: Likewise.
8959 * gdb.base/environ.exp: Likewise.
8960 * gdb.base/eval-skip.exp: Likewise.
8961 * gdb.base/exprs.exp: Likewise.
8962 * gdb.base/fileio.exp: Likewise.
8963 * gdb.base/finish.exp: Likewise.
8964 * gdb.base/float.exp: Likewise.
8965 * gdb.base/foll-exec.exp: Likewise.
8966 * gdb.base/foll-fork.exp: Likewise.
8967 * gdb.base/foll-vfork.exp: Likewise.
8968 * gdb.base/freebpcmd.exp: Likewise.
8969 * gdb.base/funcargs.exp: Likewise.
8970 * gdb.base/gcore.exp: Likewise.
8971 * gdb.base/gdb1090.exp: Likewise.
8972 * gdb.base/gdb1250.exp: Likewise.
8973 * gdb.base/huge.exp: Likewise.
8974 * gdb.base/info-proc.exp: Likewise.
8975 * gdb.base/interrupt.exp: Likewise.
8976 * gdb.base/jump.exp: Likewise.
8977 * gdb.base/langs.exp: Likewise.
8978 * gdb.base/lineinc.exp: Likewise.
8979 * gdb.base/list.exp: Likewise.
8980 * gdb.base/logical.exp: Likewise.
8981 * gdb.base/long_long.exp: Likewise.
8982 * gdb.base/macscp.exp: Likewise.
8983 * gdb.base/maint.exp: Likewise.
8984 * gdb.base/mips_pro.exp: Likewise.
8985 * gdb.base/miscexprs.exp: Likewise.
8986 * gdb.base/multi-forks.exp: Likewise.
8987 * gdb.base/opaque.exp: Likewise.
8988 * gdb.base/overlays.exp: Likewise.
8989 * gdb.base/pc-fp.exp: Likewise.
8990 * gdb.base/pointers.exp: Likewise.
8991 * gdb.base/printcmds.exp: Likewise.
8992 * gdb.base/psymtab.exp: Likewise.
8993 * gdb.base/ptype.exp: Likewise.
8994 * gdb.base/recurse.exp: Likewise.
8995 * gdb.base/relational.exp: Likewise.
8996 * gdb.base/relocate.exp: Likewise.
8997 * gdb.base/remote.exp: Likewise.
8998 * gdb.base/reread.exp: Likewise.
8999 * gdb.base/restore.exp: Likewise.
9000 * gdb.base/return.exp: Likewise.
9001 * gdb.base/return2.exp: Likewise.
9002 * gdb.base/scope.exp: Likewise.
9003 * gdb.base/sect-cmd.exp: Likewise.
9004 * gdb.base/sep.exp: Likewise.
9005 * gdb.base/sepdebug.exp: Likewise.
9006 * gdb.base/setshow.exp: Likewise.
9007 * gdb.base/setvar.exp: Likewise.
9008 * gdb.base/sigall.exp: Likewise.
9009 * gdb.base/sigbpt.exp: Likewise.
9010 * gdb.base/signals.exp: Likewise.
9011 * gdb.base/signull.exp: Likewise.
9012 * gdb.base/sizeof.exp: Likewise.
9013 * gdb.base/solib.exp: Likewise.
9014 * gdb.base/step-line.exp: Likewise.
9015 * gdb.base/step-test.exp: Likewise.
9016 * gdb.base/structs.exp: Likewise.
9017 * gdb.base/structs2.exp: Likewise.
9018 * gdb.base/term.exp: Likewise.
9019 * gdb.base/twice.exp: Likewise.
9020 * gdb.base/until.exp: Likewise.
9021 * gdb.base/varargs.exp: Likewise.
9022 * gdb.base/volatile.exp: Likewise.
9023 * gdb.base/watchpoint.exp: Likewise.
9024 * gdb.base/whatis-exp.exp: Likewise.
9025 * gdb.base/whatis.exp: Likewise.
9026 * gdb.cp/ambiguous.exp: Likewise.
9027 * gdb.cp/annota2.exp: Likewise.
9028 * gdb.cp/annota3.exp: Likewise.
9029 * gdb.cp/bool.exp: Likewise.
9030 * gdb.cp/breakpoint.exp: Likewise.
9031 * gdb.cp/casts.exp: Likewise.
9032 * gdb.cp/class2.exp: Likewise.
9033 * gdb.cp/classes.exp: Likewise.
9034 * gdb.cp/cplusfuncs.exp: Likewise.
9035 * gdb.cp/ctti.exp: Likewise.
9036 * gdb.cp/derivation.exp: Likewise.
9037 * gdb.cp/exception.exp: Likewise.
9038 * gdb.cp/gdb1355.exp: Likewise.
9039 * gdb.cp/hang.exp: Likewise.
9040 * gdb.cp/inherit.exp: Likewise.
9041 * gdb.cp/local.exp: Likewise.
9042 * gdb.cp/m-data.exp: Likewise.
9043 * gdb.cp/m-static.exp: Likewise.
9044 * gdb.cp/member-ptr.exp: Likewise.
9045 * gdb.cp/method.exp: Likewise.
9046 * gdb.cp/misc.exp: Likewise.
9047 * gdb.cp/namespace.exp: Likewise.
9048 * gdb.cp/overload.exp: Likewise.
9049 * gdb.cp/ovldbreak.exp: Likewise.
9050 * gdb.cp/pr-1023.exp: Likewise.
9051 * gdb.cp/pr-1210.exp: Likewise.
9052 * gdb.cp/pr-574.exp: Likewise.
9053 * gdb.cp/printmethod.exp: Likewise.
9054 * gdb.cp/psmang.exp: Likewise.
9055 * gdb.cp/ref-params.exp: Likewise.
9056 * gdb.cp/ref-types.exp: Likewise.
9057 * gdb.cp/rtti.exp: Likewise.
9058 * gdb.cp/templates.exp: Likewise.
9059 * gdb.cp/try_catch.exp: Likewise.
9060 * gdb.cp/userdef.exp: Likewise.
9061 * gdb.cp/virtfunc.exp: Likewise.
9062 * gdb.disasm/am33.exp: Likewise.
9063 * gdb.disasm/h8300s.exp: Likewise.
9064 * gdb.disasm/mn10300.exp: Likewise.
9065 * gdb.disasm/sh3.exp: Likewise.
9066 * gdb.disasm/t01_mov.exp: Likewise.
9067 * gdb.disasm/t02_mova.exp: Likewise.
9068 * gdb.disasm/t03_add.exp: Likewise.
9069 * gdb.disasm/t04_sub.exp: Likewise.
9070 * gdb.disasm/t05_cmp.exp: Likewise.
9071 * gdb.disasm/t06_ari2.exp: Likewise.
9072 * gdb.disasm/t07_ari3.exp: Likewise.
9073 * gdb.disasm/t08_or.exp: Likewise.
9074 * gdb.disasm/t09_xor.exp: Likewise.
9075 * gdb.disasm/t10_and.exp: Likewise.
9076 * gdb.disasm/t11_logs.exp: Likewise.
9077 * gdb.disasm/t12_bit.exp: Likewise.
9078 * gdb.disasm/t13_otr.exp: Likewise.
9079 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9080 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9081 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9082 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9083 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9084 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9085 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9086 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9087 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9088 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9089 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9090 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9091 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9092 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9093 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9094 * gdb.mi/gdb701.exp: Likewise.
9095 * gdb.mi/gdb792.exp: Likewise.
9096 * gdb.mi/mi-basics.exp: Likewise.
9097 * gdb.mi/mi-break.exp: Likewise.
9098 * gdb.mi/mi-cli.exp: Likewise.
9099 * gdb.mi/mi-console.exp: Likewise.
9100 * gdb.mi/mi-disassemble.exp: Likewise.
9101 * gdb.mi/mi-eval.exp: Likewise.
9102 * gdb.mi/mi-file.exp: Likewise.
9103 * gdb.mi/mi-read-memory.exp: Likewise.
9104 * gdb.mi/mi-regs.exp: Likewise.
9105 * gdb.mi/mi-return.exp: Likewise.
9106 * gdb.mi/mi-simplerun.exp: Likewise.
9107 * gdb.mi/mi-stack.exp: Likewise.
9108 * gdb.mi/mi-stepi.exp: Likewise.
9109 * gdb.mi/mi-syn-frame.exp: Likewise.
9110 * gdb.mi/mi-until.exp: Likewise.
9111 * gdb.mi/mi-var-block.exp: Likewise.
9112 * gdb.mi/mi-var-child.exp: Likewise.
9113 * gdb.mi/mi-var-cmd.exp: Likewise.
9114 * gdb.mi/mi-var-display.exp: Likewise.
9115 * gdb.mi/mi-watch.exp: Likewise.
9116 * gdb.mi/mi2-basics.exp: Likewise.
9117 * gdb.mi/mi2-break.exp: Likewise.
9118 * gdb.mi/mi2-cli.exp: Likewise.
9119 * gdb.mi/mi2-console.exp: Likewise.
9120 * gdb.mi/mi2-disassemble.exp: Likewise.
9121 * gdb.mi/mi2-eval.exp: Likewise.
9122 * gdb.mi/mi2-file.exp: Likewise.
9123 * gdb.mi/mi2-read-memory.exp: Likewise.
9124 * gdb.mi/mi2-regs.exp: Likewise.
9125 * gdb.mi/mi2-return.exp: Likewise.
9126 * gdb.mi/mi2-simplerun.exp: Likewise.
9127 * gdb.mi/mi2-stack.exp: Likewise.
9128 * gdb.mi/mi2-stepi.exp: Likewise.
9129 * gdb.mi/mi2-syn-frame.exp: Likewise.
9130 * gdb.mi/mi2-until.exp: Likewise.
9131 * gdb.mi/mi2-var-block.exp: Likewise.
9132 * gdb.mi/mi2-var-child.exp: Likewise.
9133 * gdb.mi/mi2-var-cmd.exp: Likewise.
9134 * gdb.mi/mi2-var-display.exp: Likewise.
9135 * gdb.mi/mi2-watch.exp: Likewise.
9136 * gdb.stabs/exclfwd.exp: Likewise.
9137 * gdb.stabs/weird.exp: Likewise.
9138 * gdb.threads/gcore-thread.exp: Likewise.
9139 * gdb.trace/actions.exp: Likewise.
9140 * gdb.trace/backtrace.exp: Likewise.
9141 * gdb.trace/circ.exp: Likewise.
9142 * gdb.trace/collection.exp: Likewise.
9143 * gdb.trace/deltrace.exp: Likewise.
9144 * gdb.trace/infotrace.exp: Likewise.
9145 * gdb.trace/limits.exp: Likewise.
9146 * gdb.trace/packetlen.exp: Likewise.
9147 * gdb.trace/passc-dyn.exp: Likewise.
9148 * gdb.trace/passcount.exp: Likewise.
9149 * gdb.trace/report.exp: Likewise.
9150 * gdb.trace/save-trace.exp: Likewise.
9151 * gdb.trace/tfind.exp: Likewise.
9152 * gdb.trace/tracecmd.exp: Likewise.
9153 * gdb.trace/while-dyn.exp: Likewise.
9154 * gdb.trace/while-stepping.exp: Likewise.
9156 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9158 * gdb.base/step-bt.c: New file.
9159 * gdb.base/step-bt.exp: New testcase.
9161 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9163 * config/monitor.exp (gdb_load): Remove support for obsolete
9164 download-write-size.
9165 * gdb.base/remote.exp: Likewise. Update all callers of
9168 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9170 * cursal.exp: Pass binfile to gdb_load.
9172 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9174 * gdb.base/cursal.exp: Add "" to gdb_load call.
9176 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9178 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9181 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9183 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9186 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9188 * gdb.base/completion.exp: Update for change in "file" behavior.
9189 * gdb.stabs/weird.exp: Likewise.
9190 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9191 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9193 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9195 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9196 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9198 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9200 * gdb.base/default.exp: Update source command error message.
9201 * gdb.base/help.exp: Update 'help source' message.
9203 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9205 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9208 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9210 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9212 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9214 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9216 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9218 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9220 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9222 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9223 *-*-openbsd* from targets for wich we expect ARM FPA floating
9226 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9228 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9230 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9232 * gdb.base/annota3.exp: Expect frame-begin annotation.
9234 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9236 * gdb.base/help.exp: Adjust "help unset" test to accept
9237 any list of unset commands.
9239 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9240 Daniel Jacobowitz <dan@codesourcery.com>
9242 * gdb.cp/ref-params.exp: New test.
9243 * gdb.cp/ref-params.cc: New source file.
9244 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9246 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9248 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9249 spaces/tabs in regular expressions since they might not be there.
9251 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9253 * gdb.base/ifelse.exp: New file.
9255 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9257 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9259 * gdb.base/huge.exp: Loop over compilation to find a size that
9261 * gdb.base/remote.exp: Correct expected strings.
9262 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9264 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9266 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9268 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9270 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9273 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9275 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9276 enable stabs testing.
9278 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9280 * gdb.base/auxv.exp: Intercept undefined command messages before
9281 gdb_test_multiple does.
9283 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9285 * Makefile.in (host_alias): Remove.
9286 (target_alias): Use @target_noncanonical@.
9287 (site.exp): Don't set host_alias.
9288 * aclocal.m4: Remove contents. Include acx.m4.
9289 * configure: Regenerated.
9290 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9292 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9294 * lib/gdb.exp (gdb_load_cmd): New.
9296 * gdb.base/fileio.c: Add system(NULL) test.
9297 * gdb.base/fileio.exp: Check it.
9299 * gdb.base/break.c: Add 10a breakpoint at }
9300 * gdb.base/break.exp: Add test for breakpoint at }
9301 * gdb.cp/anon-union.cc: Add code at end of function.
9302 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9303 * gdb.mi/var-cmd.c: Add code at end of function.
9304 * gdb.mi/mi-var-display.exp: Adjust end of next.
9305 * gdb.mi/mi2-var-display.exp: Likewise.
9306 * gdb.base/fileio.c: Add stop function and insert calls at
9308 * gdb.base/fileio.exp: Breakpoint stop function and remove
9309 explicit line number references.
9311 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9313 * gdb.base/del.exp (test_delete_alias): New function.
9314 Now check that both "del" and "d" work as aliases for "delete".
9316 2006-05-18 Fred Fish <fnf@specifix.com>
9318 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9319 required. Check for spurious output after program exits normally.
9321 2006-05-17 Fred Fish <fnf@specifix.com>
9323 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9324 gdb_load, so it works in the simulator.
9326 2006-05-11 Fred Fish <fnf@specifix.com>
9328 * gdb.base/bang.exp: Ignore unexpected output between the
9329 "program exited normally" and the gdb prompt, as many other
9332 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9334 * gdb.base/help.exp: Make "delete checkpoint" part option for
9335 "help d" and "help delete" tests.
9337 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9339 * gdb.mi/mi-basics.exp: Add missing serial number to
9340 expected output in some mi_gdb_test statements.
9341 * gdb.mi/mi2-basics.exp: Likewise.
9343 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9345 * gdb.base/del.c: New file.
9346 * gdb.base/del.exp: New testcase.
9348 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9350 * gdb.base/break.exp: Do not assume a breakpoint on
9351 main will actually be in $srcfile when optimizing.
9352 * gdb.base/savedregs.exp: Do not require that the dummy
9353 frame location match up to a symbol and source file location.
9354 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9355 will get printed without a mi_cmd_data_list_register_values prefix.
9356 (*-data-list-register-*): Correct regular expressions to expect the new
9357 pseudo d? floating point registers.
9358 * gdb.mi/mi2-regs.exp: Likewise.
9360 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9362 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9363 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9364 is allocated by the compiler.
9365 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9366 anons, e, anone to force their allocation by the compiler.
9368 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9370 * gdb.base/help.exp: Update expected text for help d and
9373 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9375 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9378 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9380 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9381 single-step breakpoint fails; make this a KFAIL on
9383 * gdb.base/siginfo.exp: Likewise.
9384 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9386 2006-04-26 Michael Snyder <msnyder@redhat.com>
9388 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9389 which may have to consume output from other forks.
9390 Add tests to make sure that "delete fork" succeeded.
9392 2006-04-20 Michael Snyder <msnyder@redhat.com>
9394 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9395 Add support for the Renesas M32C and M16C.
9397 * gdb.asm/asm-source.exp: Add m32c target.
9398 * gdb.asm/m32c.inc: Support for m32c target.
9400 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9402 * gdb.base/commands.exp (recursive_source_test): New test.
9404 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9406 * gdb.base/float.exp: Add pattern for sparc targets.
9408 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9410 * gdb.base/commands.exp (stray_arg0_test): New test.
9412 2006-03-30 Paul Brook <paul@codesourcery.com>
9414 * gdb.mi/mi-until.exp: kfail broken until command.
9415 * gdb.mi/mi2-until.exp: Ditto.
9417 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9419 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9421 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9423 * gdb.base/prelink.exp: Anchor tested-for regular expression
9426 2006-03-07 Paul Brook <paul@codesourcery.com>
9428 * gdb.base/assign.exp: Correct fail message.
9430 2006-03-07 Paul Brook <paul@codesourcery.com>
9432 * lib/compiler.c: Extract armcc version number.
9433 * lib/compiler.cc: Ditto.
9435 2006-03-07 Paul Brook <paul@codesourcery.com>
9437 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9438 additional_flags=-w.
9439 * gdb.arch/altivec-regs.exp: Ditto.
9440 * gdb.arch/e500-abi.exp: Ditto.
9441 * gdb.arch/e500-regs.exp: Ditto.
9442 * gdb.base/all-bin.exp: Ditto.
9443 * gdb.base/annota1.exp: Ditto.
9444 * gdb.base/annota3.exp: Ditto.
9445 * gdb.base/args.exp: Ditto.
9446 * gdb.base/arithmet.exp: Ditto.
9447 * gdb.base/assign.exp: Ditto.
9448 * gdb.base/async.exp: Ditto.
9449 * gdb.base/bang.exp: Ditto.
9450 * gdb.base/break.exp: Ditto.
9451 * gdb.base/call-rt-st.exp: Ditto.
9452 * gdb.base/completion.exp: Ditto.
9453 * gdb.base/cond-expr.exp: Ditto.
9454 * gdb.base/condbreak.exp: Ditto.
9455 * gdb.base/consecutive.exp: Ditto.
9456 * gdb.base/define.exp: Ditto.
9457 * gdb.base/display.exp: Ditto.
9458 * gdb.base/ena-dis-br.exp: Ditto.
9459 * gdb.base/environ.exp: Ditto.
9460 * gdb.base/eval-skip.exp: Ditto.
9461 * gdb.base/info-proc.exp: Ditto.
9462 * gdb.base/jump.exp: Ditto.
9463 * gdb.base/logical.exp: Ditto.
9464 * gdb.base/long_long.exp: Ditto.
9465 * gdb.base/maint.exp: Ditto.
9466 * gdb.base/miscexprs.exp: Ditto.
9467 * gdb.base/pc-fp.exp: Ditto.
9468 * gdb.base/pointers.exp: Ditto.
9469 * gdb.base/relational.exp: Ditto.
9470 * gdb.base/reread.exp: Ditto.
9471 * gdb.base/sect-cmd.exp: Ditto.
9472 * gdb.base/sep.exp: Ditto.
9473 * gdb.base/sepdebug.exp: Ditto.
9474 * gdb.base/until.exp: Ditto.
9475 * gdb.base/whatis-exp.exp: Ditto.
9476 * gdb.cp/annota2.exp: Ditto.
9477 * gdb.cp/annota3.exp: Ditto.
9478 * gdb.trace/actions.exp: Ditto.
9479 * gdb.trace/backtrace.exp: Ditto.
9480 * gdb.trace/circ.exp: Ditto.
9481 * gdb.trace/collection.exp: Ditto.
9482 * gdb.trace/deltrace.exp: Ditto.
9483 * gdb.trace/infotrace.exp: Ditto.
9484 * gdb.trace/limits.exp: Ditto.
9485 * gdb.trace/packetlen.exp: Ditto.
9486 * gdb.trace/passc-dyn.exp: Ditto.
9487 * gdb.trace/passcount.exp: Ditto.
9488 * gdb.trace/report.exp: Ditto.
9489 * gdb.trace/save-trace.exp: Ditto.
9490 * gdb.trace/tfind.exp: Ditto.
9491 * gdb.trace/tracecmd.exp: Ditto.
9492 * gdb.trace/while-dyn.exp: Ditto.
9493 * gdb.trace/while-stepping.exp: Ditto.
9494 * lib/gdb.exp: Ditto.
9495 (gdb_compile): Handle nowarning option.
9497 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9499 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9500 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9501 Rename executable to prelinkt. Don't re-prelink if we didn't
9502 get a core file. Test prelink -u exit status to tell whether
9503 prelinking failed. Use gdb_test_multiple.
9505 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9507 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9508 (do_tests): Call it.
9510 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9512 * gdb.base/prelink.exp: New test.
9513 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9515 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9517 * gdb.fortran/derived-type.f90: New file.
9518 * gdb.fortran/derived-type.exp: New testcase.
9520 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9522 * gdb.base/default.exp: Allow ';' as a directory separator.
9524 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9526 * gdb.base/help.exp (help add-symbol-file): Update.
9528 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9530 * gdb.base/help.exp (help load): Update expected results.
9532 2006-02-19 Fred Fish <fnf@specifix.com>
9534 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9535 specifix hex value as part of results.
9536 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9538 2006-02-16 Fred Fish <fnf@specifix.com>
9540 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9541 ushort_addr, and slong_addr, so the typedefs are not optimized
9543 * gdb.base/whatis.exp: Add tests using type name for struct type,
9544 union type, enum type, and typedef.
9546 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9548 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9550 2006-02-13 Jim Blandy <jimb@redhat.com>
9552 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9553 case where it takes two "next" commands to skip past the init
9556 2006-02-12 Fred Fish <fnf@specifix.com>
9558 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9559 to handle cases where it takes two "next" commands to skip
9562 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9564 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9567 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9569 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9572 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9574 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9576 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9578 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9581 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9583 * gdb.cp/maint.exp: Set complaints to a positive value.
9585 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9587 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9588 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9591 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9593 * gdb.base/checkpoint.c: Update copyright notice. Include
9596 2006-01-04 Jim Blandy <jimb@redhat.com>
9598 * gdb.asm/asm-source.exp: Independently provide default values for
9599 asm-flags and debug-flags. Use 'string equal' to do the
9600 comparison, not the implicit expr's '==' operator. Remove
9601 now-unneeded assignments to asm-flags. In h8300 case, place
9602 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9604 2006-01-04 Michael Snyder <msnyder@redhat.com>
9606 * gdb.base/checkpoint.c: New file.
9607 * gdb.base/checkpoint.exp: New file.
9608 * gdb.base/multi-fork.c: New file.
9609 * gdb.base/multi-fork.exp: New file.
9610 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9612 2006-01-04 Fred Fish <fnf@specifix.com>
9614 * gdb.base/ptype.c (foo): Add typedef.
9615 (intfoo): Add function.
9616 * gdb.base/ptype1.c: New file.
9617 * gdb.base/ptype.exp: Handle compilation and linking with two
9618 source files. Test that proper type for "foo" is found based
9619 on source context rather than first match found in symtabs.
9621 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9623 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9624 * gdb.asm/openbsd.inc: Indent commands.
9626 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9628 * gdb.base/freebpcmd.exp: Increase timeout.
9630 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9632 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9634 * gdb.base/default.exp: Update check for "show version".
9636 2005-12-09 Randolph Chung <tausq@debian.org>
9638 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9639 * gdb.asm/pa64.inc: New file.
9641 2005-12-09 Randolph Chung <tausq@debian.org>
9643 * gdb.asm/common.inc: Indent commands.
9644 * gdb.asm/asmsrc1.s: Likewise.
9645 * gdb.asm/asmsrc2.s: Likewise.
9647 2005-12-09 Randolph Chung <tausq@debian.org>
9649 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9650 (get_addr_of_sym): Remove duplicate print.
9651 (gen_core): xfail hppa*-*-hpux*, update expected output.
9652 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9653 * gdb.arch/pa64-nullify.s: New file.
9655 2005-12-09 Randolph Chung <tausq@debian.org>
9657 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9659 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9661 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9662 code generation for these functions.
9663 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9666 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9668 * gdb.base/help.exp (help b, help br, help bre, help brea)
9669 (help break): Update the expected message.
9671 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9673 * gdb.asm/m68hc11.inc: Setup the data section.
9674 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9675 script for this test.
9676 (m6812-*-*): Likewise.
9678 2005-11-09 Randolph Chung <tausq@debian.org>
9680 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9682 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9684 * gdb.base/break.exp: Fix a comment typo.
9686 2005-11-03 Jim Blandy <jimb@redhat.com>
9688 Checked in by Elena Zannoni <ezannoni@redhat.com>
9690 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9692 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9694 * gdb.arch/gdb1558.c: Include stdio.h.
9696 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9698 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9700 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9702 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9704 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9706 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9707 vscr" tests to better match output.
9709 2005-10-12 Jim Blandy <jimb@redhat.com>
9711 * gdb.base/structs.exp (any): New function.
9712 (test_struct_returns): Don't make any assumptions at all about
9713 what value the function returns when GDB can't set the return
9716 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9718 * gdb.ada/arrayidx/p.adb: New file.
9719 * gdb.ada/arrayidx.exp: New testcase
9721 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9723 * gdb.ada/array_return/pck.ads: New file.
9724 * gdb.ada/array_return/pck.adb: New file.
9725 * gdb.ada/array_return/p.adb: New file.
9726 * gdb.ada/array_return.exp: New testcase.
9728 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9730 * gdb.base/arrayidx.c: New file.
9731 * gdb.base/arrayidx.exp: New testcase.
9733 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9735 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9736 frames-invalid and breakpoints-invalid are no longer generated
9737 with level 3 so don't expect them in the output.
9739 2005-09-27 Bob Rossi <bob@brasko.net>
9741 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9742 from test. Escape the | in mi_gdb_test call.
9743 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9744 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9745 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9746 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9747 expected regex's in mi_gdb_test calls.
9748 * lib/mi-support.exp: Remove arbitrary .* from tests.
9749 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9750 Fully anchor GDB/MI expected results in mi_gdb_test.
9751 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9752 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9754 2005-09-26 Paul Brook <paul@codesourcery.com>
9756 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9758 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9760 * bfp-test.c: New file.
9761 * bfp-test.exp: New testcase.
9763 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9765 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9766 of subarray and substring variable.
9767 * gdb.fortran/subarray.f: New source file for the test of subarray
9768 and substring variable evaluation.
9769 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9772 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9774 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9777 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9779 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9780 powerpc altivec' test with an almost identical 'info vector' test.
9782 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9784 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9785 vscr" tests to match output.
9787 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9789 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9792 2005-09-11 Bob Rossi <bob@brasko.net>
9794 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9795 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9796 commands that return an MI output command and an asyncronous MI output
9798 * gdb.mi/mi-console.exp: Ditto.
9800 2005-09-11 Bob Rossi <bob@brasko.net>
9802 * gdb.mi/mi-var-child.c: Include <string.h>.
9804 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9806 * killed.exp: Correct gdb_expect syntax.
9808 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9810 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9812 2005-08-02 Bob Rossi <bob@brasko.net>
9814 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9815 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9816 Change tests to inferior-tty-set/show.
9817 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9818 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9819 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9820 inferior. Use mi_gdb_test to get GDB and Inferior output.
9821 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9823 (mi_inferior_tty_name): Add inferior PTY file name.
9824 (mi_gdb_start): Add INFERIOR_PTY parameter.
9825 (mi_gdb_test): Add IPATTERN parameter.
9827 2005-08-02 Bob Rossi <bob@brasko.net>
9829 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9830 parameter to mi_gdb_test.
9831 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9833 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9835 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9836 struct_declarations.
9837 * gdb.mi/mi-var-child.exp: Step over the initialization of
9838 struct_declarations.
9840 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9842 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9843 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9844 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9845 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9846 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9849 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9851 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9852 (do_children_tests): Assign values to the extra elements.
9854 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9855 them for tests for "-var-update --no-values" and
9856 "-var-update --all-values".
9857 Add test for "-var-list-children --simple-values".
9859 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9861 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9862 "-stack-list-locals --simple-values" Improve doc strings and
9865 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9867 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9869 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9871 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9874 2005-07-14 Bob Rossi <bob@brasko.net>
9876 * gdb.base/default.exp (tty): Changed output of command.
9877 * gdb.base/help.exp (help tty): Ditto.
9879 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9881 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9883 2005-07-10 Mark Kettenis <kettenis@gnu.org>
9885 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9886 -stack-select-frame without arguments.
9887 (test_stack_frame_listing): Add test for newly implemented command
9890 2005-07-06 Bob Rossi <bob@brasko.net>
9892 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9894 (Copyright): Update copyright.
9896 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9898 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9899 tests to evaluate exponentiation expression.
9901 2005-06-29 Andreas Schwab <schwab@suse.de>
9903 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9904 main to avoid warnings.
9906 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9908 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
9910 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9911 -stack-select-frame without arguments.
9912 (test_stack_frame_listing): Add test for newly implemented command
9915 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9917 * gdb.fortran/array-element.f: New file.
9918 * gdb.fortran/array-element.exp: New testcase.
9920 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9922 * gdb.base/bigcore.exp: Correct checks for systems which can
9923 not dump a large core file.
9925 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9927 * gdb.base/relocate.c: Add a copyright notice.
9929 * gdb.base/relocate.exp: Test printing the values of variables
9930 from a relocatable file.
9932 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9934 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9935 excess MI output after an error.
9937 2005-05-29 Joel Brobecker <brobecker@adacore.com>
9939 * gdb.arch/alpha-step.c: New file.
9940 * gdb.arch/alpha-step.exp: New testcase.
9942 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9943 Dennis Brueni <dennis@slickedit.com>
9945 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9946 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9947 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9948 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9949 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9950 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
9951 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
9953 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9954 Wu Zhou <woodzltc@cn.ibm.com>
9956 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
9958 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
9959 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
9961 2005-05-13 Jim Blandy <jimb@redhat.com>
9963 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
9964 calling gdb_suppress_entire_file.
9965 * gdb.base/charset.exp: Same.
9966 * gdb.base/call-rt-st.exp: Same.
9968 2005-05-05 Bob Rossi <bob_rossi@cox.net>
9970 * lib/gdb.exp (fullname_syntax): Added global regex.
9971 (fullname_syntax_POSIX): Ditto.
9972 (fullname_syntax_UNC): Ditto.
9973 (fullname_syntax_DOS_CASE): Ditto.
9974 (fullname_syntax_DOS): Ditto.
9975 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
9976 fullname_syntax variable to scope and use it.
9977 (test_file_list_exec_source_files): Ditto.
9978 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
9980 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9982 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9984 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
9986 * lib/gdb.exp (skip_altivec_tests): New function, based on
9987 check_vmx_hw_available from the GCC testsuite.
9988 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
9989 * lib/gdb.arch/altivec-regs.exp: Likewise.
9991 2005-05-02 Jim Blandy <jimb@redhat.com>
9993 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9994 calling gdb_suppress_entire_file.
9996 2005-04-30 Randolph Chung <tausq@debian.org>
9998 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9999 Slightly relax "sem_post" name checking.
10001 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10003 * gdb.base/unload.exp: Use new shared library infrastructure.
10005 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10007 * gdb.base/so-impl-ld.exp: Use new shared library
10010 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10012 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10013 * gdb.asm/h8300.inc: New file.
10015 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10017 * gdb.base/shlib-call.exp: Change to use new shared library
10020 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10022 * gdb.base/pending.exp: Change to use new shared library
10025 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10027 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10028 use test_compiler_info instead of gcc_compiled, and update copyright.
10030 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10032 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10033 shared objects being adjusted and update copyright years.
10035 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10037 * ChangeLog: Correct some 2003-01-13 dates.
10038 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10039 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10040 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10041 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10042 gdb.trace/tfind.exp: Update copyright years.
10044 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10045 Daniel Jacobowitz <dan@codesourcery.com>
10047 * lib/gdb.exp (gdb_compile): Handle shlib=.
10048 (gdb_compile_shlib): New function.
10050 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10052 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10054 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10056 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10058 * configure.ac: Likewise.
10059 * configure: Regenerated.
10060 * gdb.gdbserver/Makefile.in: Moved to...
10061 * gdb.server/Makefile.in: ... here.
10062 * gdb.gdbserver/server.c: Moved to...
10063 * gdb.server/server.c: ... here.
10064 * gdb.gdbserver/server-run.exp: Moved to...
10065 * gdb.server/server-run.exp: ... here.
10067 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10069 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10070 * configure.ac: Create gdb.gdbserver/Makefile.
10071 * configure: Regenerated.
10072 * lib/gdbserver-support.exp: New file, derived from
10073 config/gdbserver.exp.
10074 * config/gdbserver.exp: Use gdbserver-support.exp.
10075 * gdb.gdbserver/Makefile.in: New file.
10076 * gdb.gdbserver/server.c: New file.
10077 * gdb.gdbserver/server-run.exp: New file.
10079 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10081 * lib/gdb.exp (test_compiler_info): Return compiler_info
10082 if no arguments are given.
10084 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10086 * gdb.arch/altivec-abi.exp: Check for compiler and set
10087 use altivec' flag accordingly.
10088 * gdb.arch/altivec-regs.exp: Likewise.
10090 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10092 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10094 2005-03-27 Andreas Schwab <schwab@suse.de>
10096 * gdb.base/bigcore.c (main): Add missing mode argument in open
10099 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10101 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10103 * config/gdbserver.exp (gdb_load): Likewise.
10105 2005-03-14 Paul Brook <paul@codesourcery.com>
10107 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10110 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10112 * gdb.dwarf2/dup-psym.S: New file.
10113 * gdb.dwarf2/dup-psym.exp: New testcase.
10115 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10117 * gdb.ada/exec_changed/first.adb: New file.
10118 * gdb.ada/exec_changed/second.adb: New file.
10119 * gdb.ada/exec_changed.exp: New testcase.
10121 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10123 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10125 (main): Test operator+.
10126 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10129 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10130 * gdb.base/signull.exp: Disable if gdb,nosignals.
10131 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10132 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10133 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10134 * gdb.mi/mi2-console.exp: Likewise.
10135 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10136 continue output at start.
10137 (gdb_collect_locals_test): Robustify regexp.
10138 * gdb.trace/passc-dyn.exp: Fix comment typo.
10139 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10141 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10143 * gdb.asm/asm-source.exp: Add iq2000 case.
10144 * gdb.asm/iq2000.inc: New file.
10146 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10148 * gdb.base/command.exp: Change hardcoded value to regular expression.
10149 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10151 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10153 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10154 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10155 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10156 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10157 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10159 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10161 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10164 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10166 * lib/compiler.c: Add test for IBM's xlc compiler.
10167 * lib/compiler.cc: Likewise.
10169 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10171 * gdb.ada/fixed_points.exp: Create compilation object directory
10172 before running the test.
10173 * gdb.ada/null_record.exp: Likewise.
10174 * gdb.ada/packed_array.exp: Likewise.
10175 * gdb.ada/start.exp: Likewise.
10177 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10179 * gdb.ada/packed_array/pa.adb: New file.
10180 * gdb.ada/packed_array.exp: New testcase.
10182 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10184 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10187 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10188 on *-*-openbsd*. Correctly match whitespace in regukar
10191 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10193 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10195 * gdb.base/gdb1821.c: New test file.
10196 * gdb.base/gdb1821.exp: New test file.
10198 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10200 * gdb.base/start.c: New file.
10201 * gdb.base/start.exp: New testcase.
10203 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10205 * gdb.ada/start/dummy.adb: New file.
10206 * gdb.ada/start.exp: New testcase.
10208 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10210 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10211 for printing symbols and statistics.
10212 Add test for using relative pathnames in "maint print msymbols" test.
10213 Mark "maint info sections DATA" XFAIL on Cygwin.
10214 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10217 2005-02-09 Andreas Schwab <schwab@suse.de>
10219 Committed by Andrew Cagney <cagney@gnu.org>
10220 * gdb.base/remotetimeout.exp: New file.
10222 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10224 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10226 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10228 * gdb.ada/gnat_ada.gpr: New file.
10229 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10230 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10231 * configure.ac: No longer generate gnat_ada.gpr.
10232 * configure: Regenerate.
10233 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10234 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10235 * gdb.ada/null_record/bar.ads: Likewise.
10236 * gdb.ada/null_record/bar.adb: Likewise.
10237 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10238 * gdb.ada/null_record.exp (testdir): New variable.
10239 (testfile): executable is now in testdir subdirectory.
10240 (srcfile): Use full path to the main compilation unit.
10241 * gdb.ada/fixed_points.exp: Same changes as above.
10243 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10245 * gdb.base/interp.exp: New test.
10247 2005-01-24 Andrew Cagney <cagney@gnu.org>
10249 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10251 2005-01-19 Andrew Cagney <cagney@gnu.org>
10253 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10254 configure.ac not configure.in.
10256 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10258 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10259 * gdb.base/list.exp (test_list_function)
10260 (test_list_filename_and_function): Ditto.
10261 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10263 2005-01-16 Andrew Cagney <cagney@gnu.org>
10265 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10267 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10269 2005-01-14 Andrew Cagney <cagney@gnu.org>
10271 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10272 * gdb.mi/mi2-var-cmd.exp: Ditto.
10274 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10276 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10278 2005-01-07 Andrew Cagney <cagney@gnu.org>
10280 * configure.ac: Rename configure.in, require autoconf 2.59.
10281 * configure: Re-generate.
10282 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10283 * gdb.stabs/configure: Re-generate.
10284 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10285 * gdb.hp/configure: Re-generate.
10286 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10288 * gdb.hp/gdb.objdbg/configure: Re-generate.
10289 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10291 * gdb.hp/gdb.defects/configure: Re-generate.
10292 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10294 * gdb.hp/gdb.compat/configure: Re-generate.
10295 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10297 * gdb.hp/gdb.base-hp/configure: Re-generate.
10298 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10300 * gdb.hp/gdb.aCC/configure: Re-generate.
10302 2004-12-15 Jim Blandy <jimb@redhat.com>
10304 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10305 under NPTL when there is debugging info available for libpthread.
10307 2004-12-13 Jerome Guitton <guitton@gnat.com>
10309 * gdb.ada/fixed_points.c: New file.
10310 * gdb.ada/fixed_points.exp: New file.
10312 2004-12-03 Randolph Chung <tausq@debian.org>
10314 * gdb.arch/pa-nullify.exp: New file.
10315 * gdb.arch/pa-nullify.s: New file.
10317 2004-11-30 Randolph Chung <tausq@debian.org>
10319 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10320 instead of "tbug". Fix regexp to work properly with gdb_test.
10322 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10324 * gdb.base/bitfields2.exp: New test.
10325 * gdb.base/bitfields2.c: New file.
10327 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10329 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10331 2004-11-16 Randolph Chung <tausq@debian.org>
10333 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10335 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10337 * gdb.threads/threadapply.exp: Correct "macro details" test.
10339 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10341 * gdb.threads/threadapply.exp: New test.
10342 * gdb.threads/threadapply.c: New file.
10344 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10346 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10349 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10351 * gdb.base/cursal.exp: New file.
10352 * gdb.base/cursal.c: New file.
10354 2004-11-03 Andrew Cagney <cagney@gnu.org>
10356 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10358 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10360 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10361 NetBSD/ELF targets.
10363 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10365 * gdb.threads/bp_in_thread.c: New file, copied from
10366 pthread_cond_wait.c.
10367 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10368 file, rather than reusing the .c file from another testcase.
10370 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10372 * gdb.ada/null_record.exp: Check where we stopped after
10373 sending the start command, instead of where the associated
10374 temporary breakpoint was inserted.
10376 2004-10-14 Andrew Cagney <cagney@gnu.org>
10378 * gdb.mi/gdb701.c (main): Return 0.
10380 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10382 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10384 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10386 * gdb.threads/schedlock.c: Add comment markers to use to find
10388 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10390 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10393 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10395 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10397 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10399 * configure.in: Add gdb.dwarf2.
10400 * configure: Regenerated.
10401 * Makefile.in: Add gdb.dwarf2.
10402 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10403 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10404 gdb.dwarf2/file1.txt: New files.
10406 2004-10-11 Orjan Friberg <orjanf@axis.com>
10408 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10409 of "run", since the latter doesn't work with remote targets. Adjust
10410 the breakpoint numbering accordingly.
10411 * gdb.threads/pthread_cond_wait.exp: Ditto.
10413 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10415 * gdb.base/overlays.exp: Update copyright years.
10417 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10419 * gdb.base/overlays.exp: Disable if target is Linux.
10421 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10423 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10425 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10427 * gdb.asm/asm-source.exp: Add m32r-linux target.
10428 * gdb.asm/m32r-linux.inc: New file.
10430 2004-09-24 Andrew Cagney <cagney@redhat.com>
10431 David Anderson <anderson@redhat.com>
10433 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10434 command fails, assume things will work.
10435 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10436 (_GNU_SOURCE): Define.
10437 (print_unsigned, print_hex): Change parameter to "long long".
10438 (print_byte_count): New function, use to print byte counts.
10439 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10441 (main): Compute an upper bound on a corefile in max_core_size.
10442 Limit memory chunk size to max_core_size. Limit total memory
10443 allocated to max_core_size.
10445 2004-09-23 Andrew Cagney <cagney@gnu.org>
10447 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10448 from a separate process with code that creates a corefile by
10449 making the inferior dump core.
10451 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10453 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10456 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10458 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10459 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10460 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10463 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10465 * gdb.java/jprint.exp: New test case for java inferior call.
10466 * gdb.java/jprint.java: Ditto.
10468 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10470 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10472 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10474 * gdb.threads/killed.c: Include <stdlib.h>.
10475 * gdb.threads/pthreads.c: Likewise.
10477 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10479 * gdb.threads/killed.c: Add copyright notice.
10481 2004-09-10 Jason Molenda (jmolenda@apple.com)
10483 * gdb.base/define.exp: Two new tests to verify zero space chars
10484 after 'if' and 'while' commands in a user-defined command is correctly
10487 2004-09-08 Andrew Cagney <cagney@gnu.org>
10489 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10490 delivery test with duplicate at end of file.
10492 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10494 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10496 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10498 * config/hppro.exp: Removed.
10500 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10502 * config/sparclet.exp: Removed.
10504 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10506 * config/udi.exp: Removed.
10508 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10510 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10512 (advancei): Likewise.
10514 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10516 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10518 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10520 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10521 to check for nodebug in executable.
10522 * gdb.gdb/observer.exp (setup_test): Likewise.
10523 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10524 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10526 2004-09-01 Andrew Cagney <cagney@gnu.org>
10528 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10531 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10533 * gdb.base/unload.exp: Fix expected warning message to match
10536 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10538 * gdb.base/call-rt-st.exp: Fix typos.
10540 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10542 * gdb.threads/thread_check.exp: New testcase.
10543 * gdb.threads/thread_check.c: New testcase.
10545 2004-08-31 Andrew Cagney <cagney@gnu.org>
10547 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10548 (skip_to_handler_entry): New procedures. Test stepping into a
10549 handler when the breakpoint is at the handler's entry point.
10551 2004-08-30 Andrew Cagney <cagney@gnu.org>
10553 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10556 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10558 With code from Manoj Iyer <manjo@austin.ibm.com>:
10559 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10560 return value. Add an arm for "no debugging symbols found".
10561 Change a stray "error" to "perror".
10562 (gdb_run_cmd): Adapt to new return value.
10563 * gdb.base/remote.exp: Adapt to new return value.
10564 * gdb.gdb/complaints.exp: Likewise.
10565 * gdb.gdb/observer.exp: Likewise.
10566 * gdb.gdb/selftest.exp: Likewise.
10567 * gdb.gdb/xfullpath.exp: Likewise.
10569 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10571 * gdb.threads/bp_in_thread.exp: New testcase.
10573 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10575 Fix PR testsuite/1735.
10576 * gdb.threads/schedlock.c (thread_function): Add a cast
10577 to suppress a gcc warning.
10578 * gdb.threads/thread-specific.c (thread_function): Likewise.
10580 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10582 * gdb.base/unload.c: Include <stdlib.h>.
10584 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10586 From Paul Gilliam <pgilliam@us.ibm.com>:
10587 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10588 synchronized after the "return".
10590 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10592 * gdb.mi/basics.c: Include <stdio.h>.
10593 * gdb.mi/pthreads.c: Include <stdlib.h>.
10594 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10596 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10598 * gdb.threads/schedlock.c: Add copyright notice.
10600 2004-08-25 Andrew Cagney <cagney@gnu.org>
10602 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10603 (skip_over_handler, breakpoint_over_hander): New test procedures.
10604 (advance, advancei): Add a proper prefix, do not use
10606 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10608 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10610 * gdb.mi/basics.c: Add copyright notice.
10611 * gdb.mi/var-cmd.c: Add copyright notice.
10613 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10615 * lib/gdb.exp: Remove signed_keyword_not_used.
10616 * lib/compiler.c: Likewise.
10617 * lib/compiler.cc: Likewise.
10619 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10621 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10622 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10624 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10626 * gdb.base/whatis.c: Add copyright notice.
10628 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10630 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10631 it to skip the breakpoints encoded in the inline assembly.
10633 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10635 * Makefile.in: Add gdb.fortran.
10637 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10639 * gdb.base/call-sc.exp (test_scalar_returns):
10640 Fix cut-and-paste glitch in "Make fun return now".
10642 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10644 * configure.in: Add gdb.fortran.
10645 * configure: Regenerate.
10646 * gdb.fortran/Makefile.in: New file.
10647 * lib/gdb.exp (skip_fortran_tests): New procedure.
10649 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10651 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10652 reference to bug-gnu@prep.ai.mit.edu.
10653 * gdb.mi/mi-var-child.exp: Likewise.
10654 * gdb.mi/mi-var-cmd.exp: Likewise.
10655 * gdb.mi/mi-var-display.exp: Likewise.
10656 * gdb.mi/mi2-var-block.exp: Likewise.
10657 * gdb.mi/mi2-var-child.exp: Likewise.
10658 * gdb.mi/mi2-var-cmd.exp: Likewise.
10659 * gdb.mi/mi2-var-display.exp: Likewise.
10661 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10663 * gdb.base/unload.c (main): Make local variable msg const.
10665 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10667 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10668 to bug-gnu@prep.ai.mit.edu.
10669 * gdb.mi/mi-disassemble.exp: Likewise.
10670 * gdb.mi/mi-eval.exp: Likewise.
10671 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10672 default line number.
10673 * gdb.mi/mi-return.exp: Likewise.
10674 * gdb.mi/mi-simplerun.exp: Likewise.
10675 * gdb.mi/mi-stack.exp: Likewise.
10676 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10677 number with explicit range test.
10678 * gdb.mi/mi-watch.exp: Likewise.
10679 * gdb.mi/mi2-break.exp: Likewise.
10680 * gdb.mi/mi2-cli.exp: Likewise.
10681 * gdb.mi/mi2-disassemble.exp: Likewise.
10682 * gdb.mi/mi2-eval.exp: Likewise.
10683 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10684 default line number.
10685 * gdb.mi/mi2-return.exp: Likewise.
10686 * gdb.mi/mi2-simplerun.exp: Likewise.
10687 * gdb.mi/mi2-stack.exp: Likewise.
10688 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10689 number with explicit range test.
10690 * gdb.mi/mi2-watch.exp: Likewise.
10692 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10694 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10695 * gdb.cp/m-static.exp: Likewise.
10696 * gdb.cp/rtti.exp: Likewise.
10698 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10700 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10702 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10704 * ChangeLog: Prefix Local Variables with semi-colons and indent
10705 the reference to older ChangeLog files, to fix fontification in
10708 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10710 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10711 * gdb.mi/mi2-break.exp: Likewise.
10713 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10715 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10717 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10719 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10721 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10723 * gdb.cp/classes.exp: Remove unused declarations. Just let
10724 test names default instead of providing special names. Remove
10725 extraneous demangler test.
10727 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10729 * gdb.base/unload.exp: New test for breakpoints in dynamically
10731 * gdb.base/unload.c: Ditto.
10732 * gdb.base/unloadshr.c: Ditto.
10734 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10736 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10737 cp_test_ptype_class.
10738 (test_enums): Likewise.
10740 2004-08-10 Andrew Cagney <cagney@gnu.org>
10742 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10745 2004-08-10 Andrew Cagney <cagney@gnu.org>
10747 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10750 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10752 * ChangeLog: Add copyright notice. The notice is copied
10753 from emacs 21.3 top level ChangeLog.
10755 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10757 * lib/cp-support.exp: New file.
10758 * lib/cp-support.exp (cp_test_type_class): New function.
10759 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10760 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10761 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10762 cp_test_ptype_class.
10764 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10766 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10767 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10768 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10769 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10770 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10771 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10772 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10773 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10774 gdb.mi/mi2-watch.exp: Update copyright years.
10776 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10778 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10780 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10782 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10783 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10784 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10785 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10786 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10787 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10788 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10789 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10790 gdb.mi/mi-watch.exp: Update copyright years.
10792 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10795 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10796 from a breakpoint with a pending signal.
10798 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10801 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10802 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10804 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10806 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10808 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10810 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10813 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10816 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10818 * gdb.arch/i386-prologue.exp: Compile without debug information.
10820 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10822 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10823 rather than asking gdb to search.
10825 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10827 * gdb.base/gcore.c: Include <string.h>.
10829 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10831 * gdb.base/gcore.c: Add copyright notice.
10833 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10835 * gdb.base/freebpcmd.c: Include <stdio.h>.
10836 * gdb.base/long_long.c: Include <string.h>.
10837 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10838 * gdb.base/siginfo.c: Include <string.h>.
10839 * gdb.base/sigstep.c: Include <string.h>.
10841 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10843 * gdb.base/complex.c: Include <stdlib.h>.
10845 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10847 * gdb.base/complex.c: Add copyright notice.
10849 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10851 * gdb.base/charset.c: Include <stdlib.h>.
10853 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10855 * gdb.base/auxv.c: Include <stdlib.h>.
10857 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10859 * gdb.base/auxv.c: Add copyright notice.
10861 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10863 * gdb.base/coremaker.c: Add copyright notice.
10864 * gdb.base/coremaker2.c: Add copyright notice.
10866 2004-08-04 Andrew Cagney <cagney@gnu.org>
10868 * gdb.base/store.exp: Update copyright.
10869 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10870 names, do not import gdb_prompt.
10872 2004-08-01 Andrew Cagney <cagney@gnu.org>
10874 Fix PR testsuite/1729.
10875 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10876 not use capture_value with value 4.
10877 (capture_value): Add optional test name parameter.
10878 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10879 the prefix, pass to capture_value.
10881 2004-08-01 Mark Kettenis <kettenis@gnu.org>
10883 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10884 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10885 (main): Call new function.
10887 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10889 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10891 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10893 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10895 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10897 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
10898 Accept more values of vtbl pointer. Remove some messages
10899 about "obsolete gcc or gdb".
10901 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10903 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10905 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10907 * gdb.base/asm-source.exp: Properly convert target board
10908 debug flags from gcc format to binutils format.
10910 2004-07-28 Mark Kettenis <kettenis@gnu.org>
10912 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10913 gdb1718". PR backtrace/1718 partially fixed.
10915 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10917 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10919 2004-07-26 Nick Clifton <nickc@redhat.com>
10921 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10922 good default value for a specific architecture is available then
10923 set it to that value. Otherwise default to the -gstabs switch.
10924 Remove the -g... switches from the asm-flags variable. Allow the
10925 target board info to override the value if it wants to. Pass the
10926 switch on the assembler command line.
10928 2004-07-23 Mark Kettenis <kettenis@gnu.org>
10930 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10931 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10932 (main): Call new function.
10934 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10936 Test for PR exp/1715.
10937 * gdb.base/radix.exp: Refactor common procedures. Make all
10938 test names unique. Change XFAIL to KFAIL.
10940 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10942 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10943 * gdb.ada/gnat_ada.gin: ... to here.
10944 * configure.in: Use gnat_ada.gin.
10945 * configure: Regenerate.
10947 2004-07-20 Andrew Cagney <cagney@gnu.org>
10949 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
10950 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
10951 XFAILs. Clean up test messages and comments. Check backtraces.
10952 Delete re-sync code.
10954 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10957 * gdb.base/annota1.exp: Honor gdb,nosignals.
10958 * gdb.base/annota3.exp: Likewise.
10960 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10962 * lib/java.exp: Update copyright notice.
10964 2004-07-19 Andrew Cagney <cagney@gnu.org>
10966 * gdb.base/selftest.exp: Copy file from here ...
10967 * gdb.gdb/selftest.exp: ... to here.
10969 2004-07-16 Andrew Cagney <cagney@redhat.com>
10971 * lib/insight-support.exp: Delete file.
10972 * lib/java.exp (java_init): Fix copyright.
10974 2004-07-16 Andrew Cagney <cagney@gnu.org>
10976 * gdb.base/restore.c: Append "prologue" to comments marking the a
10977 function's prologue.
10978 * gdb.base/restore.exp: Update copyright, re-indent.
10979 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
10980 callerN" prefix where needed. Update patterns that match a
10981 function's prologue.
10983 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10985 * gdb.base/restore.c: Add copyright notice.
10987 2004-07-16 Andrew Cagney <cagney@gnu.org>
10989 * gdb.base/logical.exp: Update copyright.
10990 (evaluate): New procedure. Use to re-implement tests using
10993 2004-07-14 Martin Hunt <hunt@redhat.com>
10995 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10996 which fixes some problems where init.tcl was not found.
10998 2004-07-13 Andrew Cagney <cagney@gnu.org>
11000 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11001 (check_sizeof, check_valueof): Do not include the output in the
11002 test name. Use gdb_test.
11003 (get_valueof): Use gdb_test_multiple.
11005 * gdb.base/step-test.exp: Update copyright. Use
11006 gdb_test_multiple. Ensure that test names do not include
11007 architecture dependent output.
11009 * gdb.gdb/observer.exp: Update copyright.
11010 (setup_test): Use gdb_test_multiple.
11011 (attach_first_observer, attach_second_observer)
11012 (attach_third_observer, detach_first_observer)
11013 (detach_second_observer, detach_third_observer)
11014 (reset_counters, check_counters): Make $message a prefix.
11015 (test_normal_stop_notifications): Add "args" parameter - a list of
11016 init functions to be called. Make $message a prefix,
11017 (test_observer_normal_stop): Change the message prefixes so that
11018 they are unique, pass the attach / detach procedures to
11019 test_normal_stop_notifications.
11021 * gdb.base/signull.exp (test_segv): Prefix all tests with
11022 "${name}". Clean up test messages.
11024 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11026 * gdb.base/ena-dis-br.exp: Update copyright.
11027 (break_at): New function. Replace send_gdb with gdb_test,
11028 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11029 ignore count, not stopped at bpt", with KFAIL.
11031 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11033 * gdb.base/attach.exp: Remove cleanupfile handling.
11035 2004-07-12 Andrew Cagney <cagney@gnu.org>
11037 * gdb.base/annota1.exp: Cleanup corefile test name.
11038 * gdb.base/annota3.exp: Ditto.
11040 2004-07-12 Andrew Cagney <cagney@gnu.org>
11042 * gdb.base/signals.exp: Clean up copyright, re-indent.
11044 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11045 gdb_test and gdb_test_multiple.
11047 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11049 * gdb.java/jmain.exp: Fix expected line number for main to
11050 break at. Set XFAIL for break at main test since gcj does not
11051 provide line number info for first statement in main.
11053 2004-07-08 Andrew Cagney <cagney@gnu.org>
11055 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11057 * gdb.base/sigbpt.exp: Make the common part of each test name a
11058 prefix instead of suffix.
11060 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11062 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11063 test from test_tbreak_creation_and_listing to
11064 test_file_list_exec_source_file
11065 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11066 Changed name of test from test_tbreak_creation_and_listing to
11067 test_file_list_exec_source_file
11069 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11071 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11072 the jmisc() constructor instead of <init>.
11073 * gdb.java/jmisc1.exp: Ditto.
11075 2004-07-07 Andrew Cagney <cagney@gnu.org>
11077 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11080 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11082 * gdb.cp/templates.exp: Accept whitespace change in demangler
11085 2004-07-06 Andrew Cagney <cagney@gnu.org>
11087 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11089 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11091 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11092 * lib/compiler.cc: Likewise.
11094 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11096 * lib/compiler.cc: Work around string preprocessing problem
11097 with old hp c++ compiler.
11098 * lib/compiler.c: Likewise.
11100 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11102 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11103 directives to conditionalize symbol prefixing.
11104 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11105 additional_flags handling. Add underscore prefix for Cygwin.
11106 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11107 conditionalize symbol prefixing.
11108 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11109 additional_flags handling. Add underscore prefix for Cygwin.
11111 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11113 * gdb.base/bigcore.exp: Skip test on Cygwin.
11115 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11117 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11118 formats for "info register". Use gdb_test_multiple. Fix
11119 the "invalid register" test.
11121 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11123 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11124 PID for Cygwin. Add Cygwin specific strings to check for in some
11126 (do_attach_tests): Add a test for user interaction when attaching
11127 to a process with no matching symbol table already loaded.
11129 2004-06-26 Andrew Cagney <cagney@gnu.org>
11131 Test PR java/1567 and PR java/1565.
11132 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11133 * gdb.java/jmisc2.exp: Delete file.
11135 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11137 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11139 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11141 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11144 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11146 * gdb.cp/pr-1553.exp: Remove.
11148 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11150 * gdb.cp/pr-1553.cc: Remove.
11151 * gdb.cp/pr-1553.exp: Disable this test.
11153 2004-06-20 Jim Blandy <jimb@redhat.com>
11155 Fix PR testsuite/1680.
11156 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11157 regular expressions.
11159 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11161 Fix PR testsuite/1679.
11162 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11163 Issue an UNSUPPORTED result instead.
11165 2004-06-18 Jim Blandy <jimb@redhat.com>
11167 * gdb.base/charset.exp: Only send a control-C if we see a new
11168 prompt and incomplete command.
11170 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11172 * gdb.cp/pr-574.cc: Add copyright notice.
11174 2004-06-17 Jim Blandy <jimb@redhat.com>
11176 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11177 cases where the regexp has no groups; this grabs random text from
11178 the previous test suite, whatever that was.
11180 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11182 * gdb.cp/printmethod.cc: Add copyright notice.
11184 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11186 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11188 2004-06-16 Andrew Cagney <cagney@gnu.org>
11190 * gdb.base/signull.c: Update copyright. Include <string.h>.
11191 (bowler): Replace data_pointer with data_read
11192 and data_write cases. Add code_descriptor case.
11193 (zero, desc): New array and pointer.
11194 (data, code): Change to simple pointers.
11195 * gdb.base/signull.exp: Fix probe pattern matching a function
11196 descriptor SIGSEGV. Replace data_pointer with data_read and
11199 2004-06-16 Andrew Cagney <cagney@gnu.org>
11201 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11203 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11205 * gdb.base/long_long.c: Add copyright notice.
11207 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11209 * gdb.base/long_long.exp: Remove reference to
11210 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11211 to gdb_breakpoint and gdb_continue_to_breakpoint.
11213 2004-06-14 Jim Blandy <jimb@redhat.com>
11215 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11218 2004-06-14 Andrew Cagney <cagney@gnu.org>
11220 * gdb.base/gcore.exp (capture_command_output): Delete the always
11221 passing tests containing inferior values.
11222 * gdb.base/ending-run.exp: Do not include the breakpoint address
11223 in the test message. Update copyright.
11224 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11225 size in the test name, use gdb_test_multiple. Update copyright.
11227 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11229 * gdb.cp/ref-types.cc: Add copyright notice.
11231 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11233 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11235 * lib/compiler.cc: Likewise.
11236 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11237 'set' commands. Log diagnostics for other lines. Set
11238 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11240 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11242 * gdb.cp/try_catch.cc: Add copyright notice.
11244 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11246 * gdb.cp/userdef.cc: Add copyright notice.
11248 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11250 * gdb.cp/virtfunc.cc: Add copyright notice.
11252 2004-06-11 Randolph Chung <tausq@debian.org>
11254 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11257 2004-06-10 Andrew Cagney <cagney@gnu.org>
11259 * lib/compiler.cc, lib/compiler.c: Append either
11260 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11261 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11262 instead of gcc-3-3.
11264 2004-06-09 Andrew Cagney <cagney@gnu.org>
11266 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11267 gdb/1455, bug is specific to "long long" and "double".
11269 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11270 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11271 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11274 2004-06-09 Andrew Cagney <cagney@gnu.org>
11276 * gdb.base/structs.exp (test_struct_returns): Replace
11277 "return_value_unknown" and "finish_value_unknown" by
11278 "return_value_known" and "finish_value_known". Instead of
11279 "return_value_unknown" iff "finish_value_unknown", check
11280 "return_value_known" implies "finish_value_known".
11282 2004-06-08 Martin Hunt <hunt@redhat.com>
11284 * gdb.base/float.exp: Add pattern for mips targets.
11286 2004-06-08 Randolph Chung <tausq@debian.org>
11288 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11289 message for unknown architectures more clear.
11291 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11293 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11294 start the execution of the program.
11296 2004-06-07 Jim Blandy <jimb@redhat.com>
11298 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11299 * gdb.arch/i386-cpuid.h: New helper file.
11301 2004-06-07 Randolph Chung <tausq@debian.org>
11303 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11306 2004-06-04 Roland McGrath <roland@redhat.com>
11309 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11310 differently to be robust to output buffering differences.
11312 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11314 * gdb.threads/pthreads.exp: Update copyright years.
11315 (check_control_c): Change asynchronous 'after' to synchronous.
11317 2004-06-04 Roland McGrath <roland@redhat.com>
11319 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11322 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11325 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11326 calls to synchronous.
11328 2004-05-26 Jim Blandy <jimb@redhat.com>
11330 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11332 2004-05-24 Randolph Chung <tausq@debian.org>
11334 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11335 * gdb.asm/pa.inc: New file.
11337 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11339 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11341 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11342 Daniel Jacobowitz <drow@mvista.com>
11344 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11347 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11349 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11350 setjmp/longjmp. Use sigaction instead of signal.
11352 2004-05-19 J. Brobecker <brobecker@gnat.com>
11353 Michael Snyder <msnyder@redhat.com>
11355 * gdb.threads/pthread_cond_wait.c: New file.
11356 * gdb.threads/pthread_cond_wait.exp: New testcase.
11358 2004-05-13 Andrew Cagney <cagney@redhat.com>
11360 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11361 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11363 2004-05-11 Andrew Cagney <cagney@redhat.com>
11365 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11366 fixed but revealed gdb/1639.
11368 2004-05-10 Andrew Cagney <cagney@redhat.com>
11370 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11371 func1" and "next to 2nd alarm", kernel bug avoided.
11373 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11376 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11377 XFAIL if it is smaller than bytes_allocated.
11378 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11379 (main): Make chunks_allocated unsigned. Correct comment.
11381 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11383 * gdb.arch/powerpc-aix-prologue.c: New file.
11384 * gdb.arch/powerpc-aix-prologue.exp: New file.
11386 2004-05-07 Jim Blandy <jimb@redhat.com>
11388 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11389 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11391 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11393 * gdb.base/sep.exp: No longer setup_kfail when the program was
11396 2004-05-05 Jim Ingham <jingham@apple.com>
11398 * gdb.base/pending.exp: Make sure pending breakpoints
11399 preserve the ignore count.
11401 2004-04-27 Jerome Guitton <guitton@gnat.com>
11403 * i386-prologue.exp: Add testcase for jump instruction as first
11404 instruction of the real code.
11405 * i386-prologue.c (jump_at_beginning): New function.
11407 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11409 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11412 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11414 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11417 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11419 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11420 expression that checks the return type.
11422 2004-04-23 Andrew Cagney <cagney@redhat.com>
11424 * gdb.base/call-sc.exp: New test of scalar call/return values.
11425 * gdb.base/call-sc.c: Ditto.
11427 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11429 * gdb.threads/manythreads.c: Reduce thread stack size.
11431 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11433 * gdb.threads/manythreads.c: Add copyright notice.
11435 2004-04-23 Andrew Cagney <cagney@redhat.com>
11437 * gdb.base/siginfo.exp: Better handle step out of signal.
11438 * gdb.base/sigstep.exp: Ditto.
11440 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11441 Daniel Jacobowitz <drow@mvista.com>
11443 * gdb.threads/manythreads.c: New testcase.
11444 * gdb.threads/manythreads.exp: Ditto.
11446 2004-04-22 Jim Blandy <jimb@redhat.com>
11448 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11449 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11451 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11453 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11455 2004-04-21 Andrew Cagney <cagney@redhat.com>
11457 * gdb.base/sigstep.c: New file.
11458 * gdb.base/sigstep.exp: New file.
11460 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11462 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11463 call to observer_notify_normal_stop.
11465 2004-04-15 Andrew Cagney <cagney@redhat.com>
11467 * gdb.base/siginfo.c: New file.
11468 * gdb.base/siginfo.exp: New file.
11470 2004-04-12 J. Brobecker <brobecker@gnat.com>
11472 * gdb.base/sep.exp: Fix typo in comment.
11474 2004-04-12 J. Brobecker <brobecker@gnat.com>
11476 * gdb.base/sep.c: New file.
11477 * gdb.base/sep-proc.c: New file.
11478 * gdb.base/sep.exp: New testcase.
11480 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11482 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11485 2004-04-05 Andrew Cagney <cagney@redhat.com>
11487 * gdb.base/sigaltstack.c: New file.
11488 * gdb.base/sigaltstack.exp: New file.
11490 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11492 * gdb.base/foll-fork.exp: Update the expected output for
11493 "help set follow-fork-mode", to match a change that was made
11494 to the help of this variable on 2004-01-13.
11496 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11498 * lib/ada.exp: Add copyright notice.
11499 * bar.ads: Likewise.
11500 * bar.adb: Likewise.
11501 * null_record.adb: Likewise.
11502 * null_record.exp: Likewise.
11503 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11505 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11507 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11508 * configure: Regenerate.
11510 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11512 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11513 to build the application. Remove the message printed when in
11514 verbose mode, redundant with the UNSUPPORTED message above.
11516 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11518 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11519 * gdb.ada (null_record.exp): New testcase.
11521 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11523 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11525 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11527 * gdb.ada: New subdirectory.
11528 * gdb.ada/Makefile.in: New file.
11529 * gdb.ada/gnat_ada.gpr.in: New file.
11531 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11533 * lib/ada.exp: New file.
11535 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11537 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11538 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11540 2004-03-22 Andrew Cagney <cagney@redhat.com>
11542 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11543 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11544 Problem identified by Ulrich Weigand.
11546 2004-03-17 David Carlton <carlton@kealia.com>
11548 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11551 2004-03-16 Roland McGrath <roland@redhat.com>
11553 * gdb.base/auxv.exp: New file.
11554 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11556 2004-03-12 David Carlton <carlton@kealia.com>
11558 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11559 * gdb.cp/pr-1553.cc: Ditto.
11560 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11563 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11565 * gdb.cp/templates.exp: Accept more template types.
11567 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11569 From Corinna Vinschen with modifications.
11570 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11571 local variable obj_with_enum.
11572 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11573 results with obj_with_enum.
11575 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11577 * gdb.cp/classes.cc: New file, copied from misc.cc.
11578 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11580 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11582 * gdb.cp/misc.cc: Add copyright notice.
11584 2004-03-05 David Carlton <carlton@kealia.com>
11586 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11587 * gdb.cp/rtti.h: Update copyright.
11588 (namespace n2::n3): New.
11589 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11590 (n2::n3::func3): New.
11591 (main): Call n2::n3::func3.
11592 * gdb.cp/rtti2.cc: Update copyright.
11593 (n2::create3): New.
11595 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11597 * gdb.asm/openbsd.inc: Fix typo.
11599 2004-03-03 Fred Fish <fnf@redhat.com>
11601 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11602 "val" instead of unused "size". Update copyright year.
11604 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11606 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11607 to use unsigned char.
11608 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11609 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11611 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11613 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11616 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11618 * gdb.base/relocate.c (dummy): Initialize.
11620 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11622 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11623 a breakpoint at exit.
11625 2004-02-27 Fred Fish <fnf@redhat.com>
11627 * gdb.base/chng-syms.exp: Add expect condition to match failing
11628 case that isn't a timeout.
11630 2004-02-27 Andrew Cagney <cagney@redhat.com>
11632 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11635 2004-02-26 Fred Fish <fnf@redhat.com>
11637 * gdb.arch/gdb1431.c: Remove.
11638 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11639 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11640 of "until" incorrectly.
11642 2004-02-26 J. Brobecker <brobecker@gnat.com>
11644 * gdb.cp/class2.cc (empty): New class.
11645 (refer): New function.
11646 (main): Declare an object of type empty and use it.
11647 * gdb.cp/class2.exp: Print the value of an object of type empty.
11649 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11651 * gdb.base/langs.exp: Update query string to match the
11652 new nquery format used for pending breakpoints.
11654 2004-02-26 Andrew Cagney <cagney@redhat.com>
11657 * gdb.base/charset.c: Update copyright notice.
11658 (main, init_string): Remove the escape character '\e' tests.
11659 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11660 * gdb.base/charset.exp (valid_host_charset): Ditto.
11661 * gdb.base/setvar.exp: Ditto.
11663 2004-02-24 Andrew Cagney <cagney@redhat.com>
11665 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11666 mmapped data in core file" PASS and FAIL messages consistent.
11668 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11669 setting a breakpoint. Work around PR java/1565.
11671 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11673 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11675 * gdb.base/pending.exp: Ditto.
11677 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11679 * configure.in: Run stabs tests on *BSD.
11680 * configure: Regenerated.
11682 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11684 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11686 2004-02-20 Fred Fish <fnf@redhat.com>
11688 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11689 blank in test for "returns short", for consistency with other
11690 "returns xxx" tests. Update copyright year.
11692 2004-02-19 Fred Fish <fnf@redhat.com>
11694 New testcase for PR breakpoint/1558.
11695 * gdb.arch/gdb1558.exp: New file.
11696 * gdb.arch/gdb1558.c: New file.
11698 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11700 * gdb.base/nodebug.exp: Fix typo.
11702 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11704 Committed by Jim Blandy <jimb@redhat.com>.
11706 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11708 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11710 * gdb.base/float.exp: Support s390*-*-* targets.
11712 2004-02-17 Adam Fedor <fedor@gnu.org>
11714 * gdb.base/gdb1555.exp: New file.
11715 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11717 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11719 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11721 2004-02-16 Fred Fish <fnf@redhat.com>
11723 * gdb.arch/gdb1291.c: Remove
11724 * gdb.arch/gdb1291.s: New test input file.
11725 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11726 fail. Test for correct result, known incorrect result, other
11727 failures and timeouts.
11729 2004-02-16 Andrew Cagney <cagney@redhat.com>
11731 * gdb.base/bigcore.exp: New file.
11732 * gdb.base/bigcore.c: New file.
11734 2004-02-13 Andrew Cagney <cagney@redhat.com>
11736 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11737 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11738 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11739 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11740 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11741 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11742 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11743 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11744 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11745 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11747 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11749 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11750 executed is an alloc instruction.
11752 2004-02-11 David Carlton <carlton@kealia.com>
11754 * gdb.cp/breakpoint.exp: New.
11755 * gdb.cp/breakpoint.cc: New.
11757 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11759 Partial fix for PR gdb/1543.
11760 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11761 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11762 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11763 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11764 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11765 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11766 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11767 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11768 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11769 to bug-gdb@prep.ai.mit.edu .
11770 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11771 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11772 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11775 2004-02-10 Andrew Cagney <cagney@redhat.com>
11777 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11778 using gdb_internal_error_resync.
11780 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11782 * gdb.threads/thread-specific.exp: Stop early if no threads are
11785 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11787 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11789 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11791 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11794 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11796 * config/sim.exp (gdb_load): Handle $arg == "".
11797 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11798 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11800 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11802 * gdb.base/maint.exp: Update test to reflect
11805 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11807 * gdb.base/pendshr.c (pendfunc): New function that calls
11809 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11811 2004-02-04 Fred Fish <fnf@redhat.com>
11813 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11814 function symbols and update copyright years.
11815 * gdb.arch/gdb1291.c: Ditto.
11817 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11819 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11821 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11823 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11825 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11827 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11829 2004-02-02 Fred Fish <fnf@redhat.com>
11831 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11832 remote targets. Update copyright years.
11834 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11836 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11838 * gdb.base/langs.exp: Fix test which attempts to create
11839 breakpoint on non-existent function to handle new pending
11841 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11843 * gdb.base/pending.exp: New test.
11844 * gdb.base/pending.c: New file.
11845 * gdb.base/pendshr.c: Ditto.
11847 2004-02-02 David Carlton <carlton@kealia.com>
11849 * gdb.cp/overload.exp: Add overloadNamespace tests.
11850 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11851 (overloadNamespace, XXX): New.
11852 (main): Call XXX::marker2.
11854 2004-02-01 Fred Fish <fnf@redhat.com>
11856 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11857 * gdb.base/finish.exp: Ditto.
11858 * gdb.base/gcore.exp: Ditto.
11859 * gdb.base/huge.exp: Ditto.
11860 * gdb.base/info-proc.exp: Ditto.
11861 * gdb.base/return2.exp: Ditto.
11862 * gdb.threads/gcore-thread.exp: Ditto.
11864 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11866 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11868 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11870 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11871 that opening the file succeeds on OpenBSD.
11873 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11875 * gdb.threads/thread-specific.c: New file.
11876 * gdb.threads/threads-specific.exp: New test script.
11877 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11880 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11882 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11883 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11884 only on the "print_small_structs from print_long_arg_list" test.
11886 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11888 * gdb.base/completion.exp: Kill a stray backslash.
11890 From Jim Ingham <jingham@apple.com>:
11891 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11892 agrees with the result from sending a tab.
11894 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
11896 * gdb.base/chng-syms.exp: Remove stray newline.
11898 2004-01-31 Mark Kettenis <kettenis@gnu.org>
11900 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11902 * gdb.asm/openbsd.inc: New file.
11904 2004-01-30 Mark Kettenis <kettenis@gnu.org>
11906 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11907 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11908 *-*solaris2*. Remove commented out default settings for
11909 asm-flags. Replace gdb_compile with target_link.
11911 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11913 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11914 for all tests. Remove old hp-ux and cygnus xfail cases.
11916 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11918 * gdb.base/chng-syms.exp: New file.
11919 * gdb.base/chng-syms.c: New file.
11921 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11923 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11924 Provide arms for current output in all my configurations.
11926 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11928 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11929 * lib/compiler.cc: Likewise.
11930 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11931 get the right preprocessor. Eval the output directly. Remove
11932 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11933 hp_f77_compiler and hp_f90_compiler completely.
11934 (gdb_preprocess): Delete.
11935 (get_compiler): Delete.
11937 2004-01-24 Mark Kettenis <kettenis@gnu.org>
11939 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11942 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
11944 * gdb.mi/mi-stack.exp: Update copyright.
11946 2004-01-23 David Carlton <carlton@kealia.com>
11948 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11949 test for cp_lookup_transparent_type.
11950 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
11953 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
11955 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11958 2004-01-23 David Carlton <carlton@kealia.com>
11960 * gdb.cp/namespace.cc (C::ensureRefs): New.
11961 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
11963 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
11965 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
11966 case "-stack-list-locals 2".
11967 * gdb.mi/mi-var-child.exp: Test for case
11968 "-var-list-children --all-values NAME".
11970 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
11972 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
11974 2004-01-18 Mark Kettenis <kettenis@gnu.org>
11976 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
11977 used with gdb_test_multiple.
11979 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
11980 read at address 0. This fixes PR testsuite/1504.
11982 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
11984 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
11985 Remove downloading, guessing the host executable, the calls to
11986 gdb_file_cmd and gdb_target_cmd, and "load" support.
11987 (infer_host_exec): New function broken out from gdb_load.
11988 (gdb_load): New wrapper for gdbserver_gdb_load.
11989 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
11990 gdb_target_cmd. Use -target-select.
11991 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
11992 Download binaries to the host. Clear last_mi_remote_file when
11993 we load a new binary.
11994 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
11995 call gdbserver_gdb_load and mi_gdb_target_cmd.
11997 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11999 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12002 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12004 * gdb.cp/templates.exp: Fix typo in test name of
12005 "print Foo<volatile char*>::foo".
12007 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12009 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12011 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12013 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12014 (clean mostlyclean): Remove empty rm.
12016 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12018 * gdb.base/setvar.exp: Add copyright years.
12020 2004-01-14 David Carlton <carlton@bactrian.org>
12022 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12023 PR c++/1511 and update coment.
12024 * gdb.cp/templates.exp: Update patterns to match current output.
12025 If changes involve something other than whitespace, KFAIL
12026 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12028 2004-01-14 David Carlton <carlton@kealia.com>
12030 * gdb.cp/namespace.exp: Add tests involving classes defined within
12032 * gdb.cp/namespace.cc (C::CClass): New.
12033 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12035 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12037 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12038 what debug info we have. Print a better message if something goes
12039 wrong while producing the separate debug info file.
12041 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12043 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12045 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12047 * gdb.base/callfuncs.c: Add copyright notice.
12049 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12051 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12052 inheritance. PR gdb/1498, PR gcc/13539.
12054 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12056 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12057 test specific name.
12058 * gdb.mi/gdb669.exp: Ditto.
12059 * gdb.mi/mi-pthreads.exp: Ditto.
12060 * gdb.mi/mi1-pthreads.exp: Ditto.
12061 * gdb.mi/mi2-pthreads.exp: Ditto.
12063 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12065 * gdb.cp/member-ptr.cc: Add copyright notice.
12067 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12069 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12070 some patterns for recent versions of gcc and hpacc. Delete
12071 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12072 Delete tests that access a NULL pointer-to-member-data. This
12073 script is still disabled for gcc.
12075 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12077 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12080 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12082 * gdb.base/sepdebug.exp: New file.
12083 * gdb.base/sepdebug.c: New file.
12084 * lib/gdb.exp (separate_debug_filename): New procedure.
12085 (gdb_gnu_strip_debug): New procedure.
12087 2004-01-12 Andrew Cagney <cagney@redhat.com>
12089 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12090 * gdb.mi/ChangeLog-1999-2003: New file.
12092 2004-01-12 Andrew Cagney <cagney@redhat.com>
12094 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12095 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12096 or EEXIST", treat EBUSY as an XFAIL.
12098 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12100 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12103 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12105 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12108 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12110 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12111 and "(aCC)" decorations. Remove obsolete doco about old
12114 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12116 * gdb.cp/exception.exp: Fix typo in doco.
12118 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12120 * gdb.base/gdb1476.exp: Fix typo.
12122 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12124 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12127 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12129 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12130 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12131 Use gdb_compile. Remove restriction on gcc. Add some patterns
12132 for recent version of gdb. Delete second half, which was a copy
12133 of the first half with different build flags. This test is
12134 still disabled because it is still not ready for production.
12136 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12138 * gdb.cp/exception.cc: Add copyright notice.
12139 * gdb.cp/exception.exp: Add a notice that this file is broken
12140 because of line number changes caused by addition of copyright
12143 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12145 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12146 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12148 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12150 * gdb.cp/classes.exp: Accept gnu abi 2.
12151 * gdb.cp/derivation.exp: Likewise.
12152 * gdb.cp/overload.exp: Likewise.
12153 * gdb.cp/virtfunc.exp: Likewise.
12155 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12157 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12158 semicolon after end of function.
12160 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12162 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12163 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12164 boilerplate code for compiling and running the program under
12165 test. Add some string method tests.
12167 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12169 * gdb.cp/bs15503.cc: Add copyright notice.
12170 * gdb.cp/bs15503.exp: Adjust line number.
12172 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12174 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12175 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12177 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12179 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12182 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12184 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12185 * gdb.cp/ctti.exp: Use the marker instead of "next".
12186 With gcc, run further before bailing.
12188 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12190 * gdb.cp/cttiadd.cc: Add copyright notice.
12191 * gdb.cp/cttiadd1.cc: Likewise.
12192 * gdb.cp/cttiadd2.cc: Likewise.
12193 * gdb.cp/cttiadd3.cc: Likewise.
12195 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12197 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12198 Use gdb_test, gdb_test_multiple. Use floating-point values that
12199 have exact representations in IEEE-ish formats.
12201 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12203 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12204 compilers. Delete duplicate call to get_compiler_info.
12205 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12206 * gdb.base/volatile.exp: Likewise.
12208 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12210 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12211 memory at address 0.
12213 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12215 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12216 to test for hp-ux assembler. Fix copyright years.
12218 2004-01-07 Andrew Cagney <cagney@redhat.com>
12220 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12222 2004-01-07 Andrew Cagney <cagney@redhat.com>
12224 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12225 when creating the read-only file. From analysis by Roland McGrath
12228 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12230 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12232 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12234 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12237 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12239 * gdb.cp/m-static.exp: Compile one source file at a time.
12240 Delete unused call to get_compiler_info.
12242 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12244 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12245 * gdb.base/call-rt-st.exp: Likewise.
12246 * gdb.base/nodebug.exp: Likewise.
12247 * gdb.base/volatile.exp: Likewise.
12248 * gdb.cp/ref-types.exp: Likewise.
12249 * gdb.cp/templates.exp: Likewise.
12251 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12253 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12255 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12257 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12260 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12262 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12265 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12266 sparc64-*-* and sparc*-solaris2*.
12268 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12270 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12271 return ${tests}" test. The ${tests} already mentions the
12274 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12276 * gdb.cp/local.exp: Accept gcc abi 2.
12278 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12280 * gdb.cp/templates.exp: Accept gcc abi 2.
12282 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12284 * lib/compiler.cc: Remove supports_template_debugging.
12285 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12287 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12289 * gdb.cp/namespace.exp: Accept gcc abi 2.
12291 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12293 * gdb.cp/method.exp: Accept gcc abi 2.
12295 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12297 * gdb.cp/classes.exp: Generate identical results as old version.
12298 * gdb.cp/derivation.exp: Likewise.
12299 * gdb.cp/overload.exp: Likewise.
12300 * gdb.cp/virtfunc.exp: Likewise.
12302 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12304 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12305 mysterious bug with sourceware version of expect.
12307 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12309 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12310 current versions of gcc, including gcc abi 2. Remove gratuitous
12311 restart of test program. Use gdb_test_multiple and gdb_test for
12312 all tests. Add patterns to xfail missing "const" in "const char *"
12313 and kfail PR gdb/1155.
12315 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12317 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12318 current versions of gcc, including gcc abi 2. Remove gratuitous
12319 restart of test program. Use gdb_test_multiple and gdb_test for
12320 all tests. Add patterns to kfail PR gdb/1498.
12322 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12324 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12325 current versions of gcc, including gcc abi 2. Use "breakpoint"
12326 and "continue" instead of restarting the target program. Use
12327 gdb_test_multiple and gdb_test for all tests.
12329 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12331 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12334 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12336 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12337 current versions of gcc, including gcc abi 2. Use "breakpoint"
12338 and "continue" instead of restarting the target program several
12339 times. Use gdb_test_multiple and gdb_test for all tests.
12341 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12343 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12346 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12348 * gdb.base/environ.exp: Handle compiling test case from multiple
12351 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12353 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12355 2003-12-17 Jim Blandy <jimb@redhat.com>
12357 * gdb.base/freebpcmd.c: Add copyright notice.
12359 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12361 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12363 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12365 2003-12-13 Jim Blandy <jimb@redhat.com>
12367 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12369 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12371 * gdb.asm/frv.inc: New file.
12372 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12374 2003-12-09 Fred Fish <fnf@redhat.com>
12376 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12377 functions to break1.c and leave prototypes behind. Add more
12378 "set breakpoint NN here" comments.
12379 * gdb.base/break1.c: New file.
12381 * gdb.base/break.exp: Handle compiling test case from multiple
12382 source files and change source file references as needed.
12383 * gdb.base/completion.exp: Ditto.
12384 * gdb.base/condbreak.exp: Ditto.
12385 * gdb.base/define.exp: Ditto.
12386 * gdb.base/ena-dis-br.exp: Ditto.
12387 * gdb.base/info-proc.exp: Ditto.
12388 * gdb.base/maint.exp: Ditto.
12389 * gdb.base/until.exp: Ditto.
12391 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12392 hardcoded line numbers.
12393 * gdb.base/define.exp: Ditto.
12394 * gdb.base/ena-dis-br.exp: Ditto.
12395 * gdb.base/maint.exp: Ditto.
12396 * gdb.base/until.exp: Ditto.
12398 * gdb.base/completion.exp: Use "break1" for completion tests since
12399 "break" is no longer a unique prefix.
12401 2003-12-06 Andrew Cagney <cagney@redhat.com>
12403 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12404 "return_value_unimplemented". When an unimplemented struct return
12405 architecture, report incorrect values as a KFAIL
12407 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12409 * gdb.cp/rtti.exp: Accept new wording of warning from
12410 cp_lookup_rtti_type.
12412 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12414 Partial fix for PR testsuite/1456.
12415 * gdb.base/scope.exp (test_at_main): Replace references to
12416 gcc_compiled with calls to test_compiler_info.
12417 (test_at_foo): Likewise.
12418 (test_at_bar): Likewise.
12420 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12422 Partial fix for PR testsuite/1456.
12423 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12424 to test_compiler_info.
12426 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12428 * gdb.base/so-impl-ld.exp: Update copyright notice.
12430 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12432 Partial fix for PR testsuite/1456.
12433 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12434 to test_compiler_info.
12436 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12438 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12439 from current versions of gdb. Clean up regular expressions.
12440 Delete redundant timeout case.
12442 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12444 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12445 from current versions of gdb. Clean up regular expressions.
12446 Delete redundant timeout case.
12448 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12450 Partial fix for PR testsuite/1456.
12451 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12452 gcc_compiled with call to test_compiler_info.
12454 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12456 Partial fix for PR testsuite/1456.
12457 * gdb.base/list.exp (test_list_function): Delete unused declaration
12460 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12462 Partial fix for PR testsuite/1456.
12463 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12464 call to test_compiler_info.
12466 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12468 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12469 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12470 it to create the appropriate note.inc.
12471 * gdb.asm/asmsrc1.s: Include "note.inc".
12472 * gdb.asm/netbsd.inc: New file.
12473 * gdb.asm/empty.inc: New file.
12475 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12477 Partial fix for PR testsuite/1456.
12478 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12479 calls to test_compiler_info.
12481 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12483 Partial fix for PR testsuite/1456.
12484 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12485 calls to test_compiler_info.
12487 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12489 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12490 pattern for the KFAILs.
12492 2003-11-25 Adam Fedor <fedor@gnu.org>
12494 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12495 * gdb.objc/objcdecode.m: New file.
12497 2003-11-25 Adam Fedor <fedor@gnu.org>
12499 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12500 * gdb.objc/nondebug.m: New file.
12502 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12504 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12505 NetBSD as it does on FreeBSD. Modelled on a similar change by
12506 Mark Kettenis on 2003-05-30.
12507 (link-flags): Set to "--entry _start" regardless of target.
12508 Special linker flags are to be appended to $link-flags.
12509 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12511 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12513 * gdb.cp/method.exp: Accept output of new demangler.
12515 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12517 * gdb/class2.exp: New file.
12518 * gdb/class2.cc: New file.
12520 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12522 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12525 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12527 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12530 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12532 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12533 "continue" into "run".
12535 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12537 Partial fix for PR testsuite/1456.
12538 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12539 call to test_compiler_info.
12540 * gdb.cp/ctti.exp: Likewise.
12541 * gdb.cp/derivation.exp: Likewise.
12542 * gdb.cp/member-ptr.exp: Likewise.
12543 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12544 reference to gcc_compiled.
12546 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12548 Fix PR testsuite/1463.
12549 * gdb.base/structs.exp (start_structs_test): Call
12550 get_debug_format before using the debug format.
12552 2003-11-22 Andrew Cagney <cagney@redhat.com>
12554 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12555 * gdb.base/structs.exp: Use gdb_test_multiple.
12557 2003-11-20 Andrew Cagney <cagney@redhat.com>
12559 * gdb.base/structs.exp: Handle and recover from internal errors.
12560 Replace "foo${n}" with "foo<n>" in test messages.
12562 * gdb.base/structs.exp: Update copyright. Rewrite.
12563 * gdb.base/structs.c: Update copyright. Rewrite.
12565 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12566 resync count exceeded.
12568 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12569 from the internal error.
12570 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12571 Original from Jim Blandy.
12572 (gdb_test_multiple): Use gdb_internal_error_resync.
12574 2003-11-19 Andrew Cagney <cagney@redhat.com>
12576 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12579 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12581 New testcase for PR backtrace/1435.
12582 * gdb.arch/i386-unwind.exp: New file.
12583 * gdb.arch/i386-unwind.c: New file.
12585 2003-11-17 Andrew Cagney <cagney@redhat.com>
12587 * lib/gdb.exp (compiler_info): New global.
12588 (test_compiler_info): New function.
12589 (get_compiler_info): Set compiler_info.
12590 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12591 "compiler_info" to gcc-<major>-<minor>.
12593 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12595 * gdb.trace/configure: Remove.
12597 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12599 * gdb.base/break.c: Add comments to aid finding line numbers for
12601 * gdb.base/break.exp: Remove all references to explicit line
12604 2003-11-11 Nick Clifton <nickc@redhat.com>
12606 * gdb.base/shreloc.exp: Do not run for targets which do not
12607 support shared objects.
12609 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12611 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12612 Don't run tests if nofileio flag is given.
12614 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12616 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12617 as well as 'Watchpoint'.
12619 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12621 Reported by Jim Ingham <jingham@apple.com>:
12622 * gdb.base/annota1.exp: Match at least one occurrence of the
12623 signal handler annotation.
12625 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12627 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12628 as well as 'Watchpoint'.
12630 2003-11-05 Michael Chastain <mec@shout.net>
12632 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12634 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12636 * gdb.arch/gdb1291.c: New test file.
12637 * gdb.arch/gdb1291.exp: New test script.
12638 * gdb.arch/gdb1431.c: New test file.
12639 * gdb.arch/gdb1431.exp: New test script.
12641 2003-10-22 Michael Chastain <mec@shout.net>
12643 * gdb.mi/pthreads.c: Add copyright notice.
12645 2003-10-22 Michael Chastain <mec@shout.net>
12647 * gdb.threads/pthreads.c: Add copyright notice.
12649 2003-10-20 Michael Chastain <mec@shout.net>
12651 * gdb.base/gdb1056.exp: New test script.
12653 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12655 * gdb.threads/killed.exp: Use gdb_run_cmd.
12657 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12659 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12660 create a core file.
12661 * gdb.threads/gcore-thread.exp: Likewise.
12663 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12665 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12666 type, based on char type.
12667 (struct bit_flags_short_t): New bitfield type, based on short type.
12668 (init_bit_flags_char): New fuction.
12669 (init_bit_flags_short): Ditto.
12670 (print_bit_flags_char): Ditto.
12671 (print_bit_flags_short): Ditto.
12672 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12674 2003-10-11 Michael Chastain <mec@shout.net>
12676 * gdb.base/call-rt-st.exp: Update copyright year.
12678 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12680 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12681 * gdb.disasm/sh3.s: Ditto.
12683 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12685 * gdb.threads/switch-threads.exp: New test.
12686 * gdb.threads/switch-threads.c: New source file.
12688 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12690 * gdb.base/ending-run.exp: Add sh specific case.
12692 2003-10-06 Andrew Cagney <cagney@redhat.com>
12694 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12695 * gdb.disasm/mn10200.exp: Delete obsolete file.
12697 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12699 * ChangeLog: Correct an entry command.exp -> commands.exp.
12700 * gdb.base/commands.exp (bp_deleted_in_command_test)
12701 (temporary_breakpoint_commands): Check noargs.
12703 2003-09-25 David Carlton <carlton@kealia.com>
12705 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12706 of some print tests, where appropriate. Add tests for C::D::cd,
12707 E::ce, F::cXfX, G::XgX.
12708 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12710 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12712 * lib/java.exp (java_init): Import target_alias before using it.
12714 2003-09-25 David Carlton <carlton@kealia.com>
12716 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12718 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12720 * gdb.base/selftest.exp: Accomodate more instruction reordering
12723 2003-09-17 Michael Chastain <mec@shout.net>
12725 * gdb.cp/gdb1355.exp: New file.
12726 * gdb.cp/gdb1355.c: New file.
12728 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12730 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12731 * gdb.asm/sh.inc: New file.
12733 2003-09-11 David Carlton <carlton@kealia.com>
12735 * gdb.cp/namespace.exp: Add tests for namespace types.
12736 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12737 (test_namespace): New.
12739 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12741 * gdb.base/relocate.exp: Handle new gdb output at startup.
12742 * gdb.stabs/weird.exp: Ditto.
12744 2003-09-08 Michael Chastain <mec@shout.net>
12746 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12748 2003-09-07 Michael Chastain <mec@shout.net>
12750 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12753 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12755 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12757 2003-08-30 Michael Chastain <mec@shout.net>
12759 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12760 * gdb.gdb/observer.exp: Ditto.
12761 * gdb.gdb/xfullpath.exp: Ditto.
12763 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12765 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12768 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12770 * gdb.base/dump.exp: Skip for ia64.
12772 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12774 * gdb.asm/asm-source.exp: Add ia64 support.
12775 * gdb.asm/ia64.inc: New file.
12777 2003-08-22 Michael Chastain <mec@shout.net>
12779 * gdb.cp: New directory.
12780 * gdb.cp/*: Copy from gdb.c++/*.
12781 * gdb.c++/*: Remove.
12782 * Makefile.in: Change gdb.c++ to gdb.cp.
12783 * configure.in: Ditto.
12784 * configure: Regnerate.
12786 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12788 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12789 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12791 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12793 * mi-var-display.exp (-var-list-children weird): Accept function
12794 pointers with argument types.
12795 * mi1-var-display.exp (-var-list-children weird): Likewise.
12796 * mi2-var-display.exp (-var-list-children weird): Likewise.
12798 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12800 * gdb.base/annota3.exp: Add missing newline.
12802 2003-08-06 Michael Chastain <mec@shout.net>
12804 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12806 2003-08-12 Michael Snyder <msnyder@redhat.com>
12808 * gdb.base/float.exp: Add test for SH.
12810 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12812 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12814 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12816 * gdb.base/completion.exp: Remove reduntant completion test
12819 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12821 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12822 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12823 gdb.trace/save-trace.exp: Make sure that full pathnames are
12826 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12828 * configure.in: Don't generate config.h from config.hin.
12829 * configure: Regenerate.
12830 * config.hin: Remove file.
12831 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12832 * gdb.threads/pthreads.c: Ditto.
12834 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
12836 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12837 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12838 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12839 Replace ld24 with seth/add3.
12841 2003-08-02 Andrew Cagney <cagney@redhat.com>
12843 * gdb.base/annota3.exp: New file.
12844 * gdb.base/annota3.c: New file.
12845 * gdb.c++/annota3.exp: New file.
12846 * gdb.c++/annota3.cc: New file.
12848 2003-07-29 Michael Chastain <mec@shout.net>
12850 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12852 (do_pass): Likewise.
12853 * gdb.threads/tls.exp: Always initialize no_of_threads.
12855 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12857 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12859 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12860 * gdb.threads/tls.exp: Recognize one case of the host library not
12863 2003-07-27 Andrew Cagney <cagney@redhat.com>
12865 * gdb.base/fileio.exp: Use SH when running commands using
12868 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12870 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12871 * gdb.base/relocate.c (dummy): New padding array.
12873 2003-07-22 Michael Snyder <msnyder@redhat.com>
12875 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
12877 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12878 patterns to be more general, accepting old and new output.
12879 Some output chars (such as '+') also must be quoted.
12880 Some addresses are displayed numerically instead of
12883 2003-07-23 Michael Snyder <msnyder@redhat.com>
12885 * gdb.base/return2.exp: Don't test long-long return.
12887 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12888 * gdb.disasm/t01_mov.exp: Ditto.
12889 * gdb.disasm/t02_mova.s: Ditto.
12890 * gdb.disasm/t02_mova.exp: Ditto.
12891 * gdb.disasm/t03_add.s: Ditto.
12892 * gdb.disasm/t03_add.exp: Ditto.
12893 * gdb.disasm/t04_sub.s: Ditto.
12894 * gdb.disasm/t04_sub.exp: Ditto.
12895 * gdb.disasm/t05_cmp.s: Ditto.
12896 * gdb.disasm/t05_cmp.exp: Ditto.
12897 * gdb.disasm/t06_ari2.s: Ditto.
12898 * gdb.disasm/t06_ari2.exp: Ditto.
12899 * gdb.disasm/t07_ari3.s: Ditto.
12900 * gdb.disasm/t07_ari3.exp: Ditto.
12901 * gdb.disasm/t08_or.s: Ditto.
12902 * gdb.disasm/t08_or.exp: Ditto.
12903 * gdb.disasm/t09_xor.s: Ditto.
12904 * gdb.disasm/t09_xor.exp: Ditto.
12905 * gdb.disasm/t10_and.s: Ditto.
12906 * gdb.disasm/t10_and.exp: Ditto.
12907 * gdb.disasm/t11_logs.s: Ditto.
12908 * gdb.disasm/t11_logs.exp: Ditto.
12909 * gdb.disasm/t12_bit.s: Ditto.
12910 * gdb.disasm/t12_bit.exp: Ditto.
12911 * gdb.disasm/t13_otr.s: Ditto.
12912 * gdb.disasm/t13_otr.exp: Ditto.
12914 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12916 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12918 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12920 * gdb.threads/tls.c : New file.
12921 * gdb.threads/tls.exp : New file.
12922 * gdb.threads/tls-main.c : New file.
12923 * gdb.threads/tls-shared.c : New file.
12924 * gdb.threads/tls-shared.exp : New file.
12926 2003-07-22 Andreas Schwab <schwab@suse.de>
12928 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12930 2003-07-20 Andreas Schwab <schwab@suse.de>
12932 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12933 due to insn reordering.
12935 2003-07-15 Andrew Cagney <cagney@redhat.com>
12937 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12939 2003-07-15 Michael Chastain <mec@shout.net>
12941 * gdb.base/gdb1250.exp: New file.
12942 * gdb.base/gdb1250.c: New file.
12944 2003-07-09 Michal Ludvig <mludvig@suse.cz>
12946 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12947 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12949 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12951 * gdb.threads/tls.c: New file.
12952 * gdb.threads/tls.exp: New file.
12953 * gdb.threads/tls-main.c: New file.
12954 * gdb.threads/tls-shared.c: New file.
12955 * gdb.threads/tls-shared.exp: New file.
12957 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12959 * gdb.base/annota1.exp: Make sure that we properly escape the
12960 full path of the source file. Xfail more permissive patterns,
12961 due to a compiler debug info problem.
12963 2003-07-07 Andreas Schwab <schwab@suse.de>
12965 * gdb.asm/m68k.inc: New file.
12966 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
12968 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
12969 arguments"): Also match negative number.
12971 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
12973 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
12975 * gdb.base/store.c (charest): New typedef.
12976 (add_char): Rename to add_charest, update.
12977 (wack_char): Rename to wack_charest, update types. Return l + r
12978 to keep r live across the call.
12979 (wack_short, wack_int, wack_long, wack_longest, wack_float)
12980 (wack_double, wack_doublest): Return l + r to keep r live across
12982 * gdb.base/store.exp: Accomodate store.c changes.
12984 2003-06-30 David Carlton <carlton@kealia.com>
12986 * gdb.c++/maint.exp (test_invalid_name): New.
12987 (test_first_component): Add tests for invalid names.
12989 2003-06-29 Michael Chastain <mec@shout.net>
12991 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12992 output of '<VTT for class>' for virtual base classes.
12994 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12996 * gdb.base/completion.exp: Tab-complete "complet" instead of
12998 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13000 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13002 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13003 * gdb.base/volatile.exp: Likewise.
13005 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13007 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13010 2003-06-28 Michael Chastain <mec@shout.net>
13011 Daniel Jacobowitz <drow@mvista.com>
13013 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13014 initial line count of 'captured_main' from 26 to 32.
13015 (test_with_self): Allow xmalloc call to be interleaved with the
13016 preceding two lines.
13018 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13020 * gdb.base/bang.exp: New testcase.
13022 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13024 * gdb.base/langs.exp: Add some tests for the "minimal" language
13027 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13029 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13032 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13034 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13037 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13039 * gdb.c++/pr-1210.cc: New file.
13040 * gdb.c++/pr-1210.exp: New file.
13042 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13044 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13047 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13049 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13050 on *-*-*bsd* instead of *-*-freebsd*.
13052 2003-06-14 Andrew Cagney <cagney@redhat.com>
13054 * gdb.base/store.exp: Test longest and doublest. Test all
13055 parameters. Weaken return statement match.
13056 * gdb.base/store.c: Add longest and doublest - aka long long and
13057 long double functions. Put all parameters into local register
13058 variables. Use negative values.
13060 2003-06-14 Andrew Cagney <cagney@redhat.com>
13062 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13063 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13065 * gdb.base/fileio.exp: Disable target when nointerrupts and
13066 noinferiorio, instead of limiting it to remote. Use remote_exec
13069 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13071 * gdb.base/float.exp: Add ia64 support.
13073 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13075 * gdb.base/fileio.exp: Run only on remote targets.
13077 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13079 * gdb.base/fileio.c: New file, testing File-I/O.
13080 * gdb.base/fileio.exp: Ditto.
13082 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13084 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13085 shared objects after relocation at load time (gdb PR/1132).
13086 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13087 as above, part of the shared object relocation test.
13089 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13091 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13092 fully filled history list.
13093 * gdb.base/gdb_history: New file.
13095 * gdb.base/signals.exp: XFAIL "continue to func1" on
13098 * gdb.base/attach.exp: When trying to attach to a nonexistent
13099 process, make it possible to specify the PID based on the target,
13100 and do so for *-*-freebsd*.
13102 2003-06-02 Richard Henderson <rth@redhat.com>
13104 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13106 2003-06-02 Richard Henderson <rth@redhat.com>
13108 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13110 2003-06-02 Richard Henderson <rth@redhat.com>
13112 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13114 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13116 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13119 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13121 * gdb.asm/asm-source.exp: Check for memory read errors in
13122 disassembler test on *BSD too.
13124 2003-06-01 Richard Henderson <rth@redhat.com>
13126 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13128 (gdbasm_call): Lose ldgp.
13129 (gdbasm_startup): Add frame information.
13130 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13132 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13134 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13137 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13139 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13142 2003-05-29 Richard Henderson <rth@redhat.com>
13144 * gdb.asm/alpha.inc: New file.
13145 * gdb.asm/asm-source.exp: Use it.
13147 2003-05-29 Jim Blandy <jimb@redhat.com>
13149 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13152 2003-05-22 Jim Blandy <jimb@redhat.com>
13154 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13157 2003-05-20 David Carlton <carlton@math.stanford.edu>
13159 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13162 2003-05-19 David Carlton <carlton@bactrian.org>
13164 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13165 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13167 2003-05-19 David Carlton <carlton@bactrian.org>
13169 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13171 Bump copyright date.
13172 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13173 (main): Call C::D::marker2.
13174 * gdb.c++/namespace1.cc: New file.
13176 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13178 Roland McGrath <roland@redhat.com>
13179 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13180 there is no manager thread.
13182 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13184 * gdb.threads/schedlock.exp: Remove assumption that all threads
13185 will run in a particular small time slice. Also ensure we break
13186 in one of the child threads rather than the main thread.
13188 2003-05-07 Jim Blandy <jimb@redhat.com>
13190 Add support for assembly source testing on the s390x.
13191 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13193 * gdb.asm/s390x.inc: New file.
13195 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13196 succession of 'if' statements.
13198 2003-05-05 Andrew Cagney <cagney@redhat.com>
13200 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13202 2003-05-05 Andrew Cagney <cagney@redhat.com>
13204 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13205 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13207 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13209 * gdb.base/charset.exp: Update based on new behavior of set/show
13212 2003-05-01 Andrew Cagney <cagney@redhat.com>
13214 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13215 variable do not give memory errors.
13217 2003-04-30 Adam Fedor <fedor@gnu.org>
13219 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13220 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13221 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13222 gdb.objc/basicclass.m: : New files
13224 * lib/gdb.exp (gdb_compile_objc): New procedure.
13226 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13228 * gdb.base/signals.exp: Make backtrace tests more specific.
13230 2003-04-23 David Carlton <carlton@bactrian.org>
13232 * gdb.c++/maint.exp (test_first_component): Add tests for
13233 'operator' in more locations.
13235 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13237 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13239 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13241 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13242 func marke' instead. Update test name.
13244 2003-04-15 David Carlton <carlton@math.stanford.edu>
13246 * gdb.c++/maint.exp: New file.
13248 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13250 * gdb.threads/schedlock.c: Change type of thread function argument
13251 to long, to avoid warnings on 64-bit platforms.
13253 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13255 * gdb.base/attach.exp: Add new message from ptrace in case of
13256 attaching to nonexistent process.
13258 2003-04-11 Jim Blandy <jimb@redhat.com>
13260 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13261 gdb.c++/userdef.cc: Place comments on the lines to which the
13262 marker function might return.
13263 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13264 gdb.c++/userdef.exp: Look for those comments to check that we've
13265 returned to the right place, instead of checking line numbers.
13267 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13269 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13270 match on sourcefile name, instead of directory name.
13272 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13274 * gdb.base/completion.exp: Use string_to_regexp to match the
13275 working directory name.
13277 2003-04-09 Jim Blandy <jimb@redhat.com>
13279 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13280 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13281 after an inferior function call, report the failure, but allow the
13284 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13286 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13289 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13291 * gdb.base/break.exp: Revert last patch.
13293 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13295 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13298 2003-04-02 Andrew Cagney <cagney@redhat.com>
13300 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13301 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13302 matching directories by the name breakpoint.
13303 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13304 Make "continue to marker1" consistent.
13305 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13306 message consistent.
13307 * lib/gdb.exp: Put "the program is no longer running", and "the
13308 program exited" in parenthesis.
13309 * lib/mi-support.exp: Ditto.
13311 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13313 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13315 2003-03-29 Andrew Cagney <cagney@redhat.com>
13317 * gdb.base/sizeof.c (main): Print the value of '\377'.
13318 * gdb.base/sizeof.exp: Check the sign of '\377'.
13320 2003-03-27 Michael Chastain <mec@shout.net>
13322 * gdb.base/gdb1090.exp: New file.
13323 * gdb.base/gdb1090.cc: New file.
13325 2003-03-27 J. Brobecker <brobecker@gnat.com>
13327 * gdb.gdb/observer.exp: New regression test.
13329 2003-03-27 Michael Chastain <mec@shout.net>
13331 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13332 * gdb.base/ptype.exp: Likewise.
13334 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13336 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13338 2003-03-26 Michael Chastain <mec@shout.net>
13340 * gdb.base/ptype.exp: Actually use some typedef'd types.
13342 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13344 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13345 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13347 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13349 * gdb.base/default.exp: Fix regular expression.
13351 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13353 * gdb.base/args.exp: Fix regular expression.
13355 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13357 * gdb.base/help.exp: Allow Win32 child process.
13359 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13361 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13362 when stepping out of main().
13364 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13366 * gdb.base/default.exp: Check for win32 specific message when calling
13367 "run" without executable.
13369 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13371 * gdb.base/args.exp: Expect .exe in output.
13373 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13375 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13378 2003-03-17 Andrew Cagney <cagney@redhat.com>
13380 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13382 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13383 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13385 2003-03-17 David Carlton <carlton@math.stanford.edu>
13387 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13388 test, for PR breakpoints/38.
13389 Call test_watchpoint_and_breakpoint.
13390 * gdb.base/watchpoint.c (func3): New function.
13391 (main): Call func3.
13393 2003-03-04 David Carlton <carlton@math.stanford.edu>
13395 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13396 Garply<Garply<char> >:: garply".
13397 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13398 with respect to PR c++/1111; note also PR c++/1113.
13399 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13400 respect to PR c++/1062.
13401 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13403 2003-03-03 David Carlton <carlton@math.stanford.edu>
13405 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13406 with respect to PR c++/57.
13407 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13409 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13410 respect to PR c++/57.
13412 2003-03-03 David Carlton <carlton@math.stanford.edu>
13414 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13415 respect to PR c++/33 into FAILs.
13417 2003-03-03 Michael Chastain <mec@shout.net>
13419 * configure.in: Update copyright years.
13421 2003-03-03 Michael Chastain <mec@shout.net>
13423 * Makefile.in: Update copyright years.
13425 2003-02-28 David Carlton <carlton@math.stanford.edu>
13427 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13428 print class instead of struct and/or superfluous protection
13429 specifiers, as long as the resulting output is equivalent to the
13431 Delete FIXME from end of messages on tests that don't need
13434 2003-02-28 David Carlton <carlton@math.stanford.edu>
13436 * gdb.c++/templates.exp (do_tests): Allow const in the two
13437 Foo<volatile char *>::foo tests.
13439 2003-02-27 Michael Snyder <msnyder@redhat.com>
13441 * gdb.base/restore.c (main): Return zero, so exit code
13442 will be consistant.
13444 2003-02-26 David Carlton <carlton@math.stanford.edu>
13446 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13447 char *>::foo" test with respect to PR c++/33. Create a new test
13448 which is identical to that one except that it doesn't put the
13449 space between the "char" and the "*"; KFAIL it, too.
13451 2003-02-26 David Carlton <carlton@math.stanford.edu>
13453 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13454 template types into either PASSes or KFAILs (corresponding to PR
13455 c++/57). Tweak indentation. Update copyright.
13457 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13459 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13461 2003-02-13 Michael Chastain <mec@shout.net>
13463 * gdb.base/exprs.exp: Remove i960 remnants.
13464 * gdb.base/funcargs.exp: Likewise.
13465 * gdb.base/list.exp: Likewise.
13466 * gdb.base/ptype.exp: Likewise.
13468 2003-02-14 David Carlton <carlton@math.stanford.edu>
13470 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13471 pEe->D::vg()" from XFAIL to KFAIL.
13473 2003-02-13 Jason Molenda (jmolenda@apple.com)
13475 * gdb.base/maint.exp: Update maint print statistics regexp to include
13478 2003-02-13 Michael Chastain <mec@shout.net>
13480 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13482 2003-02-12 Michael Chastain <mec@shout.net>
13484 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13485 * gdb.c++/inherit.exp: Likewise.
13486 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13487 * gdb.c++/templates.exp: Likewise.
13488 * gdb.c++/virtfunc.exp: Likewise.
13490 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13492 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13493 why the code is written that way.
13495 2003-02-05 Michael Chastain <mec@shout.net>
13497 * gdb.base/dump.exp: Add missing copyright line.
13499 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13501 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13502 at the beginning so the breakpoint doesn't get set on the loop.
13504 2003-02-05 Michael Chastain <mec@shout.net>
13506 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13507 output for configurations with gcc 2.95.3.
13509 2003-02-05 Keith Seitz <keiths@redhat.com>
13510 Andrew Cagney <ac131313@redhat.com>
13512 * gdb.mi/mi-cli.exp: New file.
13514 2003-02-04 Michael Chastain <mec@shout.net>
13516 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13517 Call perror and then continue.
13519 2003-02-03 Michael Chastain <mec@shout.net>
13521 * gdb.c++/pr-1023.cc: New file.
13522 * gdb.c++/pr-1023.exp: New file.
13524 2003-02-05 Jim Blandy <jimb@redhat.com>
13526 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13527 it's local to foobar. Check for it there, and check that it's not
13529 * gdb.c++/local.cc (marker2): New function.
13530 (foobar): Call marker1.
13531 (main): Call marker2 instead of marker1.
13533 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13535 * gdb.disasm/mn10200.exp: Obsolete file.
13536 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13537 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13538 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13540 2003-02-04 David Carlton <carlton@math.stanford.edu>
13542 * gdb.c++/overload.exp: Test intToChar(1).
13543 * gdb.c++/overload.cc (intToChar): New.
13544 (main): Call intToChar.
13546 2003-02-03 David Carlton <carlton@math.stanford.edu>
13548 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13550 KFAIL some of the continue_to_bp_overloaded calls, according to
13553 2003-02-01 Michael Chastain <mec@shout.net>
13555 * gdb.base/advance.c (marker1): New marker function.
13556 * gdb.base/advance.exp: When the 'advance' command lands on the
13557 return breakpoint, it can legitimately stop on either the
13558 current line or the next line. Accommodate both outcomes.
13559 * gdb.base/until.exp: Likewise.
13561 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13563 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13564 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13565 now a list, not a tuple.
13566 * gdb.mi/mi-var-display.exp: Ditto.
13567 * gdb.mi/gdb792.exp: Ditto.
13569 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13571 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13572 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13574 * gdb.mi/mi-syn-frame.c: Part of same.
13576 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13578 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13579 gdb.mi/mi1-pthreads.exp: Return instead of calling
13580 gdb_suppress_entire_file.
13582 2003-02-01 Mark Salter <msalter@redhat.com>
13584 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13586 2003-01-31 Mark Salter <msalter@redhat.com>
13588 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13591 2003-01-30 Michael Chastain <mec@shout.net>
13593 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13594 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13595 has been fixed in gdb/readline on 2003-01-09.
13597 2003-01-29 Michael Snyder <msnyder@redhat.com>
13599 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13600 * gdb.base/display.exp: Allow for leading underscore in symbol.
13601 * gdb.base/args.exp: Skip if target does not support args passing.
13603 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13605 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13606 gdb_test. Accept a list of expect arguments as the third
13608 (gdb_test): Use it.
13610 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13612 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13613 allow for different test tree configurations. Update some
13614 tescases accordingly.
13615 * gdb.arch/altivec-regs.exp: Ditto.
13616 * gdb.asm/asm-source.exp: Ditto.
13617 * gdb.base/advance.exp: Ditto.
13618 * gdb.base/display.exp: Ditto.
13619 * gdb.base/long_long.exp: Ditto.
13620 * gdb.base/mips_pro.exp: Ditto.
13621 * gdb.base/overlays.exp: Ditto.
13622 * gdb.base/relocate.exp: Ditto.
13623 * gdb.base/setshow.exp: Ditto.
13624 * gdb.base/step-line.exp: Ditto.
13625 * gdb.base/step-test.exp: Ditto.
13626 * gdb.base/until.exp: Ditto.
13627 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13629 2003-01-17 David Carlton <carlton@math.stanford.edu>
13631 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13632 corresponding to PR c++/945.
13635 2003-01-17 David Carlton <carlton@math.stanford.edu>
13637 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13638 corresponding to PR c++/68.
13640 2003-01-17 David Carlton <carlton@math.stanford.edu>
13642 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13643 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13644 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13646 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13648 * gdb.base/break.exp: Fix change of default location, because of
13649 removal of until tests.
13650 * gdb.base/help.exp: Update test for new 'until' help message.
13651 Add test for help on 'advance'.
13652 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13654 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13656 * gdb.base/default.exp: Adapt "info float" test for recent changes
13657 to that command. Add test for "info vector".
13658 * gdb.base/float.exp: New file. Add test for "info float" that
13659 resembles the old test in gdb.base/default.exp.
13661 2003-01-15 David Carlton <carlton@math.stanford.edu>
13663 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13665 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13667 * gdb.base/break.exp: Move the tests of until command from here...
13668 * gdb.base/until.exp: ... to here. New file. Add other tests.
13669 * gdb.base/advance.c: New file.
13670 * gdb.base/advance.exp: New file.
13672 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13674 * gdb.base/args.c: New file.
13675 * gdb.base/args.exp: New file.
13677 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13679 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13681 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13683 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13685 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13687 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13690 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13692 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13694 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13696 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13698 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13700 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13702 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13703 * gdb.mi/mi1-console.exp: Likewise.
13705 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13707 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13708 * gdb.mi/mi1-console.exp: Likewise.
13710 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13712 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13714 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13716 * gdb.base/detach.exp: New test.
13718 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13720 * Makefile.in (ALL_SUBDIRS): New variable.
13721 (subdirs, clean, distclean): Use it.
13722 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13723 regenerating Makefile, since it is generated from the top level.
13724 * gdb.asm/Makefile.in: Likewise.
13725 * gdb.base/Makefile.in: Likewise.
13726 * gdb.c++/Makefile.in: Likewise.
13727 * gdb.disasm/Makefile.in: Likewise.
13728 * gdb.java/Makefile.in: Likewise.
13729 * gdb.mi/Makefile.in: Likewise.
13730 * gdb.threads/Makefile.in: Likewise.
13731 * gdb.trace/Makefile.in: Likewise.
13733 2003-01-09 David Carlton <carlton@math.stanford.edu>
13735 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13736 Add copyright year 2003.
13738 2003-01-06 Michael Chastain <mec@shout.net>
13740 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13741 When selecting a thread, 'line' and 'file' are optional.
13742 * gdb.mi/mi1-pthreads.exp: Likewise.
13744 2003-01-06 Andreas Schwab <schwab@suse.de>
13746 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13749 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13752 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13753 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13755 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13756 instead of calling gdb_suppress_entire_file.
13757 * gdb.threads/print-threads.exp: Likewise.
13758 * gdb.threads/schedlock.exp: Likewise.
13760 * gdb.threads/killed.exp: Return instead of calling
13761 gdb_suppress_entire_file.
13762 * gdb.threads/linux-dp.exp: Likewise.
13763 * gdb.threads/pthreads.exp: Likewise.
13765 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13767 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13769 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13770 * gdb.base/whatis.exp: Always allow (void) after function names.
13772 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13774 * gdb.c++/casts.exp: Correct regexp.
13776 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13778 * configure.in: Call AC_CONFIG_HEADER. Don't call
13779 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13780 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13781 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13782 aforementioned directories in the AC_OUPUT call.
13783 * config.hin: New file.
13784 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13785 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13786 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13787 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13788 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13789 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13790 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13791 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13792 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13793 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13794 gdb.threads/configure.in, gdb.threads/configure,
13795 gdb.threads/config.in, gdb.trace/configure.in,
13796 gdb.trace/configure: Removed.
13798 2003-01-03 Michael Chastain <mec@shout.net>
13800 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13801 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13803 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13805 * gdb.base/store.exp: Fix regular expressions.
13807 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13809 * configure.in: Rewrite.
13810 * configure: Regenerated.
13812 2003-01-03 David Carlton <carlton@math.stanford.edu>
13814 * gdb.base/psymtab.exp: New file.
13815 * gdb.base/psymtab1.c: Ditto.
13816 * gdb.base/psymtab2.c: Ditto.
13818 2002-12-23 Adam Fedor <fedor@gnu.org>
13820 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13822 2002-12-23 David Carlton <carlton@math.stanford.edu>
13824 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13825 and current_directory initialization.
13827 2002-12-22 Jim Blandy <jimb@redhat.com>
13829 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13830 rather than as part of the output file name.
13832 * gdb.base/attach.exp: There's no need to copy the test program to
13833 /tmp; that was only ever necessary on HP/UX, and this test is
13834 entirely disabled there anyway.
13836 2002-12-21 Jim Blandy <jimb@redhat.com>
13838 * gdb.c++/psmang.exp: Doc fix.
13840 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13843 2002-12-20 David Carlton <carlton@math.stanford.edu>
13845 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13847 2002-12-18 Michael Chastain <mec@shout.net>
13849 * gdb.c++/annota2.exp: Add copyright year 2002.
13851 2002-12-17 David Carlton <carlton@math.stanford.edu>
13853 * gdb.c++/try_catch.cc: Add marker comments.
13854 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13855 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13856 * gdb.c++/m-static.cc: Ditto.
13857 * gdb.c++/m-static1.cc: Ditto.
13858 * gdb.c++/try_catch.cc: Ditto.
13860 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13862 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13863 to see whether we are using the new -environment-directory
13864 command which resets via -r or the old version of the command
13865 which may prompt the user. Part of fix for gdb/741.
13867 2002-12-13 Andrew Cagney <ac131313@redhat.com>
13869 * gdb.fortran/types.exp: Update obsolete comment.
13870 * gdb.fortran/exprs.exp: Ditto.
13871 * lib/gdb.exp: Delete obsolete code.
13872 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13873 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13874 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13875 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13876 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13877 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13878 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13879 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13880 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13881 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13882 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13883 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13884 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13885 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13886 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13887 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13888 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13889 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13890 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13891 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13892 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13893 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13894 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13895 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13896 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13897 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13898 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13899 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13900 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13901 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13902 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13903 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13904 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13905 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13906 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13907 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13908 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13910 2002-12-11 David Carlton <carlton@math.stanford.edu>
13912 * gdb.c++/m-data.exp: Add test for members that shadow global
13913 variables: see PR gdb/804.
13914 * gdb.c++/m-data.cc: Ditto.
13916 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
13918 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13920 2002-12-06 David Carlton <carlton@math.stanford.edu>
13922 * gdb.base/store.c: Don't declare functions static.
13924 2002-12-04 Andrew Cagney <ac131313@redhat.com>
13926 * gdb.base/store.exp, gdb.base/store.c: New files.
13928 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13930 * gdb.base/selftest.exp: Update for current gdb.
13932 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13934 * gdb.base/maint.exp: Only dump symbols from one source file
13937 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13939 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13942 2002-11-25 Jim Blandy <jimb@redhat.com>
13944 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13945 function appearing in error message.
13947 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
13949 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13951 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
13953 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
13954 for mi1 and current mi is in correct format. New mi startup message
13955 should be in mi console format. This is part of fix for PR gdb/604.
13957 2002-09-18 Fernando Nasser <fnasser@redhat.com>
13959 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
13960 which explicitly prints the zero offset as "+0".
13962 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
13964 * gdb.threads/schedlock.c (args): Make unsigned.
13966 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
13968 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
13969 numbers. Allow "foo2|selected stack frame".
13970 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
13971 * gdb.asm/asmsrc2.s: Likewise.
13972 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
13974 * gdb.asm/mips.inc: New file.
13976 2002-10-18 Adam Fedor <fedor@gnu.org>
13978 * gdb.base/default.exp: Update expected output to include 'ObjC'.
13979 * gdb.base/help.exp: Likewise.
13981 2002-10-17 Kevin Buettner <kevinb@redhat.com>
13983 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13984 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13986 2002-10-02 Jim Blandy <jimb@redhat.com>
13988 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13990 2002-10-01 Andrew Cagney <ac131313@redhat.com>
13992 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
13993 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
13994 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
13995 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
13996 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
13997 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
13998 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14000 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14002 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14003 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14004 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14005 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14006 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14007 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14008 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14010 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14012 * gdb.base/annota1.exp (info break): Make directory components of
14013 path optional since not all compilers emit this debug information.
14015 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14016 step ends up stepping out of the function instead of stopping on
14019 2002-09-26 Keith Seitz <keiths@redhat.com>
14021 * lib/insight-support.exp (gdbtk_start): Figure out where
14022 the insight executable is based on where gdb is. Use this
14023 executable to start insight instead of gdb.
14025 2002-09-25 Andrew Cagney <cagney@redhat.com>
14027 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14029 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14031 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14032 test_isolated_complaints.
14033 (test_empty_complaint): New function.
14034 (test_empty_complaints): New function. Check no output when no
14037 2002-09-19 Jim Blandy <jimb@redhat.com>
14039 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14041 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14043 * gdb.gdb/complaints.exp: New file.
14045 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14047 * gdb.base/maint.exp: Check `help maint internal-warning'.
14049 2002-09-18 David Carlton <carlton@math.stanford.edu>
14051 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14052 numbers, and replace them by a single breakpoint after the
14053 constructors are all finished.
14055 * gdb.c++/m-static.cc: Add test 4.
14056 * gdb.c++/m-static.h: New file.
14057 * gdb.c++/m-static1.cc: New file.
14059 * gdb.c++/printmethod.exp: New file.
14060 * gdb.c++/printmethod.cc: New file.
14062 * gdb.c++/pr-574.exp: New file.
14063 * gdb.c++/pr-574.cc: New file.
14065 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14067 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14068 embedded targets which never actually exit.
14070 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14072 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14073 "don't step after run" as unresolved or unsupported, instead of xfail.
14075 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14077 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14078 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14079 Add newline to expected string in "step out of main (status wrapper)"
14082 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14084 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14085 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14087 2002-09-17 Tom Tromey <tromey@redhat.com>
14089 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14090 \000, not \0, in double-quoted string.
14092 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14094 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14095 string after running the commands execution on breakpoint tests.
14097 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14099 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14101 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14103 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14105 2002-09-10 Keith Seitz <keiths@redhat.com>
14107 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14109 (mi_run_to_main): Use mi_runto.
14110 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14112 2002-09-10 Keith Seitz <keiths@redhat.com>
14114 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14115 regexp for stopping at main. Could have multiple event notifications.
14116 Don't assume that main was declared with no parameters.
14117 (mi_next): Use mi_step_to.
14118 (mi_step): Use mi_next_to.
14120 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14122 * gdb.base/default.exp: Fix expected string in `info float' test.
14124 2002-09-09 Ben Elliston <bje@redhat.com>
14126 * config/mips.exp: Update comments.
14127 * config/mips-idt.exp: Likewise.
14128 * config/nind.exp: Likewise.
14129 * config/slite.exp: Likewise.
14130 * config/sparclet.exp: Likewise.
14131 * config/udi.exp: Likewise.
14132 * config/vx.exp: Likewise.
14133 * config/vxworks29k.exp: Likewise.
14135 2002-09-05 Jim Blandy <jimb@redhat.com>
14137 * gdb.threads/killed.exp: Fix test failure message.
14139 2002-09-04 Keith Seitz <keiths@redhat.com>
14141 * lib/mi-support.exp: Update copyright.
14142 (mi_gdb_test): Increase the priority of the expected pattern
14143 so that it matches gdb_test.
14145 2002-09-03 Keith Seitz <keiths@redhat.com>
14147 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14148 Use integer comparison instead of string comparison for testing
14149 whether binary was built.
14151 2002-09-03 Jim Blandy <jimb@redhat.com>
14153 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14155 2002-08-29 Jim Blandy <jimb@redhat.com>
14157 * gdb.threads/pthreads.exp: Move the portable thread compilation
14158 code into a function in lib/gdb.exp, and call that from here.
14159 * lib/gdb.exp (gdb_compile_pthreads): New function.
14161 2002-08-29 Keith Seitz <keiths@redhat.com>
14163 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14164 expect_out so that callers can get at it.
14166 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14168 * gdb.threads/print-threads.c: New file.
14169 * gdb.threads/print-threads.exp: New file.
14170 * gdb.threads/schedlock.c: New file.
14171 * gdb.threads/schedlock.exp: New file.
14173 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14175 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14178 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14180 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14181 targets. The problem should be fixed now.
14183 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14185 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14186 2002-07-24 change that removes final dots from error messages.
14188 2002-08-13 Tom Tromey <tromey@redhat.com>
14190 * gdb.base/readline.exp: New file.
14192 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14194 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14197 2002-08-01 Andrew Cagney <cagney@redhat.com>
14199 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14200 CHILL_FOR_TARGET and CHILL_LIB.
14201 * configure.in (configdirs): Remove gdb.chill.
14202 * configure: Regenerate.
14203 * lib/gdb.exp: Obsolete references to chill.
14204 * gdb.fortran/types.exp: Ditto.
14205 * gdb.fortran/exprs.exp: Ditto.
14207 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14209 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14210 set Irix-specific compile and link flags.
14212 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14214 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14215 source files. The ``-o'' option doesn't work with the ``-E'' option
14216 when using the Irix compiler.
14218 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14220 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14221 Improve support for reusing an exec file. Copy exec file
14222 to target, and run gdbserver on the target instead of on the host.
14224 2002-07-18 Jim Blandy <jimb@redhat.com>
14226 * gdb.base/ending-run.exp: Don't expect to see the program end in
14227 some orderly fashion when we're running on a real stand-alone
14230 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14231 targets that don't support interrupts.
14233 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14235 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14237 Move comments in expect statements to inside the actions, so that they
14238 don't get matched against.
14240 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14242 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14243 function when asleep" test.
14245 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14247 * gdb.base/page.exp: Rewrite to handle problems with very long
14248 `info set' output. Update copyright.
14250 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14252 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14254 * gdb.hp/configure: Regenerate.
14255 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14256 * gdb.hp/gdb.threads-hp/configure: Delete file.
14257 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14259 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14261 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14262 setlocale, bindtextdomain and textdomain.
14264 2002-06-11 Jim Blandy <jimb@redhat.com>
14266 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14267 preprocessor macro information is present.
14269 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14272 2002-06-06 Michael Snyder <msnyder@redhat.com>
14274 * gdb.base/overlays.exp: Record addresses of overlay
14275 functions in TCL variables rather than in GDB variables,
14276 to avoid having GDB convert them to pointers (with loss
14279 * gdb.base/d10v.ld: Merge in several years worth of
14280 default linker script changes.
14281 * gdb.base/long_long.exp: Add check for sizeof (long double).
14283 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14285 * gdb.asm/asm-source.exp: Add x86-64 target.
14286 * gdb.asm/x86_64.inc: New.
14288 2002-05-30 Michael Chastain <mec@shout.net>
14290 From Benjamin Kosnik <bkoz@redhat.com>:
14291 * gdb.c++/m-static.cc: New file.
14292 * gdb.c++/m-static.exp: New file.
14294 2002-05-28 Michael Snyder <msnyder@redhat.com>
14296 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14299 2002-05-27 Michael Chastain <mec@shout.net>
14301 From Benjamin Kosnik <bkoz@redhat.com>:
14302 * gdb.c++/m-data.cc: New file.
14303 * gdb.c++/m-data.exp: New file.
14305 2002-05-27 Michael Chastain <mec@shout.net>
14307 From Benjamin Kosnik <bkoz@redhat.com>:
14308 * gdb.c++/try_catch.cc: New file.
14309 * gdb.c++/try_catch.exp: New file.
14311 2002-05-27 Michael Chastain <mec@shout.net>
14313 * gdb.c++/local.exp: Accept more nested types in output.
14315 2002-05-26 Michael Chastain <mec@shout.net>
14317 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14319 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14321 * lib/gdb.exp (gdb_wrapper_init): Just because
14322 gdb_wrapper_file exists, this does not mean that the file
14323 should not be rebuilt. That is what gdb_wrapper_initialized
14325 (default_gdb_init): Reset gdb_wrapper_initialized.
14327 2002-05-23 Michael Snyder <msnyder@redhat.com>
14329 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14330 the precision of the floating point test results.
14331 * gdb.base/call-rt-st.exp: Ditto.
14333 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14334 * gdb.base/call-rt-st.exp: Ditto.
14336 2002-05-19 Michael Chastain <mec@shout.net>
14338 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14340 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14342 * configure.in (configdirs): Add gdb.arch.
14343 * configure: Regenerate.
14345 2002-05-17 Jim Blandy <jimb@redhat.com>
14347 * gdb.base/completion.exp: Recognize the more detailed error
14348 messages produced by the macro expander's lexical analyzer.
14350 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14352 * gdb.arch/altivec-abi.c: New file.
14353 * gdb.arch/altivec-abi.exp: New file.
14354 * gdb.arch/altivec-regs.c: New file.
14355 * gdb.arch/altivec-regs.exp: New file.
14357 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14359 * gdb.base/maint.exp (maint print type): Update for new type
14362 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14364 * gdb.arch: New directory.
14365 * gdb.arch/configure.in: New file.
14366 * gdb.arch/configure: New file.
14367 * gdb.arch/Makefile.in: New file.
14369 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14371 * gdb.asm/asm-source.exp: Add v850 as supported target.
14372 * gdb.asm/v850.inc: New file.
14374 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14376 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14378 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14380 * gdb.base/break.exp: Check 'break "marker2"'.
14382 2002-05-10 Michael Snyder <msnyder@redhat.com>
14384 * gdb.base/long_long.exp: Fix typo.
14386 2002-05-10 Jim Blandy <jimb@redhat.com>
14388 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14391 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14392 Recognize more detailed error message produced by the macro
14393 expander's lexical analyzer.
14394 * lib/gdb.exp (test_print_reject): Same.
14396 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14398 * gdb.c++/method.exp: Fix typo.
14400 2002-05-08 Michael Snyder <msnyder@redhat.com>
14402 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14403 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14404 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14405 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14406 Add iftarget clause for strongarm.
14408 2002-05-06 Michael Snyder <msnyder@redhat.com>
14410 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14411 (gdb_continue_to_end): Accept output from status wrapper.
14412 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14413 Clean up fail messages to match pass messages.
14415 Enable the "needs_status_wrapper" testsuite feature.
14416 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14417 (gdb_compile): Conditionally call gdb_wrapper_init.
14418 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14419 * gdb.c++/method.exp: Recognize output from status wrapper.
14421 2002-05-06 Ben Elliston <bje@redhat.com>
14422 From Graydon Hoare <graydon@redhat.com>
14424 * config/sid.exp: Include support for "rawsid" protocol.
14426 2002-05-03 Jim Blandy <jimb@redhat.com>
14428 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14429 * gdb.c++/hang3.C: New file.
14431 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14433 * gdb.base/default.exp: Remove obsolete code.
14434 * gdb.c++/misc.exp: Ditto. Update copyright.
14435 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14436 * gdb.base/whatis.exp: Ditto. Update copyright.
14437 * gdb.base/scope.exp: Ditto. Update copyright.
14438 * gdb.base/ptype.exp: Ditto. Update copyright.
14439 * gdb.base/printcmds.exp: Ditto. Update copyright.
14440 * gdb.base/opaque.exp: Ditto. Update copyright.
14441 * gdb.base/list.exp: Ditto.
14442 * gdb.base/funcargs.exp: Ditto. Update copyright.
14443 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14444 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14445 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14446 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14447 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14448 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14450 2002-05-02 Michael Snyder <msnyder@redhat.com>
14452 * gdb.base/watchpoint.exp: Add xscale target.
14453 * gdb.base/long_long.exp: Add xscale target.
14454 * gdb.base/default.exp: Add xscale target.
14456 2002-05-01 Jim Blandy <jimb@redhat.com>
14458 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14459 gdb.c++/hang.exp: New test.
14461 2002-05-01 Fred Fish <fnf@redhat.com>
14463 * gdb.base/completion.exp: Handle completions of "./Make" for
14464 more than one completion possibility, as is the case when we
14465 build and test in the source tree.
14467 2002-04-29 Anthony Green <green@redhat.com>
14469 * gdb.java/jmisc1.exp: New file.
14470 * gdb.java/jmisc2.exp: New file.
14472 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14474 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14476 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14478 * gdb.base/help.exp: Change 'help status' to allow for target
14479 dependent output differences.
14481 2002-04-22 Michael Chastain <mec@shout.net>
14483 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14485 2002-04-22 Michael Chastain <mec@shout.net>
14487 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14489 2002-04-17 David S. Miller <davem@redhat.com>
14491 * gdb.asm/sparc64.inc: New file.
14492 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14494 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14496 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14497 instruction file directly into the build tree. Clean up at end of
14500 2002-04-18 David S. Miller <davem@redhat.com>
14502 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14503 handle 64-bit platforms correctly.
14504 * gdb.base/maint.exp: Likewise.
14506 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14508 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14509 ``-fpic'' when compiling files comprising a shared library, but
14510 it does need additional linker flags in order to find shared
14511 libraries at run time.
14513 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14515 * gdb.base/cvexpr.c (use): New function.
14516 (main): Invoke use() on all global variables to prevent
14517 some linkers from deleting these otherwise unused symbols.
14519 2002-04-17 Michael Chastain <mec@shout.net>
14520 From David S. Miller <davem@redhat.com>
14522 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14523 handle 64-bit platforms correctly.
14525 2002-04-12 Michael Snyder <msnyder@redhat.com>
14526 From Jim Blandy <jimb@redhat.com>
14527 * gdb.base/foo.c (foox): Remove section attribute; the linker
14528 script can handle this instead.
14529 * gdb.base/bar.c (barx): Same.
14530 * gdb.base/baz.c (bazx): Same.
14531 * gdb.base/grbx.c (grbxx): Same.
14533 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14534 manager doesn't automatically unmap overlays unnecessarily.
14536 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14538 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14539 stepping out of main.
14541 2002-04-09 Michael Chastain <mec@shout.net>
14543 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14544 scope so that the nested scope tests will make sense.
14545 * gdb.c++/local.exp: Write patterns that actually work with gcc
14546 (the HP patterns "were never known to work with gcc").
14547 Keep the old aCC patterns too.
14549 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14551 * gdb.base/attach.exp: Correct target board test.
14553 2002-04-08 Michael Chastain <mec@shout.net>
14555 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14556 in a const method. Add some xfail and fail cases for configurations
14557 that do not emit the "const ...".
14559 2002-04-07 Michael Chastain <mec@shout.net>
14561 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14562 Accept "A * const" and "const A * const" as type of "this".
14563 Fix spelling of getFunky throughout. Make messages uniform.
14565 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14567 Work around for PR gdb/285:
14568 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14570 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14572 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14573 instructions file at run time instead of configure time.
14574 Sometimes we run the test in a directory that is not the one we
14576 * gdb.asm/configure.in: Delete creation of symlink.
14577 * gdb.asm/configure: Regenerate.
14579 2002-04-05 J. Brobecker <brobecker@gnat.com>
14581 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14582 xfullpath () function.
14584 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14586 * gdb.asm/Makefile.in: Correct dependencies.
14588 * gdb.asm/powerpc.inc: New file.
14589 * gdb.asm/asm-source.exp: Add PowerPC.
14590 * gdb.asm/configure.in: Likewise.
14591 * gdb.asm/configure: Regenerated.
14593 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14595 * gdb.base/relocate.exp: New file.
14596 * gdb.base/relocate.c: New file.
14598 2002-04-04 Fred Fish <fnf@redhat.com>
14600 * gdb.base/step-test.exp: Update comment regarding stopping in
14601 memcpy/bcopy calls inserted as part of the compiler runtime.
14603 2002-04-04 Michael Snyder <msnyder@redhat.com>
14605 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14607 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14609 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14610 (gdb_expect): Remove $notransfer hack.
14612 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14614 * gdb.c++/classes.exp ("calling method for small class"): Match
14615 updated register output.
14617 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14620 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14621 when finished. Make gdb_file_cmd send "exec-file" when
14624 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14626 * gdb.base/attach.exp: Remove extra setup_xfail.
14628 2002-03-26 Michael Snyder <msnyder@redhat.com>
14630 * gdb.base/default.exp: Add tests for dump, append, and restore.
14631 * gdb.base/help.exp: Add tests for dump, append, and restore.
14632 * gdb.base/dump.exp: New file, test dump, append and restore.
14633 * gdb.base/dump.c: New file.
14635 2002-03-27 Michael Snyder <msnyder@redhat.com>
14637 * gdb.base/help.exp: Modify expect strings to reflect
14638 clean-ups in help messages.
14640 2002-03-26 Fred Fish <fnf@redhat.com>
14642 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14643 have debugging info for those functions and the compiler uses them
14644 internally to copy structs around.
14646 2002-03-26 Fred Fish <fnf@redhat.com>
14648 * gdb.base/list.exp: Revert the change made yesterday and add note
14649 about why we don't list the default lines for remote targets.
14651 2002-03-25 Michael Snyder <msnyder@redhat.com>
14653 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14655 2002-03-25 Fred Fish <fnf@redhat.com>
14657 * gdb.base/list.exp: This test works on remote targets so remove
14658 the short circuit for remote targets. Update copyright.
14660 2002-03-25 Fred Fish <fnf@redhat.com>
14662 * gdb.base/attach.exp: Fix logic error that was suppressing this
14663 test for all non hppa*-*-hpux* targets, instead of the hp target.
14664 Move comments closer to the suppression point. Also now need to
14665 check that we are running natively.
14667 2002-03-22 Michael Snyder <msnyder@redhat.com>
14669 * gdb.base/default.exp: Add test for gcore. Update copyright.
14670 * gdb.base/help.exp: Add test for gcore. Update copyright.
14672 2002-03-06 Fred Fish <fnf@redhat.com>
14674 * gdb.base/funcargs.c: Remove extraneous ';' character.
14675 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14677 2002-03-04 Michael Chastain <mec@shout.net>
14679 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14680 accommodate gcc v3 function signature.
14681 * gdb.mi/mi0-var-cmd-exp: Ditto.
14683 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14685 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14686 ``GNU/Linux'' or ``Linux kernel''
14687 * testsuite/gdb.threads/pthreads.c: Ditto.
14689 2002-02-24 Michael Chastain <mec@shout.net>
14691 * gdb.threads/pthreads.c (thread1): Add a return statement.
14692 (thread2): Likewise.
14695 2002-02-23 Michael Chastain <mec@shout.net>
14697 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14700 2002-02-23 Michael Chastain <mec@shout.net>
14702 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14703 test "ptype bint". The test passes on all my stabs configurations.
14705 2002-02-21 Jim Blandy <jimb@redhat.com>
14707 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14708 filename at a time, and watch for the ones we want to see.
14710 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14711 types of pointers to prototyped functions.
14713 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14715 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14716 signed, unsigned and straight char.
14717 (padding_char, padding_short, padding_int, padding_long,
14718 padding_long_long, padding_float, padding_double,
14719 padding_long_double): New global variables.
14720 (fill, fill_structs): New functions.
14722 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14723 for correctly sized writes. Update copyright.
14724 (get_valueof): New procedure.
14725 (get_sizeof): Call get_valueof.
14726 (check_valueof): New procedure.
14727 (check_padding): New procedure.
14729 2002-02-20 Michael Chastain <mec@shout.net>
14731 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14732 to setup_xfail. Document some of the remaining calls.
14734 2002-02-18 Michael Chastain <mec@shout.net>
14736 * gdb.c++/userdef.exp: Update copyright year.
14738 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14740 * gdb.c++/userdef.exp: Test overloaded operators properly.
14743 2002-02-14 Michael Snyder <msnyder@redhat.com>
14745 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14747 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14749 * gdb.base/a2-run.exp: Check for a remote target properly.
14750 * gdb.base/annota1.exp: Likewise.
14751 * gdb.base/list.exp: Likewise.
14752 * gdb.base/reread.exp: Likewise.
14753 * gdb.base/scope.exp: Likewise.
14754 * gdb.base/shlib-call.exp: Likewise.
14755 * gdb.base/term.exp: Likewise.
14756 * gdb.c++/annota2.exp: Likewise.
14758 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14760 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14762 2002-02-10 Michael Chastain <mec@shout.net>
14764 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14765 (call_after_alloca): Ditto.
14767 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14769 * gdb.base/ending-run.exp: Guard "cont" test with
14770 gdb_skip_stdio_test.
14772 2002-02-06 Jim Blandy <jimb@redhat.com>
14774 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14776 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14777 To here. Disable this test on non-HP platforms. Add big comment.
14779 2002-02-04 Michael Snyder <msnyder@redhat.com>
14781 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14782 other than d10v and m32r.
14784 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14786 * gdb.base/default.exp: Rewrite test patterns to reduce time
14787 taken to match them.
14789 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14791 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14792 Allow a start function above main.
14793 * gdb.threads/linux-dp.exp: Fix copyright date.
14795 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14797 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14798 (check_philosopher_stack): Check for manager thread before checking
14799 for a just-starting thread.
14801 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14803 From Neil Booth <neil@daikokuya.demon.co.uk>:
14804 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14807 2002-01-21 Fred Fish <fnf@redhat.com>
14809 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14812 2002-01-21 Jim Blandy <jimb@redhat.com>
14814 * gdb.base/reread.exp: Check that GDB properly re-reads the
14815 executable file when it changes while no inferior is running.
14817 2002-01-21 Fred Fish <fnf@redhat.com>
14819 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14820 optionally accept the "shlib events" variation.
14822 2002-01-21 Jim Blandy <jimb@redhat.com>
14824 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14825 call `fflush' after every `printf', so that the output is produced
14826 at predictable points, regardless of whatever buffering does (or
14827 doesn't) take place.
14828 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14829 at different points.
14831 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14833 * gdb.c++/inherit.exp: Update copyright years.
14834 * gdb.c++/method.exp: Likewise.
14836 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14838 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14839 artificial methods/arguments.
14840 * gdb.c++/derivation.exp: Likewise.
14841 * gdb.c++/inherit.exp: Likewise.
14842 * gdb.c++/method.exp: Likewise.
14843 * gdb.c++/virtfunc.exp: Likewise.
14845 2002-01-18 Andrew Cagney <ac131313@redhat.com>
14847 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14848 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14849 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14850 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14851 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14852 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14854 2002-01-17 Jim Blandy <jimb@redhat.com>
14856 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14857 anchoring the pattern matching the entry point symbol's name.
14859 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14861 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14862 continue/quit query. Update copyright.
14864 2002-01-14 Michael Snyder <msnyder@redhat.com>
14866 * gdb.base/gcore.exp: Remove extra debugging output.
14868 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14870 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14871 for slightly dubious v2 mangled string.
14873 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14875 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14877 2002-01-10 Jason Merrill <jason@redhat.com>
14879 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14881 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14883 * gdb.c++/derivation.exp: Likewise.
14884 * gdb.c++/templates.exp: Likewise.
14885 * gdb.c++/virtfunc.exp: Likewise.
14887 2002-01-10 Michael Snyder <msnyder@redhat.com>
14889 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
14891 2002-01-08 Michael Snyder <msnyder@redhat.com>
14893 * gdb.base/gcore.exp: New test for generate-core-file command.
14894 * gdb.base/gcore.c: Testcase for above.
14895 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14897 2002-01-08 Jason Merrill <jason@redhat.com>
14899 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14901 2002-01-07 Fred Fish <fnf@redhat.com>
14903 * gdb.c++/overload.exp: Remove unconditional xfails for:
14904 print foo_instance1.overloadargs(1)
14905 print foo_instance1.overloadargs(1, 2)
14906 print foo_instance1.overloadargs(1, 2, 3)
14907 print foo_instance1.overloadargs(1, 2, 3, 4)
14908 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14909 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14910 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14911 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14912 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14913 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14914 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14915 print foo_instance1.overload1arg()
14916 print foo_instance1.overload1arg((char)arg2)
14917 print foo_instance1.overload1arg((signed char)arg3)
14918 print foo_instance1.overload1arg((unsigned char)arg4)
14919 print foo_instance1.overload1arg((int)arg7)
14920 print foo_instance1.overload1arg((unsigned int)arg8)
14921 print foo_instance1.overload1arg((float)arg11)
14922 print foo_instance1.overload1arg((double)arg12)
14924 2002-01-07 Michael Snyder <msnyder@redhat.com>
14926 * gdb.base/huge.exp: New test. Print a very large target data object.
14927 (skip_huge_test): New test variable. Define if you want to skip this
14928 test. The test reads an 8 megabyte data object from the target, so it
14929 might be very time consuming on remote targets with a slow connection.
14930 * gdb.base/huge.c: New file. Test case for above.
14932 2002-01-07 Fred Fish <fnf@redhat.com>
14934 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14935 g_instance.bfoo, and g_instance.cfoo.
14937 2002-01-07 Jeffrey A Law <law@redhat.com>
14939 * gdb.base/break.c (multi_line_if_conditional): New function.
14940 (multi_ilne_while_conditional): Likewise.
14941 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14942 IF or WHILE condition puts the breakpoint at the start of
14945 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14946 hppa*-*-hpux* expected failure.
14947 * gdb.base/structs.exp (do_function_calls): Similarly.
14949 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14952 2002-01-06 Andrew Cagney <ac131313@redhat.com>
14955 * gdb.base/structs.exp: Replace skip for a29k with skip for
14956 gdb,cannot_call_functions.
14957 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
14958 * gdb.base/callfuncs.exp: Ditto.
14959 * gdb.base/call-rt-st.exp: Ditto.
14960 * gdb.base/call-strs.exp: Ditto.
14961 * gdb.base/callfwmall.exp: Ditto.
14962 * gdb.base/scope.exp: Obsolete xfail a29k.
14963 * gdb.c++/misc.exp: Ditto.
14964 * gdb.c++/cplusfuncs.exp: Ditto.
14965 * gdb.base/ptype.exp: Ditto.
14966 * gdb.base/printcmds.exp: Ditto.
14967 * gdb.base/opaque.exp: Ditto.
14968 * gdb.base/list.exp: Ditto.
14969 * gdb.base/funcargs.exp: Ditto.
14970 * gdb.base/default.exp: Ditto.
14972 2002-01-04 Michael Snyder <msnyder@redhat.com>
14974 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
14975 * gdb.base/maint.exp: Add tests for maint info sections options.
14977 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
14979 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
14981 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
14983 * gdb.asm/arm.inc: New file.
14984 * gdb.asm/asm-source.exp: Add arm targets.
14985 * gdb.asm/configure.in: Ditto.
14986 * gdb.asm/configure: Recreated from configure.in.
14988 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
14990 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
14991 with HP's compiler.
14992 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14993 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14994 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14995 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14997 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14998 either HP's compilers or GCC.
15000 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15001 a SIGBUS or SIGSEGV.
15003 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15005 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15006 can be compiled with either HP's compiler or GCC.
15008 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15009 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15010 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15012 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15013 to match current gdb output. Update due to using auto-solib-limit
15014 for limiting instead of overloading auto-solib-add.
15015 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15018 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15019 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15020 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15021 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15022 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15023 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15024 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15025 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15026 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15027 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15028 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15029 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15030 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15032 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15033 a SIGTRAP to the inferior.
15035 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15037 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15038 Substitute call to target_link by call to gdb_compile.
15040 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15042 * gdb.base/break.exp: Fix HP specific search string when testing
15043 backtracing in a called function.
15045 * gdb.base/constvars.exp: Only set lang to C++ if we're
15046 compiling the test with HP's compilers.
15047 * gdb.base/volatile.exp: Similarly.
15049 2001-12-19 Jim Blandy <jimb@redhat.com>
15051 * gdb.base/printcmds.exp: Expect the null character to be printed
15052 as '\0', and the '\013' to be printed as '\v'.
15053 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15054 * gdb.base/setvar.exp: Same.
15056 2001-12-17 Jim Blandy <jimb@redhat.com>
15058 * gdb.base/completion.exp: Rather than completing very long
15059 filenames, which can make the readline library produce output we
15060 don't recognize, cd to the directory first, and then complete
15061 using nice, short relative paths.
15063 * gdb.base/completion.exp: On some systems, there is, in fact, a
15064 variable named `b' in scope, since GDB treats all static
15065 variables as being in scope. So use `no_var_named_this'
15068 * gdb.base/corefile.exp: Recognize the message saying that GDB
15069 can't find the core file's registers as a failure.
15071 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15073 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15074 test expect string more specific.
15076 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15078 * gdb.asm/asm-source.exp: Add support for xstormy16.
15079 * gdb.asm/configure.in: Ditto.
15080 * gdb.asm/configure: Rebuild.
15081 * gdb.asm/xstormy16.inc: New file.
15083 2001-12-10 Fred Fish <fnf@redhat.com>
15085 * gdb.base/maint.exp: Update to match changes in type dumping code.
15087 2001-12-10 Jim Blandy <jimb@redhat.com>
15089 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15090 matching the entry point symbol's name at the beginning of the
15093 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15095 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15096 gdb.c++/inherit.exp, gdb.c++/method.exp,
15097 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15098 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15099 and class layout support.
15101 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15103 * gdb.c++/classes.exp: Add test for static member function.
15104 * gdb.c++/misc.cc: Add class with static member function.
15106 2001-12-07 Jim Blandy <jimb@redhat.com>
15108 If GDB says it can't find the struct the function returned, report
15109 those tests as `unsupported'.
15110 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15111 Rewrite subsequent tests to use it.
15113 If GDB says it can't find the struct the function returned, report
15114 those tests as `unsupported'.
15115 * gdb.base/structs.exp (call_struct_func): New function.
15116 (do_function_calls): Use call_struct_func to call the functions
15119 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15120 whether functions are prototyped or not, so we can't possibly pass
15121 arguments to t_float_values2 properly.
15123 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15124 value of `timeout' for targets other than the mips*tx39-*.
15126 2001-12-06 Michael Snyder <msnyder@redhat.com>
15128 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15129 and detect whether the start symbol has a leading underscore.
15131 2001-12-04 Jim Blandy <jimb@redhat.com>
15133 * gdb.base/completion.exp: Clarify indentation.
15135 2001-12-03 Jim Blandy <jimb@redhat.com>
15137 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15138 variables on the S/390, not `.word'.
15140 2001-11-30 Jim Blandy <jimb@redhat.com>
15142 Add assembly-source tests for s390-ibm-linux.
15143 * gdb.asm/s390.inc: New file.
15144 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15145 the S/390 architecture.
15146 * gdb.asm/configure: Regenerated.
15148 2001-11-30 Michael Snyder <msnyder@redhat.com>
15150 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15151 next, info source, info sources, info line, global and static
15152 variables, and static functions.
15153 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15154 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15155 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15156 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15157 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15158 (gdbasm_leave): Restore frame pointer.
15159 (gdbasm_startup): Copy stack set-up from crt0.S.
15161 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15163 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15164 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15165 to a local (non-static) variable. Copy tstruct.a to a static buffer
15166 and return a pointer to that buffer.
15167 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15169 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15171 * gdb.asm/configure.in: Fix recognition of ix86 target.
15172 * gdb.asm/configure: Regenerate.
15174 2001-11-21 Michael Snyder <msnyder@redhat.com>
15176 * gdb.asm/sparc.inc: New file.
15177 * gdb.asm/asm-source.exp: Recognize sparc target.
15178 * gdb.asm/configure.in: Recognize sparc target.
15179 * gdb.asm/configure: Regenerate.
15181 2001-11-21 Michael Snyder <msnyder@redhat.com>
15183 * gdb.asm/m32r.inc: New file.
15184 * gdb.asm/asm-source.exp: Recognize m32r target.
15185 * gdb.asm/configure.in: Recognize m32r target.
15186 * gdb.asm/configure: Regenerate.
15188 2001-11-20 Michael Snyder <msnyder@redhat.com>
15190 * gdb.asm/i386.inc: New file.
15191 * gdb.asm/asm-source.exp: Recognize ix86 target.
15192 * gdb.asm/configure.in: Recognize ix86 target.
15193 * gdb.asm/configure: Regenerate.
15195 * gdb.c++/namespace.exp: Fix quotes in output messages.
15197 2001-11-14 Michael Snyder <msnyder@redhat.com>
15199 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15200 qualifier in a type cast expression, to designate an address
15201 in the instruction space (Harvard architecture).
15203 2001-11-13 Michael Snyder <msnyder@redhat.com>
15205 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15206 Tests for expressions using 'const' and 'volatile'.
15208 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15210 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15212 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15214 * lib/mi-support.exp (mi_run_to_helper): Move comments
15215 outside of gdb_expect.
15217 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15219 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15220 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15221 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15222 mi0_run_to): New functions.
15223 * gdb.mi/mi-simplerun.exp: Use them.
15224 * gdb.mi/mi0-simplerun.exp: Likewise.
15225 * gdb.mi/mi-var-cmd.exp: Likewise.
15226 * gdb.mi/mi0-var-cmd.exp: Likewise.
15228 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15230 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15231 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15233 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15235 * gdb.base/restore.exp: Include $expected value in restored test
15238 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15240 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15243 2001-11-08 Michael Snyder <msnyder@redhat.com>
15245 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15246 Add pass/fail message for stop at breakpoint in call dummy function.
15248 2001-11-07 Michael Snyder <msnyder@redhat.com>
15250 * gdb.c++/templates.exp (test_template_breakpoints):
15251 If we get an overload menu, but it does not match what
15252 we expect, we still need to issue the "cancel" command.
15253 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15254 making the whitespace optional. Argument for "new" may be
15255 "unsigned" as well as "unsigned int/long".
15256 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15257 making the whitespace optional. Also replace "(void) with
15258 "((void|)), making the keyword "void" optional.
15259 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15260 making the whitespace optional. Also replace "(void) with
15261 "((void|)), making the keyword "void" optional.
15262 * gdb.base/callfuncs.c (t_float_values): This function must
15263 _not_ be prototyped, and the following function (t_float_values2)
15264 must be prototyped (if the compiler supports it), so that GDB
15265 can be tested against both cases. Usually one case involves
15266 promotion of float to double, while the other does not.
15267 * gdb.base/callfwmall.c: Ditto.
15268 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15269 includes a stack frame for "start".
15271 2001-11-05 Jim Blandy <jimb@redhat.com>
15273 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15274 pointers are 32 bits long, and that offsets of relocs are always
15275 stored in the data (REL-style), and not in the reloc entry itself
15277 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15280 2001-11-01 Michael Snyder <msnyder@redhat.com>
15282 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15283 and regular expression operators by using quoting.
15285 2001-10-31 Michael Snyder <msnyder@redhat.com>
15287 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15288 depending on what the symbol table contains.
15289 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15290 the output of the ptype command. Similarly, accept both "const &"
15293 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15295 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15296 symbol `STORAGE' to allow to choose the storage class of
15297 the local datastructures.
15298 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15299 compiler directive.
15301 2001-10-30 Michael Snyder <msnyder@redhat.com>
15303 * gdb.base/jump.exp: Allow it to run for all targets.
15305 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15307 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15308 with new double_array size.
15309 (main): Change storage class of all local variables to static.
15310 Reduce size of double_array to 9.
15311 * gdb.base/call-ar-st.exp: Increase timeout value.
15312 Change expected output for double array to match new size in
15315 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15317 * gdb.base/ending-run.exp: Create identical output when passing
15318 `step to end of run' case. Add regular expression branch satisfying
15321 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15323 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15324 that we catch the expected failure under Linux/x86.
15326 2001-10-29 Orjan Friberg <orjanf@axis.com>
15328 * gdb.base/setvar.exp: Escape curly braces.
15329 * gdb.stabs/weird.exp: Ditto.
15331 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15333 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15334 * gdm.mi/mi0-hack-cli.exp: Likewise.
15336 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15338 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15341 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15343 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15344 checking MI enabled.
15346 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15348 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15350 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15352 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15353 if gdb child process crashes, just signal an error.
15355 2001-10-02 Jim Blandy <jimb@redhat.com>
15357 * lib/gdb.exp (test_xfail_format): Simplify.
15359 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15360 front of the variable name `format'. Simplify `if'.
15362 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15364 * gdb.threads/pthreads.exp: Wait for output and delay
15367 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15369 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15370 some incorrect output instead of timing out.
15371 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15373 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15375 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15376 check to allow additional `int'.
15378 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15380 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15381 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15383 2001-09-27 Michael Snyder <msnyder@redhat.com>
15385 * lib/gdb.exp (test_debug_format): New proc.
15386 (setup_xfail_format): Use new proc test_debug_format.
15387 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15388 proc; use new service proc test_debug_format.
15389 Replace all other "gcc_compiled" tests with this test.
15390 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15391 proc; use new service proc test_debug_format.
15392 Replace all other "gcc_compiled" tests with this test.
15394 2001-09-27 Michael Snyder <msnyder@redhat.com>
15396 * gdb.base/cvexpr.exp: New file.
15397 * gdb.base/cvexpr.c: New file
15398 Test for expressions using const and volatile keywords.
15400 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15402 * gdb.base/constvars.exp: Check for different orders of keywords
15403 and additional "int" strings in output.
15405 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15407 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15408 responses from "help maint".
15410 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15412 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15413 to localhost:NNN instead of :NNN, in case Xvfb is listening
15416 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15418 * gdb.base/recurse.exp: When checking leaving the watchpoint
15419 scope, recognize when gdb is in function's epilogue and pass.
15421 2001-09-18 Keith Seitz <keiths@redhat.com>
15423 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15424 support for running tests against sid targets.
15425 (gdbtk_done): Ditto.
15427 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15429 * gdb.base/ending-run.c (main): Set stdout buffersize
15430 to the same reasonable value for any target.
15431 * gdb.base/ending-run.exp: Add a regular expression
15432 to make testsuite happy on Sanyo Stormy16 target.
15434 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15436 * gdb.base/display.c (do_loops): Add float variable `f'.
15437 Increment f in loop.
15438 * gdb.base/display.exp: Increment timeout by 60 seconds.
15439 Change float display test to use variable `f'.
15441 2001-09-17 Jim Blandy <jimb@redhat.com>
15443 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15444 overflowing the limited breakpoint tables on some ROM monitors
15447 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15449 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15450 the "-ac" (disable access control) flag.
15452 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15454 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15457 2001-08-30 Keith Seitz <keiths@redhat.com>
15459 * lib/gdb.exp: Move all insight-related functionality into
15461 * lib/insight-support.exp: New file.
15463 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15465 * config/sid.exp (sid_start): Never set sid verbosity; disable
15466 expect_background {} that consumed its stdout; tolerate </dev/null.
15467 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15469 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15471 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15472 CLI jump command to start it.
15473 (mi_run_to_main): Fail immediatly when unexpected output.
15475 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15477 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15478 beginning of function. Fix PR gdb/191.
15480 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15482 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15483 what to force sid endianness to.
15485 2001-08-15 Keith Seitz <keiths@redhat.com>
15487 * lib/gdb.exp (gdbtk_start): Don't set environment
15488 variables for TCL_LIBRARY and friends. Insight will
15489 now figure these out for itself.
15491 2001-08-02 Michael Snyder <msnyder@redhat.com>
15493 * gdb.base/completion.exp: Remove the symbol "a64l" from
15494 the expect string; this is target-specific, and not related
15495 to what is being tested.
15497 2001-08-02 Dave Brolley <brolley@redhat.com>
15499 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15501 2001-07-25 Michael Snyder <msnyder@redhat.com>
15503 * gdb.base/consecutive.exp: New file. Test stepping over
15504 breakpoints on consecutive instructions.
15505 * gdb.base/consecutive.c: New file.
15507 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15508 curly braces in regular expressions.
15510 2001-07-25 Michael Snyder <msnyder@redhat.com>
15512 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15513 legitimate output from stepping out of main.
15515 2001-07-22 Keith Seitz <keiths@redhat.com>
15517 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15518 the empty string, do not run the tests.
15520 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15522 * gdb.base/long_long.exp: Detect size of pointer. Take into
15523 account 2-byte pointers when testing for p/a results.
15525 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15527 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15528 and defined to 1K for m68hc11.
15529 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15530 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15531 (sizeof_random_data): New variable to tell the size of the data table;
15532 don't test past this size; always run to main.
15534 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15536 * gdb.base/return2.exp: return of long long and double fails for
15537 68HC11; don't execute these tests on that platform.
15538 * gdb.base/return.exp: Return of a double fails for 68hc11.
15540 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15542 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15543 tests that print a float.
15544 * call-rt-st.exp: Likewise.
15546 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15548 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15549 running this test on Linux.
15551 2001-06-24 Michael Chastain <chastain@redhat.com>
15553 * gdb.base/arithmet.exp: Remove some tests to make all test names
15556 2001-07-03 Michael Snyder <msnyder@redhat.com>
15558 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15559 the output of the ptype command.
15561 2001-07-02 Michael Snyder <msnyder@redhat.com>
15563 * gdb.base/completion.exp: Don't assume that break.c is the only
15564 source file that may contain functions named "marker".
15565 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15567 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15569 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15570 of files to delete.
15572 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15573 * gdb.disasm/h8300s.exp: New file.
15574 gdb.disasm/h8300s.s: Likewise.
15576 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15578 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15579 empty breakpoint tables.
15581 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15583 * lib/mi-support.exp: Update args=... part of stop-reason
15584 patterns. Accept either a list or a tuple.
15586 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15588 * lib/mi-support.exp: Remove local emacs variable defining
15589 change-log-default-name.
15591 2001-06-22 Michael Chastain <chastain@redhat.com>
15593 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15594 This is operationally compatible with the previous version.
15596 2001-06-13 Jim Blandy <jimb@redhat.com>
15598 * lib/gdb.exp (gdb_test): Doc fix.
15600 2001-06-10 Michael Chastain <chastain@redhat.com>
15602 * gdb.base/exprs.exp: Remove a duplicate test.
15604 2001-06-06 Jim Blandy <jimb@redhat.com>
15606 * gdb.base/return2.exp (main): Use values to test float and double
15607 returns that are not NaN's, to avoid being confused by IEEE
15610 2001-06-04 Michael Snyder <msnyder@redhat.com>
15612 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15613 non-zero if control_c fails. Terminate the test on failure,
15614 rather than wait for 12 more tests to time out.
15616 2001-06-06 Jim Blandy <jimb@redhat.com>
15618 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15619 Don't forget to match the GDB prompt.
15621 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15623 2001-06-04 Jim Blandy <jimb@redhat.com>
15625 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15628 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15630 * gdb.base/annota1.exp (info break): Match four or more spaces
15633 2001-05-31 Michael Chastain <chastain@redhat.com>
15635 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15636 (dm_type_int_star): Likewise.
15637 (dm_type_long_star): Likewise.
15638 (dm_type_void_star): Likewise.
15640 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15642 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15643 to a known value in order to get consistent results regardless
15644 of the setting of INPUTRC or the presence or contents of .inputrc.
15646 2001-05-24 Michael Snyder <msnyder@redhat.com>
15648 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15649 Don't require that the main thread and the manager thread are the
15652 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15653 debugging. If test fails, issue an "unsupported" not a "fail".
15655 2001-05-24 Jim Blandy <jimb@redhat.com>
15657 Don't assume that short is shorter than int.
15658 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15659 assume that shorts are smaller than ints. On a 16-bit machine,
15661 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15662 an int, is not equal to ~0 stored in an unsigned char. This tests
15663 the same thing that the previous test meant to, but works on
15664 16-bit machines, too.
15665 ("print unsigned char != (~0)"): Same test, complemented.
15667 2001-05-24 Michael Snyder <msnyder@redhat.com>
15669 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15670 test for (full_coverage == 0). This makes the test run faster,
15671 and prevents dejagnu getting out of step.
15673 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15675 * gdb.base/finish.exp (finish_void): Revise pattern for
15676 stopping on the call statement to not permit stopping at
15677 the start of the instructions comprising the call sequence.
15679 2001-05-19 Michael Chastain <chastain@redhat.com>
15681 * gdb.base/callfuncs.exp: Make all test names unique.
15682 * gdb.base/commands.exp: Make all test names unique.
15683 * gdb.base/condbreak.exp: Make all test names unique.
15684 * gdb.base/dbx.exp: Make all test names unique.
15685 * gdb.base/default.exp: Make all test names unique.
15686 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15687 and TIMEOUT messages to their corresponding PASS message.
15688 * gdb.base/ending-run.exp: Make all test names unique.
15689 * gdb.base/long_long.exp: Remove duplicate test.
15691 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15693 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15694 stop on the call statement as well as the statement after the
15697 2001-05-21 Michael Snyder <msnyder@redhat.com>
15699 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15701 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15703 * gdb.base/completion.exp: Revamp test. Make it execute on all
15706 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15708 * config/gdbserver.exp (gdb_load): Handle the case
15709 in which the arguments to gdbserver are given in the
15710 baseboard configuration file.
15711 Also handle the case in which the server needs to do a
15714 2001-05-07 Keith Seitz <keiths@cygnus.com>
15716 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15717 set up the display for testing.
15718 (gdbtk_start): Convert all paths to paths that tcl will like.
15719 Export target information to environment.
15720 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15722 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15723 (to_tcl_path): New proc to convert a given pathname into
15724 a path acceptible as an argument to a tcl command.
15725 (_gdbtk_export_target_info): New proc to export target info
15726 into the environment for gdbtk testing.
15727 (gdbtk_done): New proc to signal end-of-test.
15729 2001-05-06 Jim Blandy <jimb@redhat.com>
15731 * restore.c: Make the code of caller0 correspond to its comment.
15733 2001-05-03 Michael Snyder <msnyder@redhat.com>
15735 * config/sid.exp (gdb_target_sid): Check for error messages.
15736 On error or timeout, don't make expect exit (which will terminate
15737 all subsequent tests); instead just make gdb exit.
15738 (gdb_load): Check for error messages. On error or timeout,
15739 return a negative value.
15741 2001-04-24 Jim Blandy <jimb@redhat.com>
15743 * gdb.c++/templates.exp: If we see the prompt for the overload
15744 list, but we haven't recognized any of the longer patterns,
15745 arrange for this test to fail, not hang.
15747 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15750 2001-04-22 Michael Chastain <chastain@redhat.com>
15752 * gdb.c++/local.exp: Use the 'runto' library function.
15753 * gdb.c++/namespace.exp: Likewise.
15754 * gdb.c++/overload.exp: Likewise.
15756 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15758 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15759 * gdb.base/step-line.exp: New file. Test step/next in presence of
15761 * gdb.base/step-line.c: New file. Test program for the above.
15762 * gdb.base/step-line.inp: New file. We pretend that this file has
15763 been transformed by some other tool into step-line.c.
15765 2001-03-21 Jim Blandy <jimb@redhat.com>
15767 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15768 unmangled operator names.
15770 2001-03-20 Jim Blandy <jimb@redhat.com>
15772 * gdb.threads/linux-dp.exp: Recognize an additional message
15773 generated by GDB when it doesn't understand how to debug threads
15774 on the target system.
15776 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15778 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15780 2001-03-12 Michael Chastain <chastain@redhat.com>
15782 * gdb.c++/derivation.exp: Use the 'runto' library function.
15784 2001-03-12 Michael Chastain <chastain@redhat.com>
15786 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15788 2001-02-24 Michael Chastain <chastain@redhat.com>
15790 * gdb.c++/ref-types.exp: Change handwritten code to library
15793 2001-03-16 Orjan Friberg <orjanf@axis.com>
15795 * gdb.base/signals.exp: Set count to 0 explicitly.
15797 2001-03-15 Mark Salter <msalter@redhat.com>
15799 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15800 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15801 (gdb_load): Add support for additional target_info: gdb_download_size
15802 and gdb_load_timeout.
15804 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15806 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15807 file -- to prevent failing when the compile fails but we have no
15808 intention of running the tests anyway.
15810 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15813 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15816 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15817 * gdb.c++/namespace.exp: Ditto.
15819 2001-03-07 Orjan Friberg <orjanf@axis.com>
15821 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15822 * gdb.base/pointers.exp: Relax pattern match of decimals.
15824 2001-03-06 Kevin Buettner <kevinb@redhat.com>
15826 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15827 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15828 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15829 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15830 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15831 config/sh.exp, config/sid.exp, config/slite.exp,
15832 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15833 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15834 config/vxworks.exp, config/vxworks29k.exp,
15835 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15836 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15837 gdb.base/arithmet.exp, gdb.base/assign.exp,
15838 gdb.base/async.exp, gdb.base/attach.exp,
15839 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15840 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15841 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15842 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15843 gdb.base/commands.exp, gdb.base/completion.exp,
15844 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15845 gdb.base/constvars.exp, gdb.base/corefile.exp,
15846 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15847 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15848 gdb.base/ending-run.exp, gdb.base/environ.exp,
15849 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15850 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15851 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15852 gdb.base/funcargs.exp, gdb.base/help.exp,
15853 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15854 gdb.base/logical.exp, gdb.base/long_long.exp,
15855 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15856 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15857 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15858 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15859 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15860 gdb.base/regs.exp, gdb.base/relational.exp,
15861 gdb.base/remote.exp, gdb.base/reread.exp,
15862 gdb.base/restore.exp, gdb.base/return2.exp,
15863 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15864 gdb.base/selftest.exp, gdb.base/setshow.exp,
15865 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15866 gdb.base/sigall.exp, gdb.base/signals.exp,
15867 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15868 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15869 gdb.base/step-test.exp, gdb.base/structs.c,
15870 gdb.base/structs.exp, gdb.base/structs2.exp,
15871 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15872 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15873 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15874 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15875 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15876 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15877 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15878 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15879 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15880 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15881 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15882 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15883 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15884 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15885 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15886 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15887 gdb.trace/circ.exp, gdb.trace/collection.exp,
15888 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15889 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15890 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15891 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15892 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15893 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15894 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15897 2001-02-27 Michael Snyder <msnyder@cygnus.com>
15899 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15900 first arg is int not float.
15902 2001-02-22 Michael Snyder <msnyder@cygnus.com>
15904 * gdb.base/reread.exp: Unsupported for non-native targets;
15905 doesn't work for remote debugging.
15907 2001-02-19 Fernando Nasser <fnasser@redhat.com>
15909 From Drew Moseley <dmoseley@redhat.com>
15910 * gdb.base/ending-run.exp: Properly handle the BSP state when
15911 stepping past the end of main.
15913 2001-02-19 John Moore <jmoore@redhat.com>
15915 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15916 Converted HPUX fix for non-expected items following multiple
15917 step commands into general solution for all platforms.
15919 2001-02-18 Michael Chastain <chastain@redhat.com>
15921 * gdb.c++/classes.exp (do_tests): Change runto statements
15922 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15923 statements demangler agnostic.
15924 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15925 (gdb_virtfunc_restart): Likewise.
15927 2001-02-14 Michael Chastain <chastain@redhat.com>
15929 * gdb.c++/inherit.exp (do_tests): Change runto statements
15930 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15931 statements demangler agnostic.
15933 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15935 * gdb.threads/pthreads.exp: Unify pass/fail messages for
15936 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15937 before calling common_routine 15 times'' tests.
15939 2001-02-11 Michael Chastain <chastain@redhat.com>
15941 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15942 Helps the test script figure out which demangler is in use.
15943 (dm_type_foo_ref): Ditto.
15944 (dm_type_int_star): Ditto.
15945 (dm_type_long_star): Ditto.
15946 (dm_type_unsigned_int): Ditto.
15947 (dm_type_void): Ditto.
15948 (dm_type_void_star): Ditto.
15949 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
15950 Probe the gdb demangler and set variables to accommodate
15951 formatting differences.
15952 (info_func_regexp): New function. Same as info_func, but
15953 matches against a regexp.
15954 (info_func): Match against a literal string.
15955 (print_addr_2): New function. Match against a literal string,
15956 which can be different from the input to gdb.
15957 (print_addr): Simply call print_addr_2 with the same argument twice.
15958 (test_lookup_operator_functions): Use demangler formatting variables.
15959 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
15960 the tests in the same order as the C++ class declaration.
15961 (test_paddr_operator_functions): Ditto.
15962 (test_paddr_overloaded_functions): Ditto.
15963 (test_paddr_hairy_functions): Use demangler formatting variables.
15964 Add reference to gdb/19 for related tests.
15965 (do_tests): Call probe_demangler.
15967 2001-01-30 Kevin Buettner <kevinb@redhat.com>
15969 * gdb.c++/templates.cc (printf): Remove unused function definition.
15971 2001-01-26 Felix Lee <flee@redhat.com>
15973 * sid.exp (sid_exit): Pass host, not target, to remote_close.
15975 2001-01-25 matthew green <mrg@redhat.com>
15977 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
15979 (sid_exit): Call `remote_pop_conn' after GDB is gone.
15981 2001-01-25 matthew green <mrg@redhat.com>
15983 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
15984 Deprecate $sid_spawn_id.
15985 (sid_exit): Remove code necessary only for `spawn.'
15987 2001-01-25 matthew green <mrg@redhat.com>
15989 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15991 2001-01-28 Michael Chastain <chastain@redhat.com>
15993 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
15994 to call when tests fail. It takes gdb out of the overloaded
15995 function choice menu back to the main prompt, so that the test
15996 program stays synchronized.
15997 (set_bp_overloaded): New proc to collect all the common
15998 code for setting a breakpoint on an overloaded name. Calls
15999 take_gdb_out_of_choice_menu when needed.
16000 (menu_overload1arg): New variable to collect the repeated
16001 instances of the expected menu for an overloaded name. Change
16002 the regular expression to handle changes in g++ type encoding:
16003 "void" can be either "void" or "", and "unsigned int" can be
16004 either "unsigned int" or "unsigned".
16005 (continue_to_bp_overloaded): Change regular expressions to handle
16006 changes in g++ type encoding.
16007 (no proc): Call take_gdb_out_of_choice_menu when needed.
16008 Remove redundant calls to "info break". Accept either "canceled"
16009 or "cancelled". Change regular expressions in "info break"
16010 calls to handle changes in g++ type encoding. Give all tests
16013 2001-01-17 Ben Elliston <bje@redhat.com>
16015 * config/sid.exp: New file.
16017 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16019 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16021 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16023 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16024 Add a RE to accept a non-ascii char if one is ever presented.
16026 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16028 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16030 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16032 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16033 in regexp. One '\' does not suffice on Linux.
16035 2000-12-09 Michael Chastain <chastain@redhat.com>
16037 * gdb.base/break.exp (test_clear_command): Use a marker function
16038 rather than 'main' for the test function. Also move this
16039 test to an execution point where the marker function names are
16040 guaranteed to be bound to functions. (Executing tests after a
16041 'finish' from main runs into name conflicts with local names
16042 in __libc_start_main).
16044 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16046 * gdb.base/finish.exp: New test for gdb's "finish" command.
16047 * gdb.base/return2.exp: New test for gdb's "return" command.
16048 * gdb.base/return2.c: New source file for above.
16050 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16052 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16053 * gdb.base/miscexprs.exp: Ditto.
16054 * gdb.base/pointers.exp: Ditto.
16055 * gdb.c++/derivation.exp: Ditto.
16056 * gdb.c++/local.exp: Ditto.
16057 * gdb.c++/namespace.exp: Ditto.
16058 * gdb.c++/overload.exp: Ditto.
16059 * gdb.c++/ref-types.exp: Ditto.
16061 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16063 * gdb.base/constvars.exp: Test result of "up" command.
16064 * gdb.base/miscexprs.exp: Ditto.
16065 * gdb.base/pointers.exp: Ditto.
16066 * gdb.base/scope.exp: Ditto.
16067 * gdb.c++/derivation.exp: Ditto.
16068 * gdb.c++/local.exp: Ditto.
16069 * gdb.c++/namespace.exp: Ditto.
16070 * gdb.c++/overload.exp: Ditto.
16071 * gdb.c++/ref-types.exp: Ditto.
16073 2000-11-22 Michael Chastain <chastain@redhat.com>
16075 * mips_pro.exp: Accept either "middle -> top -> main" or
16076 "middle -> main" in the backtrace, because gcc can optimize
16077 tail calls to jumps. Remove setup_xfail for the hppa case.
16078 Add a comment with the original warning messages from PR 3016,
16079 which was filed in 1993, to preserve them for posterity.
16081 2000-11-17 Nick Duffek <nsd@redhat.com>
16083 * lib/gdb.exp (gdb_test): Override timeout with board info.
16085 2000-11-17 Nick Duffek <nsd@redhat.com>
16087 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16088 the second kill and detach messages.
16090 2000-11-17 Nick Duffek <nsd@redhat.com>
16092 * configure.in: Add AC_EXEEXT.
16093 * configure: Regenerate.
16094 * Makefile.in (just-check): Export EXEEXT.
16095 * lib/gdb.exp ($EXEEXT): Import from environment.
16096 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16097 expect "maint dump-me" on Cygwin.
16098 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16101 2000-11-17 Nick Duffek <nsd@redhat.com>
16103 * gdb.base/break.exp: Test backtrace and finish from called
16104 function on all platforms, not just HP-UX.
16106 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16108 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16109 code from gdb_target_monitor, so it can be used independantly
16110 for gdbserver. Also comment out an unnecessary PUTS.
16112 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16114 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16115 * gdb.base/corefile.exp: Expect the message "Program is being
16116 debugged already" when we send the "corefile" command, since
16117 the preceeding gdb_load may have connected gdb to a remote target.
16118 * gdb.base/display.exp: Disable hardware watchpoints if new
16119 board info variable "no_hardware_watchpoints" is true.
16120 Replace single-letter commands with more readable ones.
16121 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16122 if new board info variable "no_hardware_watchpoints" is true.
16123 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16124 to see if stdio (printf) testing is possible.
16125 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16126 board info variable "no_hardware_watchpoints" is true. Use new
16127 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16129 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16131 From Orjan Friberg <orjanf@axis.com>:
16132 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16133 in array print pattern match.
16135 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16137 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16138 spelling "cancelled" to U.S. spelling "canceled" to match changes
16140 * gdb.c++/ovldbreak.exp: Ditto.
16142 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16144 * gdb.base/callfuncs.c (main): Moved to end of file, call
16145 t_double_values to initialize the FPU before inferior calls are made.
16146 * gdb.base/callfuncs.exp: Test for register preservation after calling
16147 inferior functions. Add tests for continuining, finishing and
16148 returning from a stop in a call dummy.
16150 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16152 * gdb.base/commands.exp: Break up long lines, and re-indent.
16154 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16156 * config/gdbserver.exp: Rewritten from the ground up, to make it
16157 compatible with the current dejagnu tree, and to make it work with
16158 the new "gdbserver" in libremote.
16160 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16162 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16163 * gdb.base/varargs.exp: Skip entire test if no printf support.
16164 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16165 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16167 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16169 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16170 no floating point support.
16171 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16172 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16173 * gdb.base/call-rt-st.exp: Ditto.
16174 * gdb.base/call-strs.exp: Ditto.
16176 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16178 * gdb.base/sizeof.c: include <stdio.h>.
16180 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16181 'finish', otherwise uncaptured gdb_prompt would potentially
16182 throw remaining test points out of sync.
16184 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16186 * gdb.base/recurse.exp: Run tests for all targets.
16187 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16188 gnu-oldld case on ARM.
16189 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16192 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16194 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16195 * gdb.java/configure: Rebuild.
16197 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16199 * gdb.java/jv-exp.exp: New file.
16201 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16203 * configure: Rebuilt.
16204 * configure.in (configdirs): Add gdb.java.
16205 * gdb.java/jmisc.java: New file.
16206 * gdb.java/jmisc.exp: New file.
16207 * gdb.java/Makefile.in: New file.
16208 * gdb.java/configure: Rebuilt.
16209 * gdb.java/configure.in: New file.
16210 * lib/java.exp: New file.
16212 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16214 * gdb.base/exprs.exp: Test casts to a pointer including over and
16217 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16219 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16220 and the compilers sizes.
16222 2000-07-09 Nick Duffek <nsd@redhat.com>
16224 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16225 (use_methods): New function.
16226 (main): Call use_methods().
16227 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16228 (do_tests): Call test_method_param_class.
16230 2000-07-09 Nick Duffek <nsd@redhat.com>
16232 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16234 (test_enums): New procedure. Move enum tests from end of script
16235 to here. Set breakpoint on function name instead of line number.
16236 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16237 (enums2): New marker function.
16238 (enums1): New function.
16239 (main): Call enums1(). Move enum tests to enums1().
16241 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16243 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16244 compile/link program. Update line numbers.
16245 * gdb.asm/d10v.inc: Define ``startup''.
16246 * gdb.asm/asmsrc1.s: Add definition of _start.
16248 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16250 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16252 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16254 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16255 of 'help maint print' command.
16257 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16259 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16260 they use gdb_expect_list.
16262 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16264 * gdb.base/commands.exp: Use ``set remote
16265 memory-read-packet-size'' instead of ``set endian big'' to test
16268 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16270 * gdb.c++/templates.exp (do_tests): Make all of these work under
16271 g++, and stop skipping them.
16273 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16276 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16279 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16281 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16282 the regular expression: accept an (almost) arbitrary sequence of
16283 "frames-invalid" and "breakpoints-invalid" messages both before
16284 and after the "starting" message.
16286 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16288 * gdb.c++/local.exp: This test has never been known to work with g++.
16290 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16292 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16293 Relax the regular expression a little, make it pass on Solaris 8.
16295 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16297 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16298 a call, do not require that gdb stop on the line after the call.
16299 Instead, it is permissible for gdb to stop on the line of the
16302 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16304 * gdb.base/break.exp (bp on small function, optimized file):
16305 Add a second pass pattern. The behavior differs here between stabs
16306 and dwarf for one-line functions. Stabs preserves two line symbols
16307 (one before the prologue and one after) with the same line number,
16308 but dwarf regards these as duplicates and discards one of them.
16309 Therefore the address after the prologue (where the breakpoint is)
16310 has no exactly matching line symbol, and GDB reports the breakpoint
16311 as if it were in the middle of a line rather than at the beginning.
16313 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16315 * gdb.base/interrupt.exp: Make "pass" message say "send"
16316 rather than "send_gdb" (for consistancy).
16318 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16320 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16321 * gdb.c++/templates.cc: Properly check for GCC version number.
16322 * lib/compiler.cc: Likewise
16324 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16326 * gdb.base/break.exp: When compiled with -O2 optimization,
16327 gdb may not stop at the first line of main, due to code motion.
16329 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16331 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16332 This test depends on parsing the printf output from the target.
16333 Since the sparclet stub doesn't do stdio, this will never work.
16334 * gdb.base/call-rt-st.exp: ditto.
16335 * gdb.base/call-strs: ditto.
16337 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16339 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16341 * gdb.base/ending-run.exp: After connecting to a remote target,
16342 but before running, the target will appear to be in a random
16343 location. Specify both a file and a line for breakpoints.
16344 Also, the function that calls main may be called 'init'
16345 rather than 'start'.
16347 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16349 * gdb.base/help.exp: Update output for add-symbol-file command.
16351 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16353 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16354 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16356 2000-04-07 J.T. Conklin <jtc@redback.com>
16358 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16360 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16362 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16364 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16365 values that can be represented exactly.
16366 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16367 above change, and to not check against the directory part of the source
16369 (step into print_long_arg_list): Likewise.
16370 (print print_small_structs from print_long_arg_list): Likewise.
16371 (print print_long_arg_list): Likewise.
16373 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16375 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16377 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16379 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16381 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16383 * gdb.base/commands.exp (deprecated_command_test): Add test for
16384 deprecate with no arguments.
16386 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16388 * gdb.base/break.exp: Add new test for setting breakpoints on
16389 optimized code so we can test breakpoints work even when function
16390 prologues may be optimized away
16392 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16394 From David Whedon <dwhedon@gordian.com>
16395 * gdb.base/commands.exp : Added command deprecator tests.
16397 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16399 * gdb.base/help.exp: Added test for new apropos command.
16401 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16403 * gdb.base/pointers.c (usevar): New function.
16404 (main): Make sure that global variables v_int_pointer2, rptr,
16405 and y are all referenced someplace in the program by calling
16406 usevar() on them. [Some linkers delete symbols which are
16407 never referenced. The space remains, but there's no way to
16408 get a (symbolic) handle on the variable from the debugger.]
16410 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16412 * gdb.base/printcmds.c: Add typedeffed arrays.
16414 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16415 procedure to test arrays that are typedef'd.
16417 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16419 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16420 the library directories.
16422 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16424 * configure.in (configdirs): Add sub directory gdb.mi.
16425 * configure: Re-generate.
16427 * gdb.mi: New directory.
16429 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16431 * gdb.base/long_long.exp: Correct test suite failure when printing
16432 a long long value as a double on ARM platforms.
16434 2000-02-16 Jim Blandy <jimb@redhat.com>
16436 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16437 default source file is set properly before running this test.
16439 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16441 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16442 gdbtk/library directory, not in gdbtcl2.
16444 2000-02-04 Jim Blandy <jimb@redhat.com>
16446 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16447 backslash from regexp pattern.
16449 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16450 procedure. Use it to run all the "continue to bp overloaded"
16451 tests. Note that this changes the names of the tests slightly.
16452 If the breakpoint hit message includes a hex PC value, because
16453 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16454 from the real source code, still consider that a pass.
16456 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16457 XFAIL here if the breakpoint message contains a hex address. Note
16458 similar change on 1999-11-02.
16460 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16462 * gdb.base/ptype.exp: Establish a default source file before
16463 calling get_debug_format.
16465 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16467 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16469 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16471 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16472 of successive stepi commands -- while in the prologue we should see
16473 the function entry bracket.
16475 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16477 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16478 reach __change_mode() when stepping through the end of main().
16480 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16482 * gdb.base/default.exp: Fix expected pattern.
16483 * gdb.base/help.exp: Same.
16485 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16487 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16488 Don't use xfail's because that affects only the following test.
16490 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16493 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16495 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16497 * gdb.base/display.exp: Some yacc parsers like to say
16498 "A syntax error" rather than "A parse error". Accept both.
16500 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16502 * gdb.base/default.exp: Remove OS dependent string from "target
16504 * gdb.base/help.exp: Same for "help target remote" test.
16506 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16508 From Jim Kingdon <kingdon@redhat.com>:
16510 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16511 prompt (cleanup rather than necessity, but still might keep output
16512 from spilling to next test).
16514 2000-01-02 Fred Fish <fnf@cygnus.com>
16516 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16517 AIX, which defines them in <sys/types.h>.
16519 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16521 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16524 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16526 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16528 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16529 outermost frame disallowed".
16531 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16533 * gdb.base/setvar.exp: New tests for setting the value of a struct
16534 with a constant list.
16536 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16538 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16539 require the user to type a cast before setting the value of a struct.
16541 1999-12-06 Jim Blandy <jimb@cygnus.com>
16543 * gdb.base/default.exp: Expect the new 'info float' command on
16544 all i386 platforms.
16546 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16547 LinuxThreads libraries that don't support debugging.
16549 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16551 * gdb.base/remote.c: Fill the buffer with truely random data.
16552 Change the buffer type to ``unsigned char'' to simplify size
16555 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16556 stub only handles 400-1 byte packets. Verify that the download
16559 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16561 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16562 tests, using UNRESOLVED for the untested cases. Also, does not wait
16563 for a timeout if the prompt was received before a recognizable pattern.
16565 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16567 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16569 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16571 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16574 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16576 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16578 * gdb.c++/local.exp: Be more flexible in recognizing local class
16579 name mangling. Don't allow horribly truncated method names.
16580 * gdb.c++/derivation.exp: Expect protected inheritance.
16581 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16582 * gdb.c++/virtfunc.exp: Likewise.
16583 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16584 when printing a nested enum.
16586 1999-11-22 Jim Blandy <jimb@cygnus.com>
16588 * gdb.base/step-test.exp: Properly await GDB's response to setting
16589 a breakpoint on the call to large_struct_by_value.
16591 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16592 just because we have debug info for the `start' function.
16594 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16596 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16597 "Unknown signal" messages, which indicate (on LinuxThreads) that
16598 GDB doesn't know how to debug threads on this system. This is
16599 better than hanging while philosopher 0 dumps chatter into gdb.log.
16601 1999-11-18 Tom Tromey <tromey@cygnus.com>
16603 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16605 1999-11-18 Fred Fish <fnf@cygnus.com>
16607 * gdb.base/coremaker2.c: Add sample program for generating
16608 cores that is more self contained than coremaker.c. Eventually
16609 I'll add more code to this and tie it into the testsuite.
16611 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16613 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16615 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16617 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16619 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16622 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16624 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16625 'continue with watch' test point.
16627 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16629 Merged from p2linux-990323-branch:
16631 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16633 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16635 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16636 {limit,fixed}''. Test ``set download-write-size''.
16638 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16640 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16643 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16645 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16647 1999-11-03 Mark Salter <msalter@cygnus.com>
16649 * gdb.base/break.exp: Fix "stub continue" pattern.
16651 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16653 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16655 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16657 * gdb.base/display.exp ("finish"): Add timeout clause.
16659 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16660 plain prompt clause, so this doesn't have to time out in order to
16663 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16664 breakpoint hit messages include an address.
16666 * gdb.base/display.exp: Don't forget to escape parens in regular
16667 expressions. Unix regexp notatation sucks.
16669 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16671 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16672 order for 'signalled' message.
16674 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16676 From Jimmy Guo <guo@cup.hp.com>:
16677 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16678 * gdb.base/annota1.c: Add code for tests to work with.
16680 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16682 * gdb.base/remote.exp: New test for remote downloading settings.
16683 * gdb.base/remote.c: New file with large .data.
16685 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16687 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16688 for LinuxThreads support, merged from the Code Fusion branch.
16690 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16692 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16693 containing exp_continue into a while within an expect. Don't
16694 attempt a start more than three times. Check return value from
16697 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16699 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16702 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16704 * gdb.base/break.c (main): Added a statement that we can step
16706 * gdb.base/break.exp: Added tests for setting a breakpoint
16707 at an offset and stepping onto a breakpoint.
16709 1999-10-01 Fred Fish <fnf@cygnus.com>
16711 * gdb.base/help.exp (help add-symbol-file): Update to match current
16714 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16716 * gdb.base/break.exp: Code locations are in hex, don't forget!
16719 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16721 * condbreak.exp: Use break.c as test program.
16722 * condbreak.c: Remove, redundant with break.c.
16724 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16726 * config/monitor.exp (gdb_target_monitor): Disable X- and
16727 Z-packets if the target needs it.
16729 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16731 * gdb.c++/overload.exp: Added tests for listing overloaded
16732 functions with function pointers in the arg, explicitly calling
16733 out the version you want.
16735 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16737 * long_long.exp: Add variations of test cases that work for
16738 targets with 16-bit ints and 32-bit doubles.
16740 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16742 * break.c (main): Compare a possibly-uninitialized argc with an
16743 unlikely value that fits in 16 bits.
16745 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16747 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16748 0xfeeb, don't want negative numbers if ints are 16 bits.
16750 * lib/gdb.exp (skip_cplus_tests): New proc.
16751 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16752 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16753 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16754 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16755 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16756 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16757 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16758 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16760 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16762 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16764 * gdb.base/corefile.exp (up): Allow a parameter to appear
16765 in the frame that we're going up to.
16767 From Jim Blandy <jimb@cygnus.com>:
16769 * gdb.base/default.exp (info float): Expect some output now.
16771 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16772 returning floating-point values to fail on the x86.
16773 * gdb.base/callfwmall.exp (do_function_calls): Same.
16775 * gdb.base/list.exp (test_listsize): Correct expectations for
16776 listing line 1 with listsize 2. Also, listing a single line
16777 works now, as does listing three lines. [Kevin's note: There
16778 were a number of other cases fixed too where the expectations
16781 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16783 * gdb.base/selftest.exp: Add case for when version prints as
16784 constant string instead of char pointer.
16786 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16788 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16789 stepping out of main.
16791 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16794 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16795 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16797 * gdb.c++/ovldbreak.exp: Update match string in test that
16798 includes a warning of multiple breakpoints.
16800 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16802 * gdb.base/display.exp: Improve precision of step-after-finish
16805 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16808 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16809 configs when using G++, not just hppa*.
16811 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16813 * gdb.base/async.c: New file.
16814 * gdb.base/async.exp: New file.
16816 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16818 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16821 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16823 * gdb.base/display.exp: "finish" can leave us mid-line on many
16824 targets, deal with it. Add a small constant to main, instead of
16825 1000 since main+1000 may not be a valid address in the target.
16827 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16830 * gdb.base/attach.exp: Handle another hpux11 error message variant
16831 when attaching to a process that does not exist.
16833 1999-08-19 J.T. Conklin <jtc@redback.com>
16835 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16836 characters in 'continue to 1241' test.
16838 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16840 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16841 stop in print_long_arg_list, define and use a whitespace
16842 variable in print_small_structs test, add an XFAIL for Solaris.
16843 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16844 interested enough to fix.
16846 1999-08-13 Keith Seitz <keiths@cygnus.com>
16848 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16849 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16850 proc knows about targets other than the natives.
16851 (test_assign): Use "gdb_run_cmd" to "run" the target.
16852 Check that we've actually hit the breakpoint at main.
16853 When we attempt to assign a value to a local variable, check
16854 that the variable is in the current scope, i.e., don't use
16855 a test with an empty result.
16857 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16859 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16862 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16864 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16865 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16866 gdb.compat, gdb.threads-hp.
16867 gdb.hp/configure, gdb.hp/configure.in: New files.
16868 gdb.hp/Makefile.in: Recurse into new subdirs.
16869 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16870 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16872 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16874 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16876 * gdb.base/display.exp: Help expect by putting a newline in the
16877 funky printf, remove a bogus p/a test.
16879 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16881 * gdb.base/display.exp: Make sure that when we say 'run', we are
16882 connected to the target. This is necessary when running not
16885 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16887 * gdb.base/step-test.exp: Removed some extraneous messages.
16889 * gdb.base/long_long.exp: Don't run memory examination tests
16890 on little-endian targets (they will need a different set of
16893 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16895 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16896 until somebody decides to fix GDB.
16898 * gdb.base/long_long.c: Stop compiler complaint by specifying long
16900 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16901 matches for a couple x/2 commands.
16903 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16905 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16906 by merging in ref-types2 tests.
16907 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16909 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16910 * gdb.c++/Makefile.in: Add standard actions.
16911 (EXECUTABLES): Rename from PROGS, update list.
16912 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16914 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16915 foo and bar locals.
16916 * gdb.c++/anon-union.exp: Fix tests to match.
16917 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16918 expect matches to handle output variations.
16919 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16920 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
16921 output, add HP alternatives for new and delete prints.
16922 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
16923 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
16924 * gdb.c++/demangle.exp: Use $style when reporting failure.
16925 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16926 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16927 match alternatives.
16928 * gdb.c++/local.exp: Add match alternatives or xfails for HP
16930 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16931 * gdb.c++/method.exp: Add match alternatives.
16932 * gdb.c++/misc.cc: Add bool types.
16933 * gdb.c++/misc.exp: Add tests for bool types.
16934 * gdb.c++/overload.exp: Add xfails.
16935 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16936 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16937 add some more template parameter tests (only for HP currently).
16938 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16939 * gdb.c++/virtfunc.cc: Add return type and value for main.
16940 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16941 match alternatives.
16943 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16945 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16947 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16949 * gdb.base/signals.exp: Don't expect getting a backtrace from
16950 within a signal handler to fail on Linux.
16952 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
16954 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16955 * lib/gdb.exp: Remove some gratuitious semicolons.
16956 (delete_breakpoints): Increase timeout.
16957 (gdb_expect): Add -notransfer option.
16958 (gdb_test): Use -notransfer option.
16959 (get_compiler_info): Add f77 case.
16960 (get_compiler): New proc, split out from gdb_preprocess, add f77
16962 (gdb_preprocess): Call get_compiler.
16964 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
16965 * gdb.base/attach.exp, gdb.base/display.exp,
16966 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
16967 gdb.base/long_long.exp, gdb.base/printcmds.exp,
16968 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
16969 third arg to gdb_test.
16970 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
16971 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
16972 HP-UX xfails, add others.
16973 * gdb.base/completion.exp: Reflect name change of self-test.
16974 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
16975 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
16976 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
16978 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
16979 useless HP-UX 10.30 references.
16980 * gdb.base/maint.exp: Loosen matches.
16981 * gdb.base/pointers.c (main): Declare more_code.
16982 * gdb.base/pointers.exp: Match on output of a `next'.
16983 * gdb.base/structs.c: Add prototypes.
16984 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
16985 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
16987 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16989 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
16992 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16994 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16995 Fix run to main failures. Watchpoint can be hardware watchpoint.
16997 * gdb.base/annota1.exp: Clean up some more, in case printf has
16998 debug info. Deal with lack of signal hanlder info in stack.
17000 From Jim Kingdon <kingdon@redhat.com>:
17001 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17003 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17005 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17006 gdb.base/foll-vfork.exp: Don't run for crosses.
17008 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17010 * gdb.base/configure.in: Check for gdbvars.exp instead of
17012 * gdb.base/configure: Re-generate.
17014 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17016 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17017 in trying to run first and name is too long.
17019 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17020 pointers2.c and pointers2.exp, respectively.
17021 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17024 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17026 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17027 callfuncs2.c and callfuncs2.exp.
17029 * gdb.base/list.exp: Remove mistaken xfails.
17030 * gdb.base/list0.h: Add optional prototypes.
17032 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17034 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17036 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17037 * ptype.exp: Move test for get_debug_format to before its first
17040 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17042 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17043 * gdb.base/annota2.cc, annota2.exp: Move from here.
17044 * gdb.c++/annota2.cc, annota2.exp: To here.
17045 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17047 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17049 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17050 a consistent format.
17052 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17054 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17055 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17056 HP compilers, also set the globals $true and $false.
17058 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17059 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17060 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17061 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17062 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17063 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17064 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17065 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17066 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17067 whatis.c} Add C++ compatible function definitions and return
17068 types, add includes for library functions.
17069 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17070 * gdb.base/step-test.c (myglob): Rename from glob.
17071 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17072 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17073 files, move here from gdb.hp.
17074 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17075 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17076 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17077 Adjust line numbers in regexps.
17079 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17080 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17083 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17084 foll-vfork.exp: New files, move here from gdb.hp.
17085 * gdb.base/page.exp: New file, test of pagination command.
17087 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17089 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17091 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17092 gdb.base/solib.exp: Fix compiler invocation process.
17094 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17095 HP-UX 11, turn off overload resolution explicitly.
17096 * gdb.base/commands.exp: Set argument list explicitly, add
17098 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17100 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17101 expressions properly.
17102 * gdb.base/corefile.exp: Loosen the match slightly.
17103 * gdb.base/default.exp: Allow "Error accessing memory" message
17105 * gdb.base/display.exp: Skip over x/0 j if PA64.
17106 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17107 * gdb.base/interrupt.exp: Ditto.
17108 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17110 * gdb.base/list.exp: Add xfails for HP-UX.
17111 * gdb.base/long_long.exp: Refine some of the numeric matches.
17112 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17113 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17114 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17115 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17116 * gdb.base/ptype.exp: Succeed on more varieties of output.
17117 * gdb.base/scope.exp: Add xfails for HP-UX.
17118 * gdb.base/sect-cmd.exp: Add more cases.
17119 * gdb.base/setvar.exp: Add xfails for HP-UX.
17120 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17121 * gdb.base/signals.exp: Match on void symbolically.
17122 * gdb.base/step-test.exp: Add case for PA64.
17123 * gdb.base/term.exp: Add exit and restart.
17124 * gdb.base/twice.exp: Clean up after self.
17125 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17126 * gdb.base/whatis.exp: Allow more ways to pass tests.
17128 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17131 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17133 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17135 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17136 print_double_array(double_array)", "continuing to breakpoint
17137 1018", "print print_double_array(array_d)" and "continuing to
17140 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17142 * Makefile.in: Add empty html and install-html targets.
17144 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17146 * config/mt-*: Remove, these haven't been used since 1996.
17148 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17150 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17151 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17152 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17154 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17156 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17157 simpler match case for the ptype of the big class.
17159 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17161 * gdb.exp: Fix test for gdb_prompt existence.
17163 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17165 * gdb.exp (gdb_test): Add fail after calls to perror.
17167 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17169 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17171 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17173 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17175 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17177 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17178 malloc() is linked in.
17180 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17182 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17185 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17187 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17189 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17191 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17193 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17194 * gdb.base/mips_pro.exp: Likewise.
17196 1999-06-02 Keith Seitz <keiths@cygnus.com>
17198 * gdb.c++/templates.cc: Change all "new" operators to throw
17200 * gdb.c++/cplusfuncs.cc: Likewise.
17202 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17204 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17206 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17207 * gdb.base/ending-run.exp: When stepping out of main, accept a
17208 step into an arbitrary assembler file.
17210 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17212 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17213 "breakpoint-invalid" to be printed.
17214 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17215 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17216 * gdb.base/annota2.cc: Initialize a.x to 0.
17218 1999-05-17 Keith Seitz <keiths@cygnus.com>
17220 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17221 when "skip_float_tests" set.
17222 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17223 "print print_ten_doubles", and "step into print_long_arg_list".
17224 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17225 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17226 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17227 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17228 "skip_float_tests" is set.
17229 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17230 when "skip_float_tests" set.
17232 1999-05-06 Keith Seitz <keiths@cygnus.com>
17234 * gdb.base/annota2.cc: Include stdio.h.
17236 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17238 * gdb.base/crossload.exp: Remove, this has been disabled ever
17239 since BFD stopped including all targets, and cross-GDB gets
17240 plenty of testing anyway.
17241 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17242 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17243 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17244 * gdb.base/README: Remove, was doc for this.
17245 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17248 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17250 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17253 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17254 * gdb.base/annota2.exp: New file. More annotation tests.
17255 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17256 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17258 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17260 * config/cfdbug.exp: New file.
17262 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17264 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17265 Marcus Daniel's and Dale Hawkins's demangler crashes.
17267 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17268 test_lucid_style_demangling, test_arm_style_demangling,
17269 test_hp_style_demangling): Try Tom Tromey's core-dumping
17270 identifier under each demangling style.
17272 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17274 * gdb.c++/demangle.exp: Include the current demangling style
17276 (current_demangling_style): New global variable.
17277 (set_demangling_style, test_demangling_core, test_demangling,
17278 test_demangling_exact): New functions.
17279 (test_gnu_style_demangling, test_lucid_style_demangling,
17280 test_arm_style_demangling, test_hp_style_demangling): Use those,
17281 instead of calling gdb_test and gdb_test_exact directly.
17282 (catch_demangling_errors): New function, which reports errors
17283 signalled by the demangling test functions in an orderly way.
17284 (do_tests): Use catch_demangling_errors.
17286 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17288 * gdb.base/signals.exp (test_handle_all_print): Use () for
17289 grouping in expressions, not {}.
17291 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17294 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17296 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17299 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17301 * gdb.stabs/weird.exp: Test for CC being defined before
17302 looking at its value.
17304 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17306 * gdb.base/call-ar-st.exp: Remove stray '#'.
17307 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17308 "short int" and "long int".
17309 * gdb.c++/overload.cc: Cast the string added in the previous
17310 change, to mollify finicky HP compiler.
17311 * gdb.hp/reg-test.exp (testfile): Fix file name.
17312 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17314 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17315 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17316 alternate form of enum ptype.
17318 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17320 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17321 * gdb.hp/*.exp: Change all to run compiler probe only after
17322 passing skip_hp_tests, so as not to waste time on guaranteed
17325 * gdb.c++/overload.cc: Pass string instead of char addr, always
17327 * gdb.c++/templates.cc: Fix syntax error.
17329 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17331 * gdb.base/commands.exp: Add test for correct position of '>'
17332 when issuing the 'commands' command after a 'while' or 'if'
17335 1999-03-18 James Ingham <jingham@cygnus.com>
17337 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17339 * gdb.c++/method.exp: It was testing an uninitialized int on the
17340 stack and assuming it was positive.
17342 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17344 * gdb.base/step-test.exp: Catch a case where finish is broken and
17345 keep it from killing the rest of the tests.
17346 Use gdb_continue_to_end.
17348 * gdb.base/sigall.exp: use gdb_continue_to_end.
17350 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17352 * gdb.base/display.exp: use runto_main, not run.
17354 * gdb.base/default.exp: Check for the current error message in the
17355 r abbreviation test.
17356 Add strongarm to the targets that know info float.
17358 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17359 run which doesn't work with monitors.
17361 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17363 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17365 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17366 program. Traps the case (in Cygmon) when the program never really
17367 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17368 more places, so I used my name. Sorry Mark...
17370 * config/monitor.exp (gdb_target_monitor): added another
17371 target_info parameter: remotebinarydownload. This will set the
17372 remotebinarydownload flag if this is causing some boards trouble.
17374 1999-03-18 Mark Salter <msalter@cygnus.com>
17376 * lib/gdb.exp (continue_to_exit): New function.
17378 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17379 * gdb.base/ending-run.exp: Ditto.
17380 * gdb.base/step-test.exp: Ditto.
17382 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17384 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17385 (suggested by Art Haas <ahaas@neosoft.com>).
17387 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17389 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17391 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17393 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17394 descriptions of types (short unsigned int vs unsigned short, etc).
17396 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17398 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17399 a call to strlen; sometimes we do have sources.
17401 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17403 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17404 character, so GDB won't print garbage after its end.
17406 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17407 breakpoint there instead. Sometimes GCC emits memcpy to handle
17408 the large structures being passed by value, so we step into that
17409 instead of sum_array_print, which obscures what we're really testing.
17410 * gdb.base/step-test.exp: However, we do want a test that notices
17411 the bizarre steps into memcpy, so do that here. Add check for
17412 stepping into function calls that pass large structures by value.
17413 ("Is that a noun clause, or are you just happy to see me?")
17414 Remove all references to specific line numbers.
17415 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17416 New type and function.
17417 (main): Call large_struct_by_value, passing it a large struct by value.
17418 * lib/gdb.exp (gdb_get_line_number): New function.
17420 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17423 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17425 * lib/gdb.exp: Doc fixes.
17427 1999-03-05 Nick Clifton <nickc@cygnus.com>
17429 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17431 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17433 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17434 commands. They're not germane to this test, and they don't work
17435 that way on remote targets.
17437 1999-03-01 James Ingham <jingham@cygnus.com>
17439 * Changelog entries merged over from gdb development branch.
17441 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17443 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17444 for outputting results of test run.
17446 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17448 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17450 1999-02-25 Felix Lee <flee@cygnus.com>
17452 * lib/gdb.exp (debug_format): initialize
17454 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17456 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17457 * gdb.base/call-rt-st.c: Ditto.
17459 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17461 * gdb.threads/pthreads.exp (horiz): New variable.
17462 (test_startup): Fix regexps that capture thread numbers.
17464 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17466 * gdb.base/smoke.exp: Disambiguate two test case names (both
17469 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17471 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17474 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17476 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17477 actual output formatting.
17478 * gdb.base/smoke.exp: GDB removes leading 0's.
17479 * gdb.base/volatile.exp: Don't check type of remuneration;
17480 that variable is no longer defined in constvars.c.
17481 * gdb.base/step-test.c (main): Exit with explicit exit code.
17482 * gdb.base/step-test.exp: Remove two nexti checks--they are
17485 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17487 * gdb.base/help.exp ("help delete display"): Fix test to match
17490 * gdb.base/long_long.c (known_types): Initialize values to zero.
17491 * gdb.base/long_long.exp: Step one more line
17492 so 'dec' is initialized in "get to known place". GDB removes
17493 leading zeros. Explicitly ask for hex formatting. Use
17494 unique test case names.
17496 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17498 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17500 * gdb.c++/method.exp: Add missing close brace.
17502 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17504 * gdb.base/maint.exp: Use 'set height 0' to disable page
17505 prompting, not 'set height 400'.
17507 Fix a bunch of timeouts.
17508 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17509 four separate tests, so expect doesn't take forever to match a ton
17510 of text against a regexp with lots of .* forms.
17511 ("maint print psymbols", "maint print symbols"): Make some of
17512 these greps more selective, so that expect doesn't try to wade
17513 through huge piles of output and time out.
17515 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17517 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17518 tests: one which doesn't expect shlib events to be reported, and
17519 another which does, but is XFAIL for all platforms other than
17522 * gdb.base/break.exp: Teach the test suite that the `catch
17523 fork', `catch vfork', and `catch exec' commands produce error
17524 messages on platforms that don't provide these features.
17526 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17528 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17529 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17530 (shortening names from solib_threshold.exp etc), won't run on
17531 anything but HP-UX for the foreseeable future.
17532 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17535 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17537 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17538 gdb.trace/Makefile.in (clean): Remove all test executables.
17540 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17542 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17543 successfully re-sets breakpoints in shared libraries.
17544 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17546 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17548 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17549 and compiled w/o GCC.
17551 * gdb.hp/watch-cmd.exp: ditto.
17553 * gdb.hp/watch-hp.exp: ditto.
17555 * gdb.hp/xdb1.exp: ditto.
17557 * gdb.hp/xdb2.exp: ditto.
17559 * gdb.hp/dbx.exp: ditto.
17561 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17563 * constvars.c: Remove C++-isms.
17564 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17567 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17569 The following changes are part of the HP merge.
17571 * gdb.base/break.exp: new tests to verify that catchpoints for
17572 fork, vfork, and exec don't trigger inappropriately.
17574 * gdb.base/opaque.exp: compile one file at a time, then link.
17576 * gdb.base/signals.exp: be more restrictive about which hppa
17577 systems receive a setup_xfail. new tests.
17579 * gdb.base/solib_threshold.build: new file.
17580 * gdb.base/solib_threshold.exp: new file.
17581 * gdb.base/solib_threshold.link_opts: new file.
17582 * gdb.base/solib_threshold.mk: new file.
17583 * gdb.base/gen_solib_threshold.c: new file.
17585 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17586 tests. New tests for enums inside classes.
17588 * gdb.c++/compiler.cc: indicate support of template debugging.
17590 * gdb.c++/demangle.exp: run hp style demangling tests.
17592 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17595 * gdb.c++/misc.cc: changes to support new tests.
17597 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17598 to support new tests.
17600 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17601 gcc, then skip these tests.
17603 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17605 The following files are part of the HP merge; some had longer
17606 names at HP, but have been renamed to be no more than 14
17607 characters in length.
17609 * gdb.hp/ambiguous.cc: new file.
17610 * gdb.hp/ambiguous.exp: new file.
17611 * gdb.hp/attach.exp: new file.
17612 * gdb.hp/attach2.exp: new file.
17613 * gdb.hp/classes-hp.exp: new file.
17614 * gdb.hp/ctti.exp: new file.
17615 * gdb.hp/ctti-add.cc: new file.
17616 * gdb.hp/ctti-add1.cc: new file.
17617 * gdb.hp/ctti-add2.cc: new file.
17618 * gdb.hp/ctti-add3.cc: new file.
17619 * gdb.hp/dbx.exp: new file.
17620 * gdb.hp/exception.cc: new file.
17621 * gdb.hp/exception.exp: new file.
17622 * gdb.hp/foll-exec.c: new file.
17623 * gdb.hp/foll-exec.exp: new file.
17624 * gdb.hp/foll-fork.c: new file.
17625 * gdb.hp/foll-fork.exp: new file.
17626 * gdb.hp/foll-vfork.c: new file.
17627 * gdb.hp/foll-vfork.exp: new file.
17628 * gdb.hp/inherit-hp.exp: new file.
17629 * gdb.hp/more-steps.exp: new file.
17630 * gdb.hp/namespace.cc: new file.
17631 * gdb.hp/namespace.exp: new file.
17632 * gdb.hp/optimize.exp: new file.
17633 * gdb.hp/pxdb.c: new file.
17634 * gdb.hp/pxdb.exp: new file.
17635 * gdb.hp/quicksort.exp: new file.
17636 * gdb.hp/reg-test.exp: new file.
17637 * gdb.hp/reg-test.s: new file.
17638 * gdb.hp/sized-enum.c: new file.
17639 * gdb.hp/sized-enum.exp: new file.
17640 * gdb.hp/start-stop.exp: new file.
17641 * gdb.hp/templ-hp.cc: new file.
17642 * gdb.hp/templ-hp.exp: new file.
17643 * gdb.hp/thr-lib.c: new file.
17644 * gdb.hp/thr-lib.exp: new file.
17645 * gdb.hp/thr-lib.h: new file.
17646 * gdb.hp/thr-liblib.c: new file.
17647 * gdb.hp/virtfun-hp.c: new file.
17648 * gdb.hp/virtfun-hp.exp: new file.
17649 * gdb.hp/watch-cmd.exp: new file.
17650 * gdb.hp/watch-hp.exp: new file.
17651 * gdb.hp/xdb1.exp: new file.
17652 * gdb.hp/xdb2.exp: new file.
17653 * gdb.hp/xdb3.exp: new file.
17655 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17657 The following files are part of the HP merge; some had longer
17658 names at HP, but have been renamed to be no more than 14
17659 characters in length.
17661 * gdb.base/ss.h: new file.
17662 * gdb.base/call-ar-st.c: new file.
17663 * gdb.base/call-ar-st.exp: new file.
17664 * gdb.base/call-rt-st.c: new file.
17665 * gdb.base/call-rt-st-exp: new file.
17666 * gdb.base/call-strs.exp: new file.
17667 * gdb.base/ena-dis-br.exp: new file.
17668 * gdb.base/environ.exp: new file.
17669 * gdb.base/long_long.exp: new file.
17670 * gdb.base/sect-cmd.exp: new file.
17671 * gdb.base/shlib-cl2.exp: new file.
17672 * gdb.base/smoke.exp: new file.
17673 * gdb.base/so-impl-ld.c: new file.
17674 * gdb.base/so-impl-ld.exp: new file.
17675 * gdb.base/so-indr-cl.c: new file.
17676 * gdb.base/so-indr-cl.exp: new file.
17677 * gdb.base/varargs.exp: new file.
17678 * gdb.base/volatile.exp: new file.
17679 * gdb.base/whatis-exp.exp: new file.
17680 * gdb.base/display.exp: new file.
17681 * gdb.c++/derivation.exp: new file.
17682 * gdb.c++/local.exp: new file.
17683 * gdb.c++/member-ptr.exp: new file.
17684 * gdb.c++/overload.exp: new file.
17685 * gdb.c++/ovldbreak.exp: new file.
17686 * gdb.c++/ref-types.exp: new file.
17687 * gdb.c++/ref-types2.exp: new file.
17688 * gdb.c++/userdef.exp: new file.
17690 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17692 * gdb.base/default.exp: Reflect wording change in remote.c.
17694 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17696 * gdb.base/help.exp: Update to reflect current text.
17698 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17700 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17701 they're stack variables and contain garbage.
17702 * gdb.c++/anon-union.exp: new file.
17704 The following changes were made by David Taylor
17705 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17706 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17709 * gdb.base/bitops.exp: new file.
17710 * gdb.base/default.exp: change expected messages for catch and
17711 info catch tests to reflect HP merge changes.
17712 * gdb.base/enable-disable-break.exp
17713 * gdb.base/ending-run.c: new file.
17714 * gdb.base/long_long.c: new file.
17715 * gdb.base/maint.exp: new file.
17716 * gdb.base/pointers2.exp: new file.
17717 * gdb.base/shlib-call2.exp: new file.
17718 * gdb.base/solib.exp: new file.
17719 * gdb.base/step-test.c: new file.
17720 * gdb.c++/anon-union.cc: new file.
17721 * gdb.c++/local.cc: new file.
17722 * gdb.c++/member-pointer.cc: new file.
17723 * gdb.c++/method.cc: new file.
17724 * gdb.c++/ref-types.cc: new file.
17725 * gdb.c++/ref-types2.cc: new file.
17726 * gdb.c++/userdef.cc: new file.
17728 * gdb.base/scope.exp: compile one file at a time, then link.
17729 * gdb.base/langs.exp: ditto.
17730 * gdb.base/list.exp: ditto.
17732 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17734 The following changes were made by David Taylor
17735 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17736 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17739 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17740 skip tests. When compiling pass c++ flag to gdb_compile.
17743 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17744 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17745 (skip_hp_tests): new function.
17746 (gdb_preprocess): new function.
17748 * configure.in (hpdir): decide whether to configure gdb.hp.
17749 * configure: regenerated.
17751 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17752 to delete on clean.
17753 (EXECUTABLES): update to reflect new additions.
17754 * gdb.base/commands.exp: update message expected.
17755 * gdb.base/default.exp: add copyright notice.
17756 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17757 * gdb.base/help.exp: update messages to reflect current text.
17758 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17759 targets for recurse tests.
17760 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17763 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17764 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17766 * gdb.c++/misc.exp: ditto.
17767 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17768 run the tests. tell gdb_compile that it's a c++ compilation.
17770 * gdb.threads/pthreads.exp: fix typo in message.
17772 * gdb.base/all-bin.exp: new file.
17773 * gdb.base/arithmet.exp: new file.
17774 * gdb.base/assign.exp: new file.
17775 * gdb.base/completion.exp: new file.
17776 * gdb.base/cond-expr.exp: new file.
17777 * gdb.base/condbreak.exp: new file.
17778 * gdb.base/define.exp: new file.
17779 * gdb.base/dollar.exp: new file.
17780 * gdb.base/environment.exp: new file.
17781 * gdb.base/eval-skip.exp: new file.
17782 * gdb.base/jump.exp: new file.
17783 * gdb.base/logical.exp: new file.
17784 * gdb.base/pointers.exp: new file.
17785 * gdb.base/relational.exp: new file.
17786 * gdb.base/section_command.exp: new file.
17787 * gdb.base/whatis-expr.exp: new file.
17789 * gdb.base/all-types.c: new file.
17790 * gdb.base/call-array-struct.c: new file.
17791 * gdb.base/call-return-struct.c: new file.
17792 * gdb.base/call-strings.c: new file.
17793 * gdb.base/callfuncs2.c: new file.
17794 * gdb.base/condbreak.c: new file.
17795 * gdb.base/constvars.c: new file.
17796 * gdb.base/display.c: new file.
17797 * gdb.base/int-type.c: new file.
17798 * gdb.base/jump.c: new file.
17799 * gdb.base/miscexprs.c: new file.
17800 * gdb.base/pointers.c: new file.
17801 * gdb.base/pointers2.c: new file.
17802 * gdb.base/shmain.c: new file.
17803 * gdb.base/shr1.c: new file.
17804 * gdb.base/shr2.c: new file.
17805 * gdb.base/solib.c: new file.
17806 * gdb.base/solib1.c: new file.
17807 * gdb.base/solib2.c: new file.
17808 * gdb.base/varargs.c: new file.
17809 * gdb.c++/derivation.cc: new file.
17810 * gdb.c++/overload.cc: new file.
17811 * gdb.c++/ovldbreak.cc: new file.
17812 * gdb.hp/attach.c: new file.
17813 * gdb.hp/attach2.c: new file.
17814 * gdb.hp/average.c: new file.
17815 * gdb.hp/compiler.c: new file.
17816 * gdb.hp/compiler.cc: new file.
17817 * gdb.hp/execd-program.c: new file.
17818 * gdb.hp/follow-exec.c: new file.
17819 * gdb.hp/follow-fork.c: new file.
17820 * gdb.hp/follow-vfork-and-exec.c: new file.
17821 * gdb.hp/misc-hp.cc: new file.
17822 * gdb.hp/more-steps.c: new file.
17823 * gdb.hp/optimize.c: new file.
17824 * gdb.hp/quicksort.c: new file.
17825 * gdb.hp/run-hp.c: new file.
17826 * gdb.hp/start-stop.c: new file.
17827 * gdb.hp/sum.c: new file.
17828 * gdb.hp/templates-hp.cc: new file.
17829 * gdb.hp/thread-local-in-lib.c: new file.
17830 * gdb.hp/thread-local-in-lib.h: new file.
17831 * gdb.hp/thread-local-in-lib.lib.c: new file.
17832 * gdb.hp/vforked-program.c: new file.
17833 * gdb.hp/virtfunc-hp.cc: new file.
17834 * gdb.hp/watchpoint-hp.c: new file.
17835 * gdb.hp/xdb.c: new file.
17836 * gdb.hp/xdb0.c: new file.
17837 * gdb.hp/xdb0.h: new file.
17838 * gdb.hp/xdb1.c: new file.
17840 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17842 The following change was made by Edith Epstein
17843 <eepstein@cygnus.com> as part of a project to merge in changes
17844 originally made by HP; HP did not create ChangeLog entries.
17846 * gdb.c++/demangle.exp: changed the expected output for some
17847 ARM-style mangling -- removed second reference to datatype.
17848 For example, maint demangle __dt__11T1__pt__2_cFv
17849 T1<char>::~T1<char>(void)
17851 maint demangle __dt__11T1__pt__2_cFv
17852 T1<char>::~T1(void)
17854 (test_hp_style_demangling): new hp specific demangling test cases.
17856 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17858 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17859 * gdb.trace/backtrace.exp: Likewise.
17860 * gdb.trace/circ.exp: Likewise.
17861 * gdb.trace/collection.exp: Likewise.
17862 * gdb.trace/deltrace.exp: Likewise.
17863 * gdb.trace/infotrace.exp: Likewise.
17864 * gdb.trace/limits.exp: Likewise.
17865 * gdb.trace/packetlen.exp: Likewise.
17866 * gdb.trace/passc-dyn.exp: Likewise.
17867 * gdb.trace/passcount.exp: Likewise.
17868 * gdb.trace/report.exp: Likewise.
17869 * gdb.trace/save-trace.exp: Likewise.
17870 * gdb.trace/tfind.exp: Likewise.
17871 * gdb.trace/tracecmd.exp: Likewise.
17872 * gdb.trace/while-dyn.exp: Likewise.
17873 * gdb.trace/while-stepping.exp: Likewise.
17875 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17877 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17879 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17881 From Brendan Kehoe:
17882 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17885 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17887 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
17888 remote dos host testing right.
17890 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17892 * gdb.base/corefile.exp: remove some xfails.
17894 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17896 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
17897 have different timestamps.
17899 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17901 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
17902 gdb.base/default.exp: Replace "exec" with "executable".
17904 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17906 * gdb.base/default.exp: Change else if to elseif from previous
17909 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17911 * gdb.base/default.exp: Add brace missing from previous delta.
17913 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17915 * gdb.base/default.exp: Support test for info float for all
17916 varieties of arm toolchain.
17918 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
17920 * gdb.trace/*.exp: remove "remote_download" command.
17922 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
17924 * gdb.trace/*.exp: remove -gdwarf from compile.
17926 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17928 * gdb.trace/configure.in(AC_INIT): typo
17929 * gdb.trace/configure: regenerated
17931 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
17933 * config/m68k-emc.exp: New file.
17934 * lib/<emc-support.exp trace-support.exp}: New files.
17935 * configure.in: add new test directory gdb.trace.
17936 * gdb.trace/{configure configure.in Makefile.in}: New files.
17937 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17938 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17939 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17940 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17941 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17942 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17943 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
17945 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
17947 * gdb.c++/classes.exp: Change all regular expressions to match
17948 arbitrary combinations of newline/carriage-return, so that they
17949 will work equally well on Unix and Windows.
17950 * gdb.c++/inherit.exp: ditto.
17951 * gdb.c++/virtfunc.exp: ditto.
17953 1998-08-11 Dawn Perchik <dawn@cygnus.com>
17955 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17957 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
17959 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
17960 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
17961 to use a0-a3/d0-d3 as needed.
17963 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
17965 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
17966 * gdb.disasm/am33.exp: Corresponding changes.
17968 1998-07-11 Felix Lee <flee@cygnus.com>
17970 * gdb.base/callfuncs.exp: add cmp10 test.
17971 * gdb.base/callfuncs.c (cmp10): new function.
17973 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
17975 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
17976 into two parts to get around a synchronization problem in expect.
17978 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
17980 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17982 * configure.in: Add options for gdbtk testsuite.
17984 * configure: Regenerate.
17986 * gdb.gdbtk: New directory to hold gdbtk tests.
17988 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17990 * gdb.fortran/types.exp: Escape brackets in expect patterns
17991 for test_float_literal_types_accepted tests.
17992 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
17995 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17997 * am33.exp: Just compile, do not link the testcase.
17998 * am33.s: Add ".am33" pseudoop to force am33 mode.
18000 1998-06-25 Felix Lee <flee@cygnus.com>
18002 * gdb.base/setshow.exp: make sure $pc is sane.
18004 * gdb.stabs/weird.exp: split expect patterns properly.
18006 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18008 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18009 * gdb.disasm/am33.exp: Run it.
18011 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18013 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18014 match processing (and eliminate spurious timeouts when running).
18016 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18018 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18019 exception test, but conditionalize it on target [mach | gnu].
18021 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18023 * gdb.base/overlays.exp: fixup compile line for linker script.
18025 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18027 * gdb.fortran/types.exp: don't guess at float size.
18029 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18031 * gdb.base/exprs.exp: delete test that depends on int size.
18033 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18035 * config/sim.exp: Removed checks for target triplets.
18036 (gdb_target_sim): Use gdb,target_sim_options.
18038 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18040 * gdb.base/reread.exp: New file.
18041 * gdb.base/reread1.c: New file.
18042 * gdb.base/reread2.c: New file.
18044 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18046 * config/sim.exp: Use 'target sim -sparclite' when running
18047 SPARClite programs.
18049 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18051 * gdb.base/structs2.exp: New file.
18052 * gdb.base/structs2.c: New file.
18054 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18056 * gdb.asm/common.inc: New file.
18057 * gdb.asm/d10v.inc: New file.
18058 * asm-source.exp: Pass -I's to gas to find .inc files.
18059 Update line numbers in expected output.
18060 * asmsrc1.s: Rewrite.
18061 * asmsrc2.s: Rewrite.
18062 * configure.in: Create arch.inc symlink.
18063 * configure: Regenerate.
18064 * Makefile.in (distclean): Delete arch.inc.
18066 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18068 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18069 (t_enum_value2): ditto
18070 (t_enum_value3): ditto
18072 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18074 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18075 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18077 Use gdb_test instead of send_gdb/gdb_expect sequences.
18079 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18081 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18084 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18086 * gdb.base/branches.c: Code with lots of loops and
18087 subroutines. Used to test gdbs ability to single step through PC
18088 changes, especially to test mips-tdep.c:mips_next_pc
18090 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18092 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18093 more rigorous EGCS C++ error checking.
18095 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18097 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18099 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18100 function when asleep.
18101 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18102 for i*86 Linux and SVR4 signal handling problems.
18103 Remove linux xfail for `next to handler in signals_tests_1', fixed
18104 by recent infrun.c change.
18105 Limit backtrace to 10 frames to avoid timeout problems with infinite
18107 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18108 target.[ch] change.
18110 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18112 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18113 for a newline from gdb before continuing.
18114 (default_gdb_exit): Just look for y or n.
18115 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18116 it does, fail the rests of the tests in the file.
18118 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18120 * config/cygmon.exp: New file.
18122 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18124 * gdb.base/list.exp: Fix problem with "list default lines around
18125 main" test on remote targets.
18127 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18128 run test on remote targets.
18130 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18132 * gdb.asm: New directory.
18133 * configure.in: Configure it.
18134 * configure: Regenerate.
18135 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18136 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18138 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18140 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18142 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18144 * gdb.base/overlays (several files): Merge the two overlay
18145 managers into one. Change variables (foox, barx, bazx, grbxx)
18146 back into ints but force them to load in their proper sections.
18148 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18150 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18151 on-chip insn memory and IMAP1 to upper 128k.
18152 (D10VCopy): Handle memory regions crossing 16k boundaries.
18153 (D10VCopy): Transfer data in 32 bit chunks.
18155 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18157 * gdb.base/overlays.c (main): Exit normally when result is
18160 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18161 map. Include space for printf in .text segment.
18163 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18164 updated d10v memory VMA/LMA map.
18165 (D10VCopy): Call D10VTranslate.
18167 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18169 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18171 * gdb.base/bar.c (barx, bar): Change variable to small array so
18172 that it won't be put into the .sdata - small data -
18173 section. Update reference.
18174 * gdb.base/baz.c (bazx, baz): Ditto.
18175 * gdb.base/foo.c (foox, foo): Ditto.
18176 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18178 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18181 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18183 * gdb.base/overlays.exp: fix up and get working again.
18184 Add tests for backtraces from an overlay function.
18186 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18188 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18189 "calling function with watchpoint enabled".
18191 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18193 * gdb.base/break.exp (test_next_with_recursion): Remove
18194 gdb_suppress_tests for d10v-*-*.
18195 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18196 pending review of whether it is useful or not.
18198 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18200 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18202 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18204 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18205 * config/dve.exp: New file to support Densan boards.
18207 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18209 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18212 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18214 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18217 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18219 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18221 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18224 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18225 target_sizeof_long and target_bigendian_p.
18226 (structs_by_value, structs_by_reference): Check values according
18227 to targets word size and endianess.
18229 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18231 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18234 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18236 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18237 Update test of set args help to match source change.
18239 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18241 * gdb.base/default.exp: Expect help system output to be in
18242 alphabetical order.
18243 * gdb.base/help.exp: Ditto.
18245 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18247 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18248 "i*86-pc-linux-gnu*".
18249 * gdb.base/interrupt.exp: Ditto.
18250 * gdb.base/corefile.exp: Ditto.
18252 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18253 define vxworks when building the testcase.
18255 * gdb.base/ptype.exp: Fix testnames to be unique.
18256 * gdb.base/radix.exp: Ditto.
18257 * gdb.base/term.exp: Ditto.
18258 * gdb.base/whatis.exp: Ditto.
18259 * gdb.c++/classes.exp: Ditto.
18261 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18263 * gdb.base/callfuncs.exp: Fix indentation.
18265 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18266 suppress_flag has been set.
18267 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18270 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18272 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18275 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18276 set_debug_traps() and breakpoint().
18277 * gdb.c++/misc.cc (main): Ditto.
18278 * gdb.c++/templates.cc (main): Ditto.
18279 * gdb.c++/virtfunc.cc (main): Ditto.
18281 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18283 * lib/gdb.exp(gdb_step_for_stub): New function.
18284 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18285 exists, reload the executable and do a "continue" instead of
18287 (runto_main): Use gdb_step_for_stub.
18289 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18290 tests to have unique names.
18291 * gdb.base/callfuncs.exp: Ditto.
18292 * gdb.base/commands.exp: Ditto.
18293 * gdb.base/default.exp: Ditto.
18294 * gdb.base/help.exp: Ditto.
18295 * gdb.base/list.exp: Ditto.
18296 * gdb.base/opaque.exp: Ditto.
18297 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18300 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18301 * gdb.c++/cplusfuncs.cc: Ditto.
18302 * gdb.c++/virtfunc.cc: Ditto.
18304 * config/monitor.exp: Keep track of the last file we saw, rather
18305 than trying to get the info from gdb.
18307 * gdb.fortran/types.exp: Move comment to previous line.
18309 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18311 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18314 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18317 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18318 string from GDB when it connects.
18320 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18322 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18324 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18325 if we can't get a debug format from GDB (we may be testing an
18326 older GDB). Use a 10 second timeout when checking for the format.
18328 * gdb.stabs/weird.exp: Fix quoting.
18330 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18332 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18334 * config/arm-ice.exp: New file.
18336 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18338 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18339 until it has been modified to work with the new testsuite.
18341 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18342 testcase won't compile, cause all of the testcases in the file to
18345 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18346 (gdb_clear_suppressed): New procedure.
18347 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18348 it contains a positive value.
18350 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18352 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18354 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18356 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18358 * lib/gdb.exp (setup_xfail_format): New function.
18359 (get_debug_format): New function to get debug format.
18360 (debug_format): New global variable to hold last value set
18361 by get_debug_format.
18362 * gdb.base/list.exp: Call get_debug_format and expect some
18363 tests to fail for DWARF 1 and COFF formats.
18364 * gdb.c++/ptype.exp: Ditto.
18365 * gdb.c++/classes.exp: Ditto.
18366 * gdb.c++/cplusfuncs.exp: Ditto.
18367 * gdb.c++/inherit.exp: Ditto.
18368 * gdb.c++/templates.exp: Ditto.
18369 * gdb.c++/virtfunc.exp: Ditto.
18371 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18373 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18374 host doesn't have a currently-open connection.
18376 * config/sparclet.exp: Cleanups and fixes to make it generic for
18377 any gdb stub target. Handle cases where gdb doesn't respond when
18378 interrupted in a sane fashion.
18380 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18381 same thing in a totally different way.
18383 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18385 (gdb_start): We set the global gdb_prompt variable in
18386 default_gdb_init now.
18388 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18390 * gdb.base/printcmds.exp: Fix "check for floating addition"
18391 regexp to accept results within approx +/- .01 of exact value.
18392 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18394 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18396 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18398 (gdb_expect): Add optional timeout parameter, and add timeout
18399 value to various calls.
18400 (gdb_suppress_tests): Only give one warning message per group.
18402 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18404 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18405 global variables. Handle getting a value for $timeout more
18408 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18410 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18412 (default_gdb_init): New procedure; allow gdb_init to be overridden
18413 by a target configuration file.
18414 (gdb_expect): Pass the timeout to remote_expect.
18416 * config/monitor.exp(gdb_load): Fix typo in regexp.
18418 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18420 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18422 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18424 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18425 here. Call gdb_target_exec before rebooting the target, to make
18426 sure the connection to the target is closed.
18427 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18428 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18429 Also detect "Timeout reading from remote" error.
18431 * config/gdbserver.exp: Pass the executable being loaded to
18432 gdb_target_monitor. Don't call gdb_file_cmd here; let
18433 gdb_target_monitor do it.
18435 * gdb.disasm/hppa.exp: Don't use exec_output.
18437 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18439 * gdb.base/list.exp: If we're debugging a non-native target,
18440 try to set the pc register to point to the start of the
18441 program before doing the first list command.
18443 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18444 test_calls after restarting.
18446 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18449 * gdb.base/watchpoint.exp: Fix typo.
18451 * gdb.base/setshow.exp: Check for use_gdb_stub.
18453 * gdb.base/break.exp: Fix continue until exit test for the gdb
18455 * gdb.base/langs.exp: Ditto.
18457 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18458 gdb_load_offset. If we weren't given a file to load, figure out
18459 what the current file is and use it.
18461 * config/i386-bozo.exp: New file.
18463 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18465 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18468 * config/proelf.exp: New entry.
18470 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18472 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18475 * gdb.base/watchpoint.exp: Don't run the test_stepping
18476 tests if gdb can't call functions on the target.
18478 * gdb.base/setshow.exp: Don't run the set prompt tests if
18479 the board has gdb_prompt set.
18481 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18483 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18484 * gdb.base/commands.exp: Likewise.
18485 * gdb.base/setshow.exp: Likewise.
18487 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18489 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18492 * config/i960.exp: New file.
18494 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18496 * gdb.base/funcargs.exp: Check for gdb,short_int target
18497 feature instead of looking for explicit target triplets.
18499 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18501 * gdb.base/printcmds.exp: add a couple more tests a la
18502 "p 123DEADBEEF", to check parse_number.
18503 * top.c: change "to enable to enable" to "to enable" in a couple
18506 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18508 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18511 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18513 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18514 where the test executable is run with explicit args.
18515 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18517 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18519 * gdb.base/run.c: Use FAKEARGV to build test executable that
18520 does not require a command line arg, since most simulators
18521 don't currently support passing such an arg into the simulated
18523 * gdb.base/commands.exp: Change tests to insert the proper
18524 value as the arg to the first recursive factorial call. Change
18525 compilation line to define FAKEARGV at compile time.
18527 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18529 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18530 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18531 function with watchpoint enabled" test.
18533 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18535 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18536 Don't call gdb_test when the command doesn't return to a gdb prompt.
18538 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18539 "Tests restarted" messages.
18541 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18543 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18545 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18547 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18548 for INFO SYMBOL; add help tests for OVERLAY commands.
18549 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18550 add tests for OVERLAY commands
18551 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18552 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18553 * gdb.base/sigall.c: add usestubs code frag
18554 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18556 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18558 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18560 (gdb_stop_suppressing_tests): Note that tests have restarted.
18562 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18564 * config/h8300.exp: New file.
18566 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18568 * gdb.base/setshow.exp: Check for the existence of a
18569 feature, not its value.
18571 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18573 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18575 * gdb.base/scope.exp: It's now init0(), not init().
18577 * gdb.base/scope0.c: For now, change init() to be init0().
18579 * config/monitor.exp: Use gdb_serial in preference to serial
18582 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18583 and it's not already set.
18585 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18587 * gdb.base/setshow.exp: Only test the run command if the target
18588 isn't using a stub and if it supports argument passing.
18590 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18592 * config/udi.exp(gdb_start): Make sure UDICONF is set
18593 properly before starting gdb.
18595 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18597 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18598 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18599 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18601 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18603 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18604 specialized code to reboot the board, use remote_reboot instead.
18606 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18608 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18610 * config/monitor.exp: Make sure we disconnect from the target.
18611 Also, try a reboot/reload cycle instead of failing if the
18614 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18616 * gdb.base/default.exp: Don't set match_max.
18617 * gdb.base/help.exp: Ditto.
18618 * gdb.base/list.exp: Ditto.
18619 * gdb.base/signals.exp: Ditto.
18621 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18622 set, use remote_ld to download the testcase instead of
18625 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18627 * config/vr5000.exp: New file.
18629 * config/monitor.exp(gdb_target_monitor): Add pattern for
18630 "Ending remote" to detect errors in connecting.
18632 * gdb.base/setshow.exp: Add .* within auto language test.
18634 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18637 * config/monitor.exp(gdb_load): Check for a failure when loading,
18638 and reboot the board if necessary.
18640 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18641 a set of tests. Remove print.* from the patterns being checked.
18643 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18645 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18646 refer to gdb_spawn_id.
18648 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18650 * config/sparclet.exp: Ditto.
18651 * config/sparclet-old.exp: Ditto.
18652 * config/slite.exp: Ditto.
18653 * config/sim.exp: Ditto.
18654 * gdb.base/funcargs.exp: Ditto.
18656 * lib/gdb.exp:Remove references to gdb_spawn_id.
18657 (gdb_expect): Move to remote.exp.
18659 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18661 * config/monitor.exp: Detect the "Couldn't establish connection"
18664 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18666 * gdb.base/bitfields.exp: Use runto instead of explicit
18667 gdb_run_cmd/gdb_expect sequences.
18669 * gdb.base/break.exp(text_next_with_recursion): Add match for
18672 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18673 We also need to handle the "A program is being debugged already"
18674 prompt from gdb. Use gdb_test to set the baud rate.
18676 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18677 to 20000. Really. I mean it.
18679 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18681 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18682 fails. If suppress_flag is set, skip perror message about not
18683 being able to send to GDB.
18684 (send_gdb): If suppress_flag is set, don't try to send commands to
18686 (gdb_expect): If suppress_flag is set, always fail immediately.
18687 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18688 (gdb_init): Call gdb_stop_suppressing_tests.
18689 (default_gdb_exit): Ditto.
18690 (default_gdb_start): Ditto.
18692 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18693 gdb_stop_suppressing_tests as appropriate.
18694 * gdb.base/break.exp: Ditto.
18695 * gdb.base/callfuncs.exp: Ditto.
18696 * gdb.base/commands.exp: Ditto.
18697 * gdb.base/exprs.exp: Ditto.
18698 * gdb.base/funcargs.exp: Ditto.
18699 * gdb.base/list.exp: Ditto.
18700 * gdb.base/recurse.exp: Ditto.
18701 * gdb.base/scope.exp: Ditto.
18702 * gdb.base/structs.exp: Ditto.
18703 * gdb.c++/inherit.exp: Ditto.
18705 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18707 * config/vr4300.exp: New file.
18709 * gdb.*/*.exp: Call gdb_expect instead of expect.
18711 * lib/gdb.exp(gdb_expect): New function.
18713 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18715 * lib/gdb.exp(gdb_init): New function.
18717 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18718 for each individual variable set.
18720 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18723 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18725 * gdb.base/scope.exp: Use gdb_test.
18727 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18728 aborting; the testsuite driver will do that for us (see
18729 gdb_finish). Also, use gdb_test in a few more places.
18731 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18733 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18735 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18737 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18738 and "add_tests" are not at the same address.
18740 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18742 * gdb.base/ptype.exp: Use gdb_test.
18744 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18746 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18747 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18748 left in. No longer expect them to fail.
18750 * gdb.stabs/*.mt; Deleted, no longer used.
18751 * gdb.stabs/configure.in: Remove references to target makefile
18753 * gdb.stabs/configure: Rebuilt.
18755 * gdb.disasm/*.mt: Deleted, no longer used.
18756 * gdb.disasm/configure.in: Remove references to target makefile
18757 frags. Use "sh3.s" as the unique filename for this directory.
18758 * gdb.disasm/configure: Rebuilt.
18760 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18761 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18762 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18764 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18766 * config/udi.exp: Use mondfe,name instead of remote_host.
18768 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18770 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18771 a function with a watchpoint enabled on the mn10200.
18773 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18774 before trying to create it!
18776 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18778 * config/vx.exp: Use hostname instead of netport.
18780 * config/vxworks.exp: New file.
18782 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18784 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18785 gdb before assuming everything worked. Send a ^C if a timeout
18788 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18789 $gdb_spawn_id directly.
18790 (gdb_run_cmd): Try _start as well as start. Use the target feature
18791 gdb,start_symbol as the symbol to start from when jumping.
18793 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18795 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18798 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18799 it doesn't lose for 16bit integer systems.
18801 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18803 * gdb.fortran/types.exp: If the target doesn't support "double"
18804 data types, then expect "real" types to only be 4 bytes.
18806 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18807 call tests if the target doesn't support inferior function calls.
18809 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18812 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18814 * gdb.base/help.exp: Disable "help set", "help show", and
18815 "help support". Simplify regexp for "help stack".
18817 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18818 to 60 seconds. Temporarily set match_max to 15000 around the
18819 "info copying" test.
18821 * gdb.base/nodebug.exp: Don't try to do an inferior function
18822 call if the target doesn't support them.
18823 * gdb.base/printcmds.exp: Likewise.
18824 * gdb.base/setvar.exp: Likewise.
18825 * gdb.base/structs.exp: Likewise.
18826 * gdb.c++/templates.exp: Likewise.
18827 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18829 * gdb.base/recurse.exp: Enable for the mn10200.
18831 * configure.in: Do configure gdb.stabs directory for *-*-elf
18833 * configure: Rebuilt.
18835 * gdb.base/break.exp: Check for gdb,noresults before testing
18836 exit status and/or results from the target.
18837 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18838 * lib/gdb.exp: Remove old (now bogus) initialization of
18839 noinferior, noargs, noresults and nosignals.
18841 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18843 * config/sh.exp: New file.
18845 * config/slite.exp: Try to connect multiple times to the board
18846 before rebooting. Only send a "monitor run" if need_monitor_run
18849 * gdb.base/break.exp: Don't do the "stub continue" test if
18850 the target has gdb_stub set.
18852 * gdb.base/callfuncs.exp: Increase the timeout.
18854 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18855 if the target has gdb,noinferiorio set.
18857 * gdb.base/list.exp: Increase match_max to 10000 characters.
18859 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18861 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18864 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18866 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18868 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
18869 trying to delete the copy of gdb. Catch the file delete so we
18870 don't die if the delete fails; also, the file should be copied to
18871 the host, not to the build.
18873 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18875 * lib/gdb.exp(gdb_test): Surround the result pattern with
18876 parenthesis in case it contains multiple regexps separated
18879 * gdb.base/watchpoint.exp: Use gdb_test.
18880 * gdb.base/default.exp: Ditto.
18882 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18884 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
18886 * gdb.base/scope.exp: Use gdb_test.
18887 * gdb.c++/classes.exp: Ditto.
18888 * gdb.c++/inherit.exp: Ditto.
18890 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18892 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18893 remote_exec instead.
18894 * gdb.base/corefile.exp: Don't be ridiculous.
18895 * gdb.base/*.c: Add missing stub invocations.
18897 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18899 * config/slite.exp: Miscellaneous fixes.
18901 * lib/gdb.exp: Fix runto.
18903 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18906 * gdb.base/watchpoint.exp: Fix regexp.
18908 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18909 close and wait commands, as the descriptor may now be
18910 invalid. Always call "remote_close host".
18912 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18914 Major rewrite for testsuite revision.
18916 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18917 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18918 instead of relying on spawn_id to always contain a valid
18920 (get_compiler_info): New procedure to build the ${binfile}.ci
18921 file, instead of replicating this in N different places.
18922 (gdb_compile): New procedure.
18924 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
18925 appropriate arguments) instead of compile. Use gdb_test in a lot
18926 more places. Use send_gdb instead of send. Always run gdb_start
18927 at the start of a testcase, as this is no longer done magically.
18929 config/*-gdb.exp: Rename without the -gdb suffix.
18931 config/mips.exp: Use remote_close instead of exit_remote_shell.
18932 config/monitor.exp: Use target_info instead of looking at
18933 baud, timeout, etc.
18934 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18936 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18938 * gdb.c++/templates.exp (test_ptype_of_templates),
18939 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18940 Update expect patterns for destructors and assignment operators
18941 to match corresponding c-typeprint.c changes.
18942 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18943 to destructor breakpoint test, GDB should be able to set the
18944 destructor breakpoint without specifying arguments.
18946 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18948 * gdb.threads/pthreads.exp: Change result for failure to compile due
18949 to lack of pthreads runtime support from an error to simply an
18950 unsupported test, per dejagnu standards.
18952 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18954 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
18955 where GDB exits to reduce pattern match time.
18956 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
18958 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
18960 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
18962 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
18963 * gdb.base/default.exp: ditto.
18964 * gdb.base/nodebug.exp: ditto.
18965 * gdb.base/printcmds.exp: ditto.
18966 * gdb.base/ptype.exp: ditto.
18967 * gdb.base/setvar.exp: ditto.
18968 * gdb.base/structs.exp: ditto.
18969 * gdb.base/setshow.c: Guard against uninitialized values of argc.
18971 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
18973 * configure, */configure: Rebuild with autoconf 2.12.
18975 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
18977 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
18978 use new i*86-pc-linux*-gnu quads.
18979 * gdb.base/corefile.exp: Ditto.
18980 * gdb.base/signals.exp: Ditto.
18981 * gdb.base/sigall.exp: Ditto.
18982 * gdb.base/interrupt.exp: Ditto.
18984 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18985 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
18988 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
18989 linux. This allows the test case to at least compile on latest
18990 linux, but still not run due to missing the threads runtime library.
18992 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18994 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
18995 directory to search gdb directory. Accept and step over conditional
18996 stack alignment code. Consume $prompt in failure cases.
18997 Reset timeout to $oldtimeout instead of some arbitrary value.
18998 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
18999 timeout problems with infinite stack backtraces.
19000 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19001 Accept function parameters for linkfunc member.
19003 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19005 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19006 (CXXFLAGS): Remove, unreferenced.
19007 (B_OPTIONS): Add for -B options and add code to initialize with
19008 previous -B options and also add -B option to pick up cross compiled
19010 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19011 doing cross compiles.
19012 (target_alias): Declare global.
19013 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19014 to verify that gcc exists in build tree, and if so set CC to that
19015 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19017 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19019 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19020 ptype test for anonymous union. Fixup testcase to match
19021 current gcc debug output.
19023 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19025 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19026 force argument to an unsigned long type.
19028 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19030 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19031 tests and anonymous union print/ptype tests.
19032 * gdb.base/list.exp (test_forward-search): Increase timeout by
19033 5 minutes for the "search extremely long line" case.
19034 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19035 completely optional and that the pass/fail messages use the command as
19036 the message if that third arg is a null string.
19037 (gdb_test_exact): Arrange that a null string pattern means match a
19038 null string output rather than any output, which might include random
19040 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19042 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19043 always failing and failure is now exposed by gdb.exp changes.
19045 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19047 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19048 weren't being noted.
19050 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19052 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19053 * gdb.stabs/weird.exp: Remove v_comb xfails.
19055 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19057 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19058 list.exp scope.exp watchpoint.exp]
19059 Make all timeout error msgs explicitly say "(timeout)".
19061 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19063 * config/monitor.exp: Increase download timeout to 1000 seconds.
19065 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19067 * config/m32r.exp: Increase timeout to 120 seconds.
19069 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19071 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19072 and accept older ordering as obsolescent gcc or gdb.
19073 * gdb.c++/templates.exp: Ditto.
19074 * gdb.c++/virtfunc.exp: Ditto.
19076 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19078 * gdb.base/coremaker.c: Add code to mmap some data so we
19079 can check that it ends up in the core file.
19080 * gdb.base/corefile.exp: Add test to read mmapped data
19083 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19085 * config/m32r.exp: New file.
19087 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19089 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19090 that cflags can contains -gstabs, and work correctly for other tests.
19092 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19094 * gdb.base/setshow.exp: New file, tests show and set.
19095 * gdb.base/setshow.c: New file, tests show and set.
19096 * gdb.base/help.exp: Add test for help set|show annotate.
19097 * gdb.base/default.exp: Add test for set|show annotate.
19099 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19101 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19103 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19106 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19108 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19109 and width commands. This is done elsewhere.
19110 * (gdb_start): Don't call gdb_start_sim here. That's already
19111 done in gdb_load. This fixes lots of failures in default.exp.
19113 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19115 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19116 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19117 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19118 in the same we we treat other failures (since it may be an expected
19119 condition), rather than as an error.
19120 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19123 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19125 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19126 (distclean maintainer-clean realclean): No need to remove files
19127 twice. Nuke the duplicates.
19128 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19129 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19130 Remove config.h along with other config files.
19132 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19134 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19135 "p func1 ()" and note that rests of tests are skipped.
19136 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19137 setup_xfails for "print func2::coremaker_local".
19138 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19139 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19140 affected by the previous run test.
19141 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19142 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19143 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19144 "pass int powerset tuple" and "pass modeless int powerset tuple".
19145 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19146 "real write 4" and "real write 8".
19147 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19148 setup_xfails for "print vs1 after tuple assign 2",
19149 "print \$i after tuple assign 2", and
19150 "print vs2 after tuple assign 2".
19151 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19152 meaningful error message and return -1 so the caller can
19153 suppress further tests and avoid a cascade of errors.
19155 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19157 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19158 format for printing version.
19159 * gdb.base/default.exp: Ditto.
19160 * gdb.base/interrupt.exp: Fix problem with cascade of
19161 errors if child process dies while calling a function.
19163 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19165 * Makefile.in (VPATH): Add
19166 * Makefile.in (Makefile, config.status): Fix rules so things get
19167 remade when necessary.
19169 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19171 * Makefile.in (just-check): Add path to sibling expect dir
19172 to environment variable specified by RPATH_ENVVAR.
19174 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19176 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19177 (just-check): Add shared library paths for libstdc++, tk,
19178 tcl, bfd, and opcodes to the environment variable specified
19180 * configure.in: Add support to recognize --enable-shared flag
19181 and generate correct value for RPATH_ENVVAR.
19182 * configure: Regenerated with autoconf.
19184 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19186 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19187 include all osf versions.
19188 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19189 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19190 when target is linux. When failing to build pthreads test
19191 executable, give more meaningful message.
19192 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19193 arg for pthread_create.
19195 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19197 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19198 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19199 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19200 and -lpthreads (everybody else).
19201 (test_startup): Fail gracefully if threads are not supported.
19202 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19203 "p/c array_index("abcdef",2)" when not gcc compiled.
19204 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19205 "print func2::coremaker_local" when not gcc compiled.
19206 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19207 "ptype on opaque struct tagname (statically)",
19208 "ptype on opaque struct tagname (dynamically) 1", and
19209 "ptype on opaque struct tagname (dynamically) 2"
19210 for not compiled with gcc.
19211 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19212 backtrace when compiled with gcc.
19213 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19214 than always return success.
19216 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19218 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19220 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19222 * gdb.base/structs.exp: Undo last change.
19224 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19226 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19227 encapsulate all the steps/nexts done during self test, starting
19228 at main, and makes them less sensitive to optimization issues.
19229 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19230 signal handler" test.
19231 * gdb.threads/pthreads.exp: Only run this for native configs.
19232 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19233 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19235 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19236 for "runto test_calls(void)" test.
19238 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19240 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19241 and don't expect address info in breakpoint confirmations.
19243 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19245 * gdb.base/list.exp (test_forward_search): Increase timeout
19246 temporarily by 60 seconds for searching extremely long line,
19247 and then reset to old value when done. Increase expect input
19250 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19252 * gdb.base/list.exp (test_forward_search): Fix to handle very
19253 long source line without overflowing expect's input buffer.
19255 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19257 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19260 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19263 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19266 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19269 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19271 * configure.in (configdirs): Add gdb.threads.
19272 * configure: Regenerated with autoconf.
19273 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19274 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19275 * gdb.threads/configure: New, generated with autoconf.
19277 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19279 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19281 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19283 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19284 each signal's status in the output of "handle all print".
19285 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19286 the \r\n sequence that immediately precedes the gdb prompt.
19287 * gdb.base/a1-selftest.exp: Save original timeout and restore
19290 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19292 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19295 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19297 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19299 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19301 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19302 timeout by 60 seconds.
19304 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19306 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19307 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19310 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19312 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19313 gdb initialization, also report how long dejagnu waited. Restore
19314 old timeout before doing error return. Temporarily increase timeout
19315 by 3 minutes to allow for slow startups over heavy NFS use.
19317 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19319 * lib/gdb.exp: Report timeout value for verbosity level 2.
19320 * config/gdbserver.exp: Ditto.
19321 * config/hppro.exp: Ditto.
19322 * config/mips-gdb.exp: Ditto.
19323 * config/monitor.exp: Ditto.
19324 * config/netware.exp: Ditto.
19325 * config/sim-gdb.exp: Ditto.
19326 * config/slite-gdb.exp: Ditto.
19327 * config/udi-gdb.exp: Ditto.
19328 * config/unix-gdb.exp: Ditto.
19329 * config/vx-gdb.exp: Ditto.
19330 * gdb.base/a1-selftest.exp: Ditto.
19331 * gdb.base/a2-run.exp: Ditto.
19332 * gdb.base/break.exp: Ditto.
19333 * gdb.base/corefile.exp: Ditto.
19334 * gdb.base/list.exp: Ditto.
19335 * gdb.base/recurse.exp: Ditto.
19336 * gdb.base/scope.exp: Ditto.
19337 * gdb.base/signals.exp: Ditto.
19339 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19341 * gdb.threads/Makefile.in (docdir): Removed.
19343 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19345 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19346 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19348 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19349 autoconf 2.5 or higher.
19350 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19352 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19354 * configure: Regenerated.
19355 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19356 avoid name clashes with SunOS headers.
19358 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19360 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19362 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19364 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19365 prototype information ends up in the compiler info file.
19367 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19369 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19370 attempting to regenerate it. Eliminate use of a temporary file
19371 and just generate the info file directly. Source it immediately,
19372 for consistency of use.
19373 * gdb.base/corefile.exp: Ditto
19374 * gdb.base/exprs.exp: Ditto.
19375 * gdb.base/funcargs.exp: Ditto.
19376 * gdb.base/langs.exp: Ditto.
19377 * gdb.base/list.exp: Ditto.
19378 * gdb.base/mips_pro.exp: Ditto.
19379 * gdb.base/nodebug.exp: Ditto.
19380 * gdb.base/opaque.exp: Ditto.
19381 * gdb.base/ptype.exp: Ditto.
19382 * gdb.base/scope.exp: Ditto.
19383 * gdb.base/setvar.exp: Ditto.
19384 * gdb.base/signals.exp: Ditto.
19385 * gdb.base/whatis.exp: Ditto.
19386 * gdb.c++/templates.exp: Ditto.
19387 * gdb.c++/virtfunc.exp: Ditto.
19388 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19389 whether or not to add -lstdc++ to the compile command line args.
19391 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19393 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19394 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19395 Increase timeout, a lot of single stepping might be needed if the
19396 target has no hardware watchpoints.
19398 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19400 * gdb.base/break.exp: Ignore compiler warnings when compiling
19402 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19403 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19405 * gdb.base/exprs.exp: Add h8300 xfails.
19406 * gdb.base/funcargs.exp: Likewise.
19407 * gdb.base/nodebug.exp: Likewise.
19408 * gdb.base/printcmds.exp: Likewise.
19409 * gdb.base/ptype.exp: Likewise.
19410 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19412 * gdb.base/return.exp: Handle float/double precision problems
19414 * gdb.base/funcargs.c: Explicitly make last constant argument to
19415 call_after_alloca_subr an unsigned long type.
19416 * gdb.base/return.c: Include stdio.h.
19418 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19420 * config/abug.exp: New file for the older Motorola Bug monitor
19421 that runs on the mvme13x series VME boards.
19422 * config/monitor.exp: Use the new config array for target settings
19425 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19427 * sim-gdb.exp: Make the SH simulator allocate less space when
19430 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19432 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19435 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19437 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19438 "rs6000-*-*" for "list function in include file" when gcc compiled.
19439 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19440 for "p ctable1[120]".
19441 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19442 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19443 Remove setup_xfail for "rs6000-*-*" for
19444 "print 'scope0.c'::filelocal before run".
19445 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19446 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19447 since some compilers don't allow both options to be given
19448 on the same command line. Create object file and move it.
19450 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19452 * gdb.base/corefile.exp: Always regenerate the core file, since
19453 we always regenerate the coremaker program. Detect special case
19454 where registers cannot be read from core file.
19456 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19458 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19459 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19460 * gdb.c++/templates.exp: Only match on basename of file since
19461 some formats like xcoff don't encode directory information.
19462 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19463 and rs6000 AIX xcoff targets.
19464 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19465 * configure: Regenerate.
19466 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19467 here, rather than in distclean.
19469 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19471 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19472 defined, and use it to compile the test case with -O2. The
19473 native compilation still uses no optimization.
19474 * gdb.base/mips_pro.c: Remove inline assembly code since
19475 it is compiled PIC by default, which results in assembler
19476 warnings that make the testsuite think the compilation
19479 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19481 * gdb.c++/misc.exp: Add note to message for
19482 "print s.a for foo struct" that this is a known gcc 2.7.2
19485 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19487 * gdb.base/break.exp: Fix pattern for matching "Delete all
19488 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19489 setup_xfail for deleting all breakpoints test. Fix various
19490 timeout messages to include "(timeout)".
19491 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19492 for "p t_float_values2(3.14159,float_val2)".
19493 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19494 for "continue to call2g" when gcc compiled.
19495 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19496 "up to foo in langs.exp", "show language at foo in langs.exp",
19497 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19498 and "show language at fsub in langs.exp".
19499 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19500 "list line 1 in include file", "list message for lines past EOF",
19501 "list function in include file", "list list0.h:foo", and
19502 "list filename:function; nonexistant function".
19503 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19504 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19505 and "ptype t_char_array" to be for native cc only.
19507 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19509 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19510 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19511 "print func2::coremaker_local", and "backtrace in corefile.exp".
19513 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19515 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19516 "bt in signals.exp". This problem only appears when running
19517 the testsuite, and then only intermittently.
19519 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19521 * gdb.base/return.exp (return_tests): Differentiate between
19522 two tests of continuing.
19524 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19526 * */Makefile.in (maintainer-clean): Remove config.log.
19527 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19528 * gdb.c++/Makefile.in (PROGS): Add inherit.
19529 (clean): Remove *.ci.
19531 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19533 * gdb.c++/misc.cc: Add test code from Mike Stump.
19534 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19536 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19538 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19539 to "alpha-*-osf2*" and add comment.
19540 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19541 setup_xfail for "step over execarg initialization" and
19542 "step over corearg initialization".
19543 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19544 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19545 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19546 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19547 "print func2::coremaker_local", and "backtrace in corefile.exp".
19548 * gdb.base/signals.exp: Build and source signals.ci.
19549 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19550 to be for gcc only.
19551 * lib/gdb.exp: Move verbose statements outside conditionals.
19553 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19555 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19556 Feb 3 procfs.c change.
19558 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19560 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19562 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19564 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19565 from dejagnu's apparent default of 10 seconds, which gives random
19566 results when running the tests over NFS on moderately loaded systems.
19567 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19569 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19571 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19572 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19575 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19577 * configure.in (CY_AC_PATH_TCLH): Remove.
19578 * configure: Regenerate.
19580 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19582 * gdb.c++/Makefile.in (clean): Add missing '{'.
19584 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19586 * lib/gdb.exp: Provide a default value for noinferior.
19588 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19591 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19593 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19594 the executable, not the .o to run the tests from.
19596 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19598 * gdb.base/break.exp: Don't test for program exit or exit status
19599 if $noresults if nonzero.
19600 * gdb.base/langs.exp: Likewise.
19601 * gdb.base/watchpoint.exp: Likewise.
19603 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19604 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19605 trying to compile the testcase.
19607 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19609 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19610 * gdb.base/signals.exp (continue to handler): Likewise.
19612 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19614 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19616 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19618 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19620 * gdb.base/corefile.exp: Recognize "not found" as failure
19621 when trying to determine if a core file was generated.
19622 If no core file was generate the first time, try again without
19623 the ulimit -c to work around braindamaged shells.
19625 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19627 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19628 [] tests with "test" and enclose string in quotes.
19629 * gdb.stabs/configure: Rebuild
19631 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19633 Changes in sync with expect:
19634 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19635 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19636 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19637 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19638 argument to AC_REQUIRE.
19639 * configure: Regenerated.
19641 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19643 * gdb.base/corefile.exp: When generating a core, discard any
19644 error messages about ulimit not found and the "core dumped"
19645 message from the shell that runs the coredumper.
19647 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19649 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19651 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19652 which sed script to run. Expect failure for v_comb test
19655 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19657 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19658 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19660 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19662 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19663 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19664 "sparc-sun-solaris*" xfails for "p v_comb".
19665 * lib/gdb.exp (default_gdb_start): Fix typo.
19666 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19667 messages to not include the full program name that caused
19668 the core dump since some systems (such as solaris) apparently
19669 truncate this path to about 80 characters.
19670 When generating a core file first try increasing the core file
19671 size limit to unlimited since some systems may default it to
19672 zero, and it is harmless to try it. Move the test for failing
19673 to generate a core file to where it will actually get executed.
19674 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19675 new gdb result from g++ debug info improvements and make old
19676 pattern obsolescent. Also account for size_t differences
19677 (may be int or long).
19678 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19679 initialization before function call is placed in the delay slot
19680 and thus appears to be skipped over by commands such as "next".
19682 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19684 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19686 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19688 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19689 input source file; fix code to compile test to deal with this
19691 * gdb.c++/*.exp: Likewise.
19693 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19695 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19696 "bt in signals.exp".
19698 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19700 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19701 "step over execarg initialization" and
19702 "step over corearg initialization".
19704 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19706 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19707 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19709 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19711 From Rob Savoye (rob@poseidon.cygnus.com)
19712 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19713 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19714 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19715 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19716 configure.in}: Major reworking for autoconfig.
19717 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19718 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19720 * config/unix-gdb.exp: Make GDB global.
19721 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19722 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19723 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19724 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19725 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19726 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19727 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19728 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19729 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19730 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19731 pr-8136.exp, result.exp, string.exp, tuples.exp},
19732 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19733 to returns as necessary, arrange for test to compile own testcase
19735 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19737 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19739 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19740 clear_xfail at end of test which might not call either pass or fail.
19741 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19742 "backtrace through signal handler".
19744 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19746 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19747 continuing from a job control stop signal.
19748 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19750 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19752 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19753 * gdb.base/corefile.exp: Likewise.
19754 * gdb.base/funcargs.exp: Likewise.
19756 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19758 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19759 * config/monitor.exp: Add support for setting baud rate.
19761 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19763 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19764 i*86-*-linux* xfails for "backtrace through signal handler".
19765 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19766 "print func2::coremaker_local".
19767 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19768 alpha-dec-osf2* xfail for
19769 "delete all breakpoints when none".
19771 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19773 * gdb.base/break.exp: Change test that deletes all breakpoints
19774 when no user breakpoints are installed. A post 4.15 change
19775 causes gdb to no longer prompt in this case.
19777 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19779 * gdb.base/return.exp (return_tests): Change xfail for test
19780 "correct value returned double test" to stop xfailing at
19781 Solaris 2.5. Apparently the bug has been fixed.
19783 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19785 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19786 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19788 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19790 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19791 * gdb.disasm/hppa.s: Corresponding changes.
19793 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19795 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19797 * config/mt-hpux: Deleted.
19799 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19801 * Many files: When warning about suppressed tests due to a
19802 nonexistant test binary, avoid incrementing the warning count.
19804 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19806 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19808 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19810 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19811 "sparc-*-solaris2*".
19813 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19815 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19816 Add global and local variables and initialize them.
19817 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19818 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19819 extracts the file name and terminating signal from the core file.
19820 * TODO: Remove note about tests for correct mapping of corefile.
19821 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19822 from optimizing it away.
19823 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19824 handles common blocks.
19826 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19828 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19829 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19831 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19833 * Makefile.in (maintainer-clean): New target, synonym for
19835 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19836 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19837 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19838 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19839 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19840 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19842 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19844 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19845 xfails when not gcc compiled for "print foo::funclocal".
19846 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19847 "print foo::funclocal at foo",
19848 "print 'scope1.c'::foo::funclocal at foo",
19849 "print foo::funclocal_bss at foo",
19850 "print 'scope1.c'::foo::funclocal_bss at foo",
19851 "print foo::funclocal_ro at foo",
19852 "print 'scope1.c'::foo::funclocal_ro at foo",
19853 "print bar::funclocal at foo" and
19854 "print 'scope1.c'::bar::funclocal at foo".
19855 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19856 gcc compiled for "print foo::funclocal at bar".
19857 Expand all messages to ensure that they identify that
19858 the test is at bar().
19859 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19861 "ptype on opaque struct pointer (statically)",
19862 "ptype on opaque struct tagname (statically)",
19863 "ptype on opaque struct pointer (dynamically) 1",
19864 "ptype on opaque struct tagname (dynamically) 1",
19865 "ptype on opaque struct pointer (dynamically) 2" and
19866 "ptype on opaque struct tagname (dynamically) 2
19867 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19870 "whatis datalocal",
19873 "whatis bsslocal", and
19875 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19876 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19877 when not gcc compiled.
19878 * gdb.base/funcargs.exp (float_and_integral_args): Add
19879 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19881 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19882 "backtrace from call6a" when not gcc compiled.
19883 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19884 "backtrace from call7a" when not gcc compiled.
19885 * gdb.base/callfuncs.exp (do_function_calls):
19886 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19887 "p t_char_array_values(char_array_val2,char_array_val1)",
19888 "p t_char_array_values(char_array_val1,char_array_val2)",
19889 "p t_char_array_values("carray 1","carray 2")",
19890 "p t_char_array_values("carray 1",char_array_val2)",
19891 "p t_char_array_values(char_array_val1,"carray 2")",
19892 "p sum_args(1,{2})",
19893 "p sum_args(2,{2,3})",
19894 "p sum_args(3,{2,3,4})",
19895 "p sum_args(4,{2,3,4,5})"
19896 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19897 "backtrace in corefile.exp" when not gcc compiled.
19899 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19901 * gdb.base/signals.exp: Rewrite `handle all print' test as
19902 a procedure. Accept blanks or TABs as whitespace, increase
19903 timeout and expect input buffer size for the large output
19904 from the command. Remove "i*86-*-bsdi2.0" xfail.
19906 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19908 * gdb.base/setvar.exp: Add new testcases for truncation when
19909 assigning invalid values to bitfields.
19911 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19913 * gdb.base/callfuncs.exp (do_function_calls): Remove
19914 mips-sgi-irix* xfail for
19915 "call inferior func with struct - returns char *"
19916 and fix test so that an optional (unsigned char *) cast is
19917 accepted in the result.
19919 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19921 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19922 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19923 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19924 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19925 that accidentally got checked in.
19927 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19929 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
19930 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19932 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19933 Add mips-sgi-irix5* xfail for not gcc compiled.
19934 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19935 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19936 "p top", "whatis top", "p middle", and "whatis middle".
19937 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19938 "whatis signed char" for not gcc compiled.
19939 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19940 "set variable signed char=-1 (-1)" and
19941 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19942 * gdb.base/funcargs.exp (float_and_integral_args):
19943 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19944 Add mips-sgi-irix* xfail when not gcc compiled for
19945 "continue to call2b".
19946 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19947 "continue to call2g".
19948 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19949 "backtrace from call6a"
19950 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
19951 "backtrace from call7k".
19952 Add mips-sgi-irix5* xfail when not gcc compiled for
19953 "backtrace from call7a".
19954 (localvars_after_alloca): Fix gdb_test cmds for
19955 "print * after runto ...".
19956 Remove rs6000-*-* xfails for
19957 "print i after runto localvars_after_alloca" and
19958 "print l after runto localvars_after_alloca"
19960 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
19961 when not compiled with gcc, for:
19962 "print signed char == (minus)",
19963 "print signed char != (minus)",
19964 "print signed char < (minus)",
19965 "print signed char > (minus)".
19966 * gdb.base/callfuncs.exp (do_function_calls):
19967 Add mips-sgi-irix* xfail, when compiled with native compiler, for
19968 "call inferior func with struct - returns char *".
19969 * gdb.base/return.exp (return_tests): Change xfail for
19970 "correct value returned double test" to include Solaris 2.4.
19971 * gdb.base/funcargs.exp (float_and_integral_args):
19972 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19974 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19976 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
19977 enumeration bitfields if compiling with GNU C.
19978 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
19981 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19983 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19984 test for PRO targets.
19986 * gdb.base/funcargs.exp: Avoid ever setting more than 8
19987 breakpoints in the inferior at any given time by making
19988 two groups of breakpoints for call2*, call6* and call7*
19991 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19993 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
19994 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
19995 from optimizing it away.
19996 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
19997 "call inferior func with struct".
19999 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20001 * configure.in: Only configure gdb.chill for particular targets.
20003 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20005 * gdb.base/Makefile.in: Add action to .c.o transformation
20006 rule that generates a .ci file for each .o file and remove
20007 explicit .c.o rules except for callfuncs.o.
20008 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20009 generates a .ci file for each .o file and remove explicit
20011 (clean): Remove *.tmp *.ci files.
20012 (EXECUTABLES): Remove templ-info.exp.
20013 * gdb.base/compiler.c: New file.
20014 * gdb.c++/compiler.cc: New file
20015 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20016 Change rs6000-*-* xfail for
20017 "print 'scope0.c'::filelocal_ro" and
20018 "print 'scope1.c'::filelocal" and
20019 "print 'scope1.c'::filelocal_bss" and
20020 "print 'scope1.c'::filelocal_ro" and
20021 "print 'scope1.c'::foo::funclocal" and
20022 "print 'scope1.c'::foo::funclocal_ro" and
20023 "print 'scope1.c'::bar::funclocal" and
20024 "print 'scope0.c'::filelocal_ro" and
20025 "print 'scope1.c'::filelocal at foo" and
20026 "print 'scope1.c'::filelocal_bss at foo" and
20027 "print 'scope1.c'::filelocal_ro at foo" and
20028 "print 'scope1.c'::foo::funclocal at foo" and
20029 "print 'scope1.c'::foo::funclocal_bss at foo" and
20030 "print 'scope1.c'::foo::funclocal_ro at foo" and
20031 "print 'scope1.c'::bar::funclocal at foo" and
20032 "print 'scope0.c'::filelocal_ro" and
20033 "print 'scope1.c'::filelocal" and
20034 "print 'scope1.c'::filelocal_bss" and
20035 "print 'scope1.c'::filelocal_ro" and
20036 "print 'scope1.c'::foo::funclocal" and
20037 "print 'scope1.c'::foo::funclocal_bss" and
20038 "print 'scope1.c'::foo::funclocal_ro" and
20039 "print 'scope1.c'::bar::funclocal" and
20040 "print 'scope1.c'::bar::funclocal_bss"
20041 to only be xfail'd when not compiled with gcc.
20042 Add rs6000-*-* xfail for
20043 "print 'scope0.c'::filelocal_bss before run"
20044 when compiled with gcc.
20045 (test_at_main): Add rs6000-*-* xfail for
20046 "print filelocal_ro in test_at_main"
20047 when compiled with gcc.
20048 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20049 Add rs6000-*-aix* xfail for
20050 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20051 "ptype t_char_array", not compiled with gcc.
20052 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20053 xfail for "list foo (in include file)" when gcc compiled.
20054 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20055 (integral_args): Add rs6000-*-* xfail for
20056 "run to call0a" if not compiled with gcc.
20057 (unsigned_integral_args): Add rs6000-*-* xfail for
20058 "run to call1a" if not compiled with gcc.
20059 (float_and_integral_args): Add rs6000-*-* xfail for
20060 "run to call2a" if not compiled with gcc and for
20061 "continue to call2b" for any compiler.
20062 Add rs6000-*-* xfail to
20063 "print f1 after run to call2a" for gcc compiled.
20064 (discard_and_shuffle): Add rs6000-*-* xfail for
20066 (shuffle_round_robin): Add rs6000-*-* xfail for
20067 "backtrace from call7a" if not compiled with gcc.
20068 Add rs6000-*-* xfail for
20069 "backtrace from call7b" if compiled with gcc.
20070 (call_after_alloca): Add rs6000-*-* xfail for
20071 "print c in call_after_alloca" and
20072 "print s in call_after_alloca" and
20073 "backtrace from call_after_alloca_subr"
20074 if not compiled with gcc.
20075 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20076 "print c in localvars_in_indirect_call" and
20077 "print c in localvars_in_indirect_call" and
20078 "backtrace in indirectly called function" and
20079 "stepping into indirectly called function"
20080 if not compiled with gcc.
20081 (localvars_after_alloca): Add rs6000-*-* xfail for
20082 "print c after runto localvars_after_alloca" and
20083 "print s after runto localvars_after_alloca" and
20084 "print i after runto localvars_after_alloca" and
20085 "print l after runto localvars_after_alloca"
20087 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20088 than whatis-info.exp.
20089 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20090 than opaque-info.exp.
20091 Setup rs6000-*-* xfail for
20092 "ptype on opaque struct pointer (statically)" and
20093 "ptype on opaque struct pointer (dynamically)" when
20094 not compiled with gcc.
20095 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20096 rather than callf-info.exp.
20097 (do_function_calls): Add clear_xfail for rs6000-*-* for
20098 "p t_float_values2(3.14159,float_val2)". Seems to work
20099 fine there, both with xlc and gcc. Need to find out what
20100 it is doing right and fix other platforms.
20101 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20102 "call inferior func with struct - returns int",
20103 "call inferior func with struct - returns long",
20104 "call inferior func with struct - returns float",
20105 "call inferior func with struct - returns double",
20106 "call inferior func with struct - returns char *",
20107 but only if not gcc compiled (presumes xlc compiled).
20108 Change rs6000-*-* xfails for
20109 "call inferior func with struct - returns char" and
20110 " call inferior func with struct - returns short" to only
20111 xfail if not using gcc.
20112 (clean mostlyclean): Remove *.ci and *.tmp files.
20113 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20114 than templ-info.exp.
20115 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20116 Add rs6000-*-* xfail for "up to foo in langs.exp"
20117 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20118 when not gcc compiled.
20120 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20122 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20123 * gdb.base/corefile.exp: Likewise.
20124 * gdb.base/list.exp: Likewise.
20125 * gdb.base/scope.exp: Likewise.
20126 * gdb.base/siganls.exp: Likewise.
20128 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20130 * gdb.base/whatis.exp: Likewise.
20132 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20134 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20135 failure (opcode table has been fixed to match reality).
20137 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20139 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20140 "call inferior func with struct - returns char",
20141 "call inferior func with struct - returns short"
20143 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20144 "print 'scope0.c'::filelocal at main",
20145 "print 'scope0.c'::filelocal_bss in test_at_main",
20146 "print 'scope0.c'::filelocal at foo",
20147 "print 'scope0.c'::filelocal_bss in test_at_foo",
20148 "print 'scope0.c'::filelocal at bar",
20149 "print 'scope0.c'::filelocal_bss in test_at_bar"
20151 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20152 in source file 1". This bug seems to have been fixed with both
20153 gcc and native cc (was native assembler bug?).
20155 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20157 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20158 "backtrace through signal handler" to "i*86-*-sysv4*".
20159 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20160 continue" case. Add "known SVR4 bug" to fail message.
20161 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20162 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20163 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20164 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20165 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20166 "up to foo in langs.exp", "show language at foo in
20167 langs.exp", "up to cppsub_ in langs.exp", "show
20168 language at cppsub_ in langs.exp", "up to fsub in
20169 langs.exp", and "show language at fsub in langs.exp".
20170 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20171 "bactrace in corefile.exp".
20172 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20173 "call inferior function with struct - returns float" and
20174 "call inferior function with struct - returns double".
20176 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20178 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20179 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20180 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20181 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20183 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20185 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20186 (or overriden) "CHILL" macro rather then bare "gcc".
20187 Also look for ../../gcc/xgcc since that is what we will
20188 actually need, not "Makefile". Remove following assignment
20189 of CHILL to CHILL_FOR_TARGET because that results in
20190 recursive definition.
20192 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20194 * gdb.base/corefile.exp: Change xfail for backtrace in
20195 corefile.exp from linuxaout to all linux.
20196 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20197 cases where we miss the breakpoint at the signal handler
20198 for some reason. Setup xfail for linuxoldld/linuxaout and
20199 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20200 hitting SIGURG breakpoint.
20201 * gdb.base/signals.exp: Setup xfail for "next" acting like
20202 continue to add linuxoldld. Setup xfail for all linux for
20203 "next to handler in signals_tests_1", "backtrace in
20204 signals_tests_1", "continue to func1", "pass SIGUSR1",
20205 and continue to handler".
20207 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20209 * Update all FSF addresses except those in COPYING* files.
20211 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20213 * gdb.base/a2-run.exp: Change messages to be more explicit about
20214 the status of args, and quote binfile in results.
20216 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20218 * gdb.base/callfuncs.exp: Add tests for passing structs to
20219 inferior functions and return various types.
20220 * gdb.base/callfuncs.c: Add functions to receive a struct
20221 and return a member of the struct, in various types.
20223 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20225 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20227 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20229 * config/vxworks29k.exp: New file, sources vxworks.exp.
20231 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20233 * config/gdbremote.exp: New file. Testing framework using
20236 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20238 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20239 "call function when asleep" and "send end of file".
20240 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20241 for "backtrace in corefile.exp".
20242 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20243 for "backtrace through signal handler".
20244 * gdb.base/corefile.exp: Make sure we actually generate a core file
20245 before trying the core tests. Some systems allow the user to suppress
20246 generation of core files and default to that (linux for example).
20247 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20248 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20250 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20252 * gdb.threads: New directory with some crude multi-threaded
20253 gdb tests (step.exp and step2.exp).
20254 * config/mt-lynx (STEP_EXECUTABLE): Define.
20255 (THREADFLAGS): Define.
20257 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20259 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20261 * gdb.base/signals.exp: Disable whole file for lynx until
20264 * gdb.base/signals.exp: xfail test where "next" acts like
20265 "continue" for lynx.
20267 * gdb.base/interrupt.exp: xfail test for calling function while
20268 inferior is asleep for lynx.
20270 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20271 than one cr-lf after each command.
20273 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20275 * configure.in: Reinstate setting of stabsdirs variable, fix
20276 typo in setting up configdirs for native builds.
20278 * gdb.base/return.exp: Fix typo in return double test.
20279 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20280 compiler from optimizing them away.
20282 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20284 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20285 sequences to be echo'd by gdb when using gdb_test.
20286 * gdb.chill/chexp.exp: Likewise.
20287 * gdb.fortran/exprs.exp: Likewise
20289 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20291 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20292 after the inferior gdb has started.
20294 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20295 after each command.
20296 * gdb.base/funcargs.exp: Likewise.
20297 * gdb.base/gdbvars.exp: Likewise.
20298 * gdb.base/interrupt.exp: Likewise.
20299 * gdb.base/list.exp: Likewise.
20300 * gdb.base/watchpoint.exp: Likewise.
20301 * gdb.c++/demangle.exp: Likewise.
20302 * gdb.c++/inherit.exp: Likewise.
20303 * gdb.chill/chexp.exp: Likewise.
20304 * gdb.fortran/exprs.exp: Likewise.
20306 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20307 test if we can't handle IO to/from the inferior.
20309 * gdb.c++/misc.exp: Always check for a program already being
20310 started after sending a "run" command to gdb.
20312 * gdb.base/twice.exp: Start with a fresh gdb.
20314 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20315 only depend on gdb's expression code, not the chill runtime.
20317 * gdb.base/return.c: Put return values into variables so we
20318 can have gdb print them rather than depending on the program
20320 * gdb.base/return.exp: Corresponding changes.
20322 * lib/gdb.exp: Provide default value for noinferiorio.
20323 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20326 * gdb.base/break.exp: Always check for a program already being
20327 started after sending a "run" command to gdb.
20328 (text_next_with_recursion): Don't check the output from the
20329 program's printf statement. Instead just make sure the program
20332 * gdb.base/commands.exp: Protect tests which need arguments with
20333 $noargs conditionals.
20335 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20337 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20338 of structure member arrays to match gdb/valops.c:value_addr change.
20340 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20342 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20345 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20347 * configure.in (configdirs): Remove gdb.chill from default list
20348 of subdirs and then add it back in only if doing a native build.
20349 The current chill compiler does not yet work in any cross build.
20350 * Revert all signal changes from Jul 6.
20351 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20352 for sh-hms targets, allowing these tests to link, with no other
20353 changes. Testing is suppressed by setting "nosignals" in site.exp.
20355 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20357 * configure.in (signaldirs): Define and add to configdirs for all
20358 targets except some specific ones that are known to not support signals.
20359 Also clean up formatting.
20360 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20361 (signals, sigall): Remove rules to build.
20362 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20363 Moved to new gdb.signals directory.
20364 * gdb.signals: New test directory.
20365 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20366 signals.c signals.exp}: New or moved files.
20368 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20370 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20372 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20374 * gdb.base/return.exp: Xfail `return double' test failure
20375 on at least Solaris 2.3 and handle future/past versions on
20376 a case by case basis as appropriate. Also update message
20377 to include i*86 failures.
20379 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20381 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20383 * lib/gdb.exp: Fix comment which erroneously identified
20384 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20385 gdb_file_cmd not gdb_load).
20386 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20388 * gdb.base/setvar.exp: Make test names consistent between pass and
20389 fail cases. Use gdb_test more.
20391 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20393 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20395 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20397 * gdb.base/help.exp: Fix expected help string for `show commands'.
20399 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20401 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20403 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20406 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20408 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20409 that loop eventually terminates. Fix Connection refused logic so
20410 that testsuite will expire nicely.
20412 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20414 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20415 config/rom68k.exp: New tcl glue for the appropriate monitors.
20416 These all just end up calling monitor.exp.
20417 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20418 refused' by retrying. Cleanup some timeout issues.
20419 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20420 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20421 callers don't have to set/restore global timeout variable.
20423 * The following set of changes centralizes management of the global
20424 timeout variable. This way, it can be set in one target dependent
20425 place instead of dozens of places scattered throughout the test suite.
20426 If you need to lengthen a timeout, then you should either set timeout
20427 in one of the config/{target}.exp files, or multiply it by a factor.
20428 Setting it to an absolute value is always going to lose for some
20430 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20431 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20432 * gdb.base/funcargs.exp: Don't set timeout.
20433 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20434 * gdb.base/printcmds.exp (test_print_string_constants
20435 test_print_array_constants): Don't set timeout.
20436 * gdb.base/ptype.exp: Don't set timeout.
20437 * gdb.base/recurse.exp: Don't set timeout.
20438 * gdb.base/return.exp: Don't set timeout.
20439 * gdb.base/watchpoint.exp: Don't set timeout.
20440 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20441 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20443 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20445 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20447 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20449 * lib/gdb.exp: Disable chill tests for irix5.
20451 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20453 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20454 each test pass or fail.
20456 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20458 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20461 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20463 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20465 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20467 * config/est.exp: Fix copyright and comments. Remove dead code.
20468 Use targetname, serialport and baud variables instead of fixed
20470 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20471 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20473 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20475 * gdb.base/watchpoint.exp: Don't run
20476 test_watchpoint_triggered_in_syscall for sunos.
20478 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20480 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20481 they don't seem to exist. Do include stdio.h.
20483 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20485 * gdb.base/a1-selftest.exp: Add alpha xfail.
20487 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20489 * gdb.base/watchpoint.c (main): Prompt before calling read().
20490 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20491 Revise accordingly. Remove cruft about sending "123" several
20492 times, until it gets noticed. Clean up the "print buf[0]" stuff
20493 so that it passes or fails, and waits for prompts in the usual way.
20495 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20497 * gdb.base/recurse.exp: Fix comment.
20499 * TODO: Remove item about printing variables in nodebug.exp. Add
20500 item about enabling tests which are only run on some targets.
20502 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20503 fail, make test names unique, use new gdb_test convention
20504 regarding pattern, use gdb_test more, etc.).
20506 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20507 fail, make test names unique, etc.).
20509 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20511 * gdb.base/nodebug.c: Change return type of top and middle to
20513 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20514 are fixed by the recent mdebugread.c changes. Allow `short ()'
20515 as type for top and middle.
20517 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20519 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20520 nearly as I can tell, the whole thing was an accident in Stu's
20521 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20522 to replace a send/expect pair with gdb_test, but ended up only
20523 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20524 of 30 Mar 1995 took care of it, but left this vestigial comment
20525 which I am now nuking.
20527 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20529 * gdb.base/break.exp: Look for different line number for
20530 breakpoint at main depending on usestubs.
20532 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20534 * gdb.base/list.exp: Adjust some alternate expect patterns to
20535 match recent list0.c change. Add alternate expect pattern for
20536 output from `list default lines around main' for optimizing
20539 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20541 * lib/gdb.exp: If nosignals is not set, set it to 0.
20543 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20545 * config/slite-gdb.exp: Responds to load symbol table prompt.
20546 * gdb.base/break.exp: Adjust line number, fix rerun.
20547 * gdb.base/langs0.c: Add #ifdef usestubs.
20549 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20551 * gdb.base/list.exp: Adjust line contents after adding new lines in
20552 list0.c. Also fix a syntax error.
20554 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20555 * gdb.base/break.exp: ditto.
20556 * gdb.base/list.exp: ditto.
20557 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20558 * gdb.base/run.c: ditto.
20559 * gdb.base/list0.c: ditto.
20560 * gdb.base/funcargs.c: ditto.
20562 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20564 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20565 $targetname, $serialport and $baud instead of hardwired variables.
20566 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20567 target doesn't support signals.
20569 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20571 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20573 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20575 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20576 Don't rely on the value of an auto variable before it has been
20577 initialized. Use gdb_test more.
20579 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20581 * lib/gdb.exp (default_gdb_version): A version number must start
20582 with a digit, but other than that contains all characters up to
20583 the first whitespace character.
20585 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20587 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20589 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20591 * gdb.c++/*.exp: Warn if executable does not exist. The original
20592 reason for skipping the warning was that configure.in sometimes
20593 intentionally skipped building the executables but the tcl code
20594 had no way of knowing. That (a) was always bogus with respect to
20595 error handling, (b) is no longer true (right now there is no way
20596 to skip C++ tests).
20598 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20600 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20602 * gdb.base/list.exp: Add expect patterns for output from
20603 SunPRO compiled executables.
20604 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20607 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20609 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20610 number (we are already testing that the correct source line text
20613 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20614 that is what is intended, but something needed to be done to get
20615 sunos4 native working again.
20617 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20619 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20620 apparently went with a (very) old xfail.
20622 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20624 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20625 runto_main is a proc in gdb.exp that will do 'step' for target use
20627 * gdb.base/exprs.exp: ditto.
20628 * gdb.base/interrupt.exp: ditto.
20629 * gdb.base/opaque.exp: ditto.
20630 * gdb.base/printcmds.exp: ditto.
20631 * gdb.base/ptype.exp: ditto.
20632 * gdb.base/scope.exp: ditto.
20633 * gdb.base/setvar.exp: ditto.
20634 * gdb.base/signals.exp: ditto.
20635 * gdb.base/twice.exp: ditto.
20636 * gdb.c++/classes.exp: ditto.
20637 * gdb.c++/inherit.exp: ditto.
20638 * gdb.c++/templates.exp: ditto.
20639 * gdb.base/break.exp: no run and hit main for stubs. Change line
20640 numbers for breakpoints and info breakpoint.
20641 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20643 * gdb.base/callfuncs.c: ditto.
20644 * gdb.base/exprs: ditto.
20645 * gdb.base/interrupt.c: ditto.
20646 * gdb.base/opaque0.c: ditto.
20647 * gdb.base/printcmds.c: ditto.
20648 * gdb.base/ptype.c: ditto.
20649 * gdb.base/scope0.c: ditto.
20650 * gdb.base/setvar.c: ditto.
20651 * gdb.base/signals.c: ditto.
20652 * gdb.base/twice.c: ditto.
20653 * gdb.c++/misc.cc: ditto.
20654 * gdb.c++/templates.cc: ditto.
20656 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20658 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20660 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20661 somewhere between `read' and `main.c'. I'm pretty sure the
20662 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20663 and it isn't particularly useful.
20665 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20667 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20669 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20671 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20673 * config/mt-slite: add LIBS and -nostdlib.
20674 * config/slite-gdb.exp: add this new file to support sparclite target.
20676 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20678 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20680 * gdb.base/a2-run.exp: Change argument to istarget from
20681 "*-*-vxworks" to "*-*-vxworks*".
20682 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20684 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20686 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20687 will not runto main but do a 'step' to step out of breakpoint().
20688 * config/mt-slite: add -Dusestubs.
20690 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20692 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20695 * gdb.base/signals.exp: Add test for "handle all print".
20696 * TODO: Remove "handle all print". Also remove item about
20697 checking copyright date (I don't like the idea of a spurious FAIL
20698 based on when we run the tests).
20700 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20701 for SunOS4 (reason for failure not investigated). Remove
20702 redundant test for $binfile.
20704 * gdb.base/nodebug.c (array_index): Call malloc.
20706 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20708 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20710 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20711 conventions and slightly simplify the matching regexp.
20713 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20715 * gdb.base/break.exp: Update gdb_test invocation to use new
20718 * lib/gdb.exp: If noargs is not set, set it to 0.
20720 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20723 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20725 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20727 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20728 one argument of type "<non-float parameter>".
20730 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20732 * config/rom68k.exp: New file to support Motorola IDP board.
20733 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20734 * gdb.base/break.c: Change things around so that this program
20735 doesn't depend upon args. This is necessary to make remote
20736 targets work (in general, they can't take args).
20737 * gdb.base/break.exp: Don't try to send args to program. Don't
20738 expect output. Also, replace lots of code with gdb_test.
20740 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20742 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20743 printing of '\'' (which is what the comment says we are testing,
20744 even though we were not), not '''.
20745 (test_integer_literals_rejected): Test that printing ''' is an error.
20747 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20748 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20749 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20750 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20751 Use gdb_test not test_print_accept.
20752 * lib/gdb.exp: Remove test_print_accept.
20754 * gdb.base/signals.exp (signal_tests_1): Make pass message
20755 consistent with fail message.
20757 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20758 unsigned char; the bug (PR 1821) is fixed.
20760 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20762 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20763 successful tests--makes xfailing them work right.
20765 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20767 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20768 only \r\n, not .*. The test can pass .* as the last thing in
20769 $pattern if that is what it wants. In addition to providing this
20770 flexibility, this change should speed up pattern matching in cases
20771 where the pattern already ended with .* (there were a number of
20772 them). This change also helps catch bad patterns--in the old
20773 scheme the typo "char \*" instead of "char \\*" would pass. Now
20775 * Many .exp files: Update callers.
20777 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20778 clearer and does not spuriously match multiple ('s. Likewise for
20781 * gdb.base/nodebug.exp: Test ability to call a function and pass
20782 it a string (even with no debugging info).
20784 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20785 "p '\'", which is the same as "p ''" once tcl gets done with
20786 quoting, to "p '\\'", which I suspect is what is intended (one
20787 backslash gets sent to GDB).
20789 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20791 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20793 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20794 1817) was fixed literally years ago.
20796 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20798 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20799 test, it causes stepping out of call_after_alloca_subr with
20800 optimizing compilers.
20801 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20804 * gdb.c++/templates.exp: Source templ-info.exp only if
20805 the templates executable exists.
20807 * gdb.c++/misc.cc (class Contains_static_instance,
20808 class Contains_nested_static_instance),
20809 gdb.c++/classes.exp (test_static_members): Test printing of
20810 a class that contains a static instance of the class.
20812 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20814 * gdb.base/langs2.c (cppsub_): Don't prototype.
20815 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20818 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20820 * lib/gdb.exp (skip_chill_tests): New procedure.
20822 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20824 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20826 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20827 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20829 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20831 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20833 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20834 disassemble 8, not 16, instructions for part 4.
20836 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20837 support the latter anymore.
20839 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20841 * gdb.base/callfuncs.c: Control use of prototypes based on
20842 NO_PROTOTYPES, not __STDC__.
20843 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20844 t_float_values2 tests if prototypes in use.
20846 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20847 t_double_values): When checking differences against DELTA, check
20848 that difference is within the range (-DELTA,DELTA), not just
20851 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20853 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20854 'file' command firts, then 'target', then 'load', this is due to gdb
20856 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20858 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20860 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20861 FP load/store variants.
20862 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20864 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20866 * gdb.base/term.exp: Do not give a warning if not native, it is
20867 not an abnormal condition.
20869 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20871 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20874 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20876 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20877 are getting the version number.
20879 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20880 if not native, it is not an abnormal condition.
20882 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20884 * lib/gdb.exp: Just use "file exists", rather than undocumented
20885 dejagnu procedure "findfile".
20887 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20889 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20890 (LDFLAGS): Set to -Xlinker -Ur.
20892 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20893 Removed, these values are set by lib/gdb.exp.
20895 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20897 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20899 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20900 of replicating gdb startup code.
20902 * config/mt-vxworks (LDFLAGS): Set to -r.
20903 (CFLAGS_FOR_TARGET): Removed.
20905 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20906 (gdb) and gdb for vxworks uses (vxgdb).
20908 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20909 executable is not in the tree and host != target, use sed and
20910 program_transform_name to determine the gdb name used by the
20913 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20914 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20916 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20918 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20919 floats, chars, and shorts where there are ANSI-style function
20922 * gdb.base/langs.exp, gdb.base/langs*: New test.
20923 * gdb.base/Makefile.in: Build it.
20924 * TODO: Remove item about checking that C names don't get C++
20925 demangling applied; this test tests it.
20927 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20929 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20930 went with the const70 xfail. The xfail went away a year ago.
20932 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20934 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20937 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20939 * gdb.base/a1-selftest.exp: Don't run on hp300.
20941 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20943 * Makefile.in (site.exp): Set host_alias and target_alias as well
20944 as host_triplet and target_triplet.
20946 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20948 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20950 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20951 places as other ecoff systems).
20953 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20956 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20958 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
20960 * gdb.base/nodebug.exp: Accept "function" in addition to "text
20961 variable and "variable" in addition to "data variable".
20962 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
20964 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
20966 * gdb.base/list1.c (long_line): Add additional statement at start
20968 * gdb.base/list.exp (test_forward_search): Update line number to
20969 reflect new statement.
20971 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20973 * gdb.base/signals.exp: Reinitialize searched source directories
20974 after gdb_start call.
20976 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
20978 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
20979 * gdb.stabs/Makefile.in: Likewise.
20981 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
20982 change. Instead split the tests into smaller pieces.
20983 * gdb.disasm/hppa.s: Corresponding changes.
20985 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20987 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20988 Quote ^C when passing it to stty. For some shells ^ is a pipe.
20990 * gdb.base/funcargs.exp: Modify many tests so that every test
20991 either passes or fails. Make some test names unique.
20993 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20995 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20996 Call stty to set interrupt character.
20998 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
20999 for HP assembler versus GNU assembler based on actual behavior of
21000 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21002 * TODO: Suggest a few more stepping tests.
21004 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21006 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21007 restart GDB for h8300 after a continue.
21008 (return): Add pattern to match a29k-udi behavior.
21009 * gdb.base/nodebug.exp: Remove obsolete comment.
21010 * gdb.base/regs.exp: New file, testing of register displays.
21011 * gdb.base/return.exp: Fix typo in reference to $objdir.
21012 * gdb.base/whatis.exp: Always start with a fresh GDB.
21014 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21016 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21017 higher, these tests generate a lot of output.
21019 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21021 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21022 code following the catch silently ignored some errors; without the
21023 catch they should be thrown like any other tcl error. Also, the
21024 catch used "" instead of {} which meant all the callers who wanted
21025 to include one of the characters "[]$ had to quote it an extra time.
21026 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21027 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21028 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21029 Remove extra quoting.
21031 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21033 * gdb.base/commands.exp: Make test names unique; every test either
21034 passes or fails. Update some comments.
21036 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21038 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21040 The following fixes a FAIL caused by the fact that the alpha stabs
21041 configuration didn't use the ".if alpha" code in weird.def.
21042 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21043 bit pointer, so the 32 bit version works even on the alpha.
21044 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21045 Remove the stuff which allowed us to have separate versions for
21046 alpha and everything else.
21048 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21049 regexp which "info func operator\[\](" is supposed to match. Fix
21050 string to send to GDB. Note that GDB still doesn't work right. Add a
21051 new test for "info func .perator\[\](" which GDB does handle correctly.
21053 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21055 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21057 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21058 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21059 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21060 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21061 it makes the tests harder to understand and confuses test-o-matic.
21062 The preferred style is that each test provides a PASS or a FAIL,
21063 and has a unique message (e.g. "continue #54" not just "continue")
21064 which is the same for the pass and the fail.
21065 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21066 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21068 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21069 prt_accept which was basically the same thing. Likewise for
21070 test_print_reject and prt_reject.
21071 * lib/gdb.exp (test_print_reject): Add some more error message
21072 patterns to match from the former printcmds.exp (prt_reject).
21073 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21074 One defect of the passcount stuff is that some of it failed to
21075 report XPASS where appropriate.
21076 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21077 stuff before and after arg in expected pattern.
21078 (test_paddr_operator_functions): Re-do test without print_addr_of;
21079 this is the only test which seems to want extra stuff there.
21081 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21083 * gdb.base/nodebug.exp: Update new tests to reflect improved
21084 wording of gdb output.
21086 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21087 and "ptype" work on variables in files compiled without -g.
21088 Replaces commented out "maint print msymbol" tests.
21090 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21092 * gdb.base/setvar.c (dummy): Call malloc.
21094 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21095 losing with the irix4 sed.
21097 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21100 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21102 * TODO: Remove items about corefile.exp testing new exec-file and
21103 backtrace; both are now done. Add items about printing enums.
21105 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21107 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21108 "get signal $thissig" test fails.
21110 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21112 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21114 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21115 compiler warning with dec alpha compiler.
21117 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21118 extra \n from gdb_test call (this explains why the prompt test
21119 that I removed yesterday was there).
21120 (user_defined_command_test): Remove extra \n and prompt test.
21122 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21123 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21125 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21126 Also remove alpha workaround, which turns out to be because
21127 SIGABRT == SIGLOST.
21129 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21131 * gdb.base/help.exp: Don't test "help show".
21133 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21135 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21136 "set print address" is on.
21137 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21138 pass prompt to gdb_test; gdb_test already looks for the prompt.
21140 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21142 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21143 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21144 was to make sure that gdb can read a core file. But (a) the "read
21145 the corefile" part didn't make it to a1-selftest.exp, we just
21146 delete the corefile after creating it, and (b) we test reading
21147 corefiles in corefile.exp anyway. Also, this test left around a
21148 xgdb process on Solaris.
21150 * gdb.base/corefile.exp: Also test backtrace.
21152 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21154 * gdb.base/commands.exp: Test a simple user defined command with
21155 arguments and if/while statements; verify the full user command is
21156 printed by "show user".
21158 * gdb.base/commands.exp: Test if/while commands as part of a
21159 breakpoint command list; verify they appear in breakpoint
21162 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21164 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21165 than by dividing by zero.
21167 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21169 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21170 performing an inferior call with watchpoints enabled.
21171 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21174 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21176 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21179 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21180 Add additional pattern for when "int operator int(void);" appears
21181 in a different order.
21183 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21185 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21187 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21188 and "signal" with ".*".
21190 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21192 * TODO: Add note about "handle all nostop".
21194 * gdb.base/{sigall.c, sigall.exp}: New test.
21195 * gdb.base/Makefile.in: Add it.
21197 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21199 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21200 when invoking GDB, suppresses any windowing interface.
21202 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21204 * config/sim-gdb: New file, simulator testing support.
21206 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21208 * gdb.base/interrupt.exp: Test calling func1 twice.
21210 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21212 * gdb.base/list.exp (test_forward_search): Set timeout higher
21213 when we'll be getting lots of output from gdb.
21215 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21216 "init_malloc" to after the expect statement. Run it if that
21217 regexp is taken, but also for two others which happen if source
21220 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21222 * gdb.base/printcmds.exp: New test, for printing register before
21223 program is running.
21225 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21227 * gdb.base/list.exp: Correct some alternate expect patterns
21228 to reflect changes in list1.c.
21230 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21232 * TODO: Add item regarding large frames.
21234 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21236 * TODO: Remove item about enabling return.exp; it
21237 is enabled. Suggest a few more "return" tests.
21239 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21241 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21244 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21246 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21247 and pr-5646.o, so "make" is the same as "make all", not "make
21250 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21252 * gdb.base/list.exp: Adjust expectations to reflect changes in
21254 (test_forward_search): New test proc.
21255 * gdb.base/list1.c (long_line): New function, has long source line.
21257 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21259 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21260 additional line of code that was added.
21262 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21264 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21265 tests so as not to overflow expect's input buffers.
21266 * gdb.disasm/hppa.exp: Corresponding changes.
21268 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21270 Beginnings of template debugging tests.
21271 * gdb.c++/templ-info.cc: New file to test for template
21272 debugging capability of the compiler.
21273 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21275 * gdb.c++/templates.cc: Add explicit template instantiations
21276 to enable compiling with -fno-implicit-templates. Add destructor
21277 and 'value' method to T5 class for template tests.
21278 * gdb.c++/templates.exp: Add testcases for printing of template
21279 types, setting breakpoints on template methods and calling a
21282 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21284 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21285 branch target since some assemblers (gas-2.5) may emit a
21286 relocation for the branch instead of resolving it in the
21289 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21291 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21292 through signal handler.
21294 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21296 * configure.in (*-*-netware): Use config/mt-netware.
21298 * config/mt-netware: New file.
21299 * config/mt-i386-netware: Removed, separate configs for different
21300 netware architectures are no longer needed now that we have
21303 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21305 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21306 by the recent changes to use ANSI C arithmetic conversions.
21308 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21310 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21311 bug involving using inferior_pid to figure out whether to select a
21314 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21316 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21317 match the current disassembler output.
21319 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21321 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21322 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21323 types, expect "int" as type of integer values (for now).
21325 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21327 * gdb.base/commands.exp: New tests for if/while commands.
21329 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21331 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21332 by .*, since hex values have different syntax in Chill mode.
21334 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21336 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21337 linefeed from expect pattern for repeated types with indices > 9.
21339 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21341 First part of Fortran test suite.
21342 * gdb.fortran: New directory.
21343 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21345 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21347 * gdb.base/default.exp: Update expect pattern for load command
21350 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21352 * configure.in: Change i386 to i[345]86.
21353 * gdb.base/configure.in: Likewise.
21354 * gdb.c++/configure.in: Likewise.
21355 * gdb.chill/configure.in: Likewise.
21357 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21359 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21360 patterns, since that is not a valid context for comments.
21362 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21364 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21365 repeated types and repeated types with indices > 9.
21367 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21369 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21370 2417; old bug has been fixed.
21372 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21374 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21375 send the newline ourselves instead of assuming gdb_test will do
21376 so when passed an empty input string.
21378 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21381 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21383 * lib/gdb.exp (gdb_test): Don't send anything if the first
21384 argument is an empty string. This makes cases where we want to
21385 match output that is already in expect's buffers (for example,
21386 matching a breakpoint after gdb_run_cmd has been called) work
21389 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21391 * config/netware.exp: New file.
21393 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21395 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21396 the -B and -L prefixes so we can find the debugging stub.
21398 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21399 there and we are using the gcc from the tree.
21401 * gdb.base/types.c: Removed.
21403 * gdb.base/configure.in: Look for makefile fragments in ../config.
21404 Recognize i386-*-netware.
21405 * gdb.c++/configure.in: Likewise.
21407 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21409 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21410 the correct TCL syntax.
21412 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21414 * gdb.base/opaque.exp: use runto instead of messing around with
21415 breakpoints. Simplify by using gdb_test.
21417 * gdb.base/bitfields.exp: restart between tests on netware targets
21418 because breakpoints aren't relocated after target death. Run
21419 processes to completion.
21421 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21423 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21425 * Makefile.in: Remove extra tabs that confuse some versions
21426 of "make". Use the newly built gdb to test with by default,
21427 rather than the first one in the tester's search path.
21429 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21431 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21433 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21436 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21438 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21440 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21442 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21443 * gdb.base/funcargs.exp: Likewise.
21445 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21446 * gdb.base/funcargs.exp: Likewise.
21448 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21451 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21453 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21454 return,signals,twice}.exp: Handle non-existant binaries
21457 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21458 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21459 might testing a cross development system.
21461 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21463 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21464 runtest script is relative to ${srcdir}, not ${rootdir}.
21466 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21468 * gdb.base/signals.exp: Allow for optionality of breakpoint
21471 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21473 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21475 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21477 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21478 for size_t definition.
21479 * gdb.c++/templates.cc: Likewise
21481 * config/mt-i386-netware: New file.
21483 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21486 * gdb.base/Makefile.in: Added support for systems that name core
21487 files by appending "core" to the program name.
21488 * gdb.base/a1-selftest.exp: Likewise.
21490 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21492 * gdb.base/return.exp: Add comment and message for `return double'
21493 test failure on Sparc Solaris.
21495 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21497 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21499 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21501 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21502 from optimizing them away.
21503 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21504 patterns to include default constructors and assignment operators,
21505 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21506 character in the output of the virtual base pointer.
21508 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21510 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21511 expression match in print_addr_of to avoid unintented matches.
21512 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21513 versions up to 2.5.8.
21515 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21517 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21518 included file to run under newer versions of expect.
21519 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21520 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21521 Remove xfail for the virtual table of BDDHookV.
21523 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21525 * lib/gdb.exp (string_to_regexp): Set a default result.
21526 (default_gdb_start): Fix misleading message.
21528 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21530 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21531 Remove all CC, etc definitions.
21532 * config/mt-hpux: New file.
21533 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21534 (CFLAGS, LDFLAGS): Define.
21535 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21537 * Makefile.in (site.exp): Don't insert host_os, etc.
21538 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21539 (distclean): Check existence of subdir.
21540 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21541 * gdb.base/Makefile.in: General cleanup and simplification.
21542 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21543 to build executables. Use default rule to build .o files.
21544 (EXPECT, RUNTEST, CC): Fix relative pathname.
21545 (site.exp): Don't insert host_os, etc.
21546 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21547 and/or SIGUSR1 defined.
21548 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21549 * gdb.c++/Makefile.in: General cleanup and simplification.
21550 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21552 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21554 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21556 * gdb.base/recurse.exp: Misc changes to get tests running again
21557 after Kung's changes to the watchpoint code.
21558 * gdb.base/watchpoint.exp: Likewise.
21560 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21562 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21564 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21566 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21567 * lib/gdb.exp (default_gdb_start): Define.
21568 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21569 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21570 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21571 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21572 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21573 Don't call gdb_target_udi in between tests.
21575 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21577 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21578 (which was basically just a local version of the same thing). In
21579 addition to avoiding duplication, gdb_test_exact is faster.
21580 * lib/gdb.exp (gdb_test_exact): Fix typo.
21582 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21583 don't give an error.
21585 * gdb.base/term.exp: Call delete_breakpoints before starting.
21587 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21588 (t10): Add comment.
21590 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21592 Reorganization of the GDB Test Suite.
21594 * gdb.base: New directory, contains all the basic tests.
21595 * gdb.c++: New directory, tests specific to C++.
21596 * gdb.chill: New directory, tests specific to Chill.
21597 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21598 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21599 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21600 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21601 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21603 * */gdbme.*: Rename to match appropriate expect scripts.
21604 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21605 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21606 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21607 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21608 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21609 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21610 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21611 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21612 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21613 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21614 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21615 gdb.c++/virtfunc.cc: New names of C++ files.
21616 * gdb.chill/chillvars.ch: New name of Chill file.
21617 * gdb.base/configure.in, gdb.c++/configure.in,
21618 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21619 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21620 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21621 * configure.in (configdirs): Update to reflect directory changes.
21622 (target_abbrev): No longer define for any configuration.
21623 * Makefile.in: Cosmetic improvements to header comments.
21625 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21627 Various changes to gdb.t31:
21629 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21630 * gdbme.ch: Make all key-words and predefineds be upper-case.
21631 * chillvars.exp: Expect key-words and predefinds in upper-case.
21633 * chillvars.exp: Use gdb_test_exact many places.
21634 Change expected output for arrays (which now includes index labels).
21636 * pr-5020.exp, gdme.ch (module PR_5020):
21637 New test, for PR-5020.
21639 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21641 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21642 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21644 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21646 * Makefile.in: Fix bit-rot in definitions of CHILL,
21647 CHILL_FOR_TARGET and Chill_LIB.
21648 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21649 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21650 CHILL, and CHILL_LIB.
21652 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21654 * Revert the previous changes. Please see Rob's directory
21655 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21657 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21659 * Makefile.in, configure.in, config/mips-gdb.exp,
21660 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21661 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21662 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21663 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21664 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21665 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21666 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21667 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21668 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21669 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21670 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21671 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21672 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21673 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21674 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21677 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21679 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21680 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21681 Rob's new testing fragments.
21683 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21685 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21686 lib/gdb.exp: Replace error proc calls with perror.
21688 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21690 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21691 version also, match on casted version strings, and match on
21692 gdb startup case where the line numbers might be messed up.
21694 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21696 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21697 (CFLAGS): Delete it from here.
21699 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21701 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21703 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21705 * Makefile.in (RUNTEST): Default to just "runtest".
21707 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21709 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21710 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21711 the code has been restructured.
21713 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21715 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21716 \n, not just one of each.
21718 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21719 /bin/cc gives a warning if you do.
21721 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21723 * gdb.t24/demangle.exp: change expect pattern of
21724 __t10ListS_link1ZUiRCUiPT0
21726 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21728 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21729 on local variables in recursive functions.
21731 * gdb.t07/Makefile.in: Build the new test.
21733 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21735 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21736 directly. Instead compare the return values from actual calls.
21738 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21740 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21742 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21744 * From Peter Schauer with minor modifications.
21745 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21746 stops in mid-line in the caller. Add xfail for returning a float
21747 value on X86 targets.
21749 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21751 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21752 to avoid expect lossage.
21753 (fmem_LRbug_tests): Likewise.
21754 * gdb.disasm/hppa.s: Corresponding changes.
21756 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21757 conditions to work with latest dejagnu/expect.
21759 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21760 expected to fail on the PA.
21761 (backtrace in call with trampolines): Explicitly require main
21762 to be frame #1 (no trampolines should show up in backtrace).
21764 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21765 "continue -expect".
21766 * gdb.t06/break.exp: Likewise.
21767 * gdb.t07/watchpoint.exp: Likewise.
21768 * gdb.t13/bitfields.exp: Likewise.
21769 * gdb.t15/{funcargs,return}.exp: Likewise.
21770 * gdb.stabs/weird.exp: Likewise.
21771 * config/{mips,udi}-gdb.exp: Likewise.
21773 * hppa.sed: Enclose comments within a sed command to avoid
21774 losing with the old OSF1 sed.
21776 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21778 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21780 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21781 * gdb.t15/funcargs.exp: Conditionally step again to really
21782 finish from marker_call_with_trampolines. Handle the case where
21783 the first step from within call_with_trampolines already steps
21785 * gdb.t15/gdbme.c: Add comment to closing brace of
21786 call_with_trampolines for funcargs.exp.
21788 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21790 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21793 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21795 * gdb.t07/gdbme.c: More code for watchpoint testing.
21797 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21798 "Hardware watchpoint" throughout file.
21799 (test_watchpoint_triggered_in_syscall): New test.
21800 (test_complex_watchpoint): New test.
21802 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21804 * gdbme.c (call_with_trampolines): New function to try and step
21805 into. Tests trampoline problems on the PA.
21807 * funcargs.exp (localvars_in_indirect_call): No longer expect
21808 stepping into indirect call to fail on PAs.
21809 (test_stepping_over_trampolines): New test.
21811 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21813 * TODO: Add suggestions for static member function tests, and
21816 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21818 * TODO: Add suggestions for "p/a" tests.
21820 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21821 (default_gdb_exit): Replace all the hair with sending "quit" to
21822 the process with a simple close.
21824 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21826 * TODO: Add suggestions for shared library tests.
21828 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21830 * TODO: Add suggestions for x/s tests.
21832 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21834 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21835 "enable once", and "enable breakpoints once" with ".*".
21837 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21839 * TODO: Add suggestions about structure passing tests.
21841 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21843 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21844 the primary1 test, use work around if __GNUC__ < 2.
21845 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21846 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21847 Test for bad output rather than waiting for timeout. Issue
21848 second continue only if first continue failed.
21850 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21852 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21853 operator[] test with gdb_test because the old code didn't seem to
21854 be getting the quoting right with the new dejagnu.
21856 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21858 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21860 * Makefile.in: Use a fresh expect if there is one, use runtest
21861 from the src tree if there is one.
21863 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21865 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21866 next over recursive call. Revise the tests from that point on
21867 (which had been skipped) to match GDB's actual (correct) output.
21869 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21870 with next over a breakpoint whose condition is false.
21872 * gdb.t00/help.exp: Comment out "help set print" tests just like
21873 (and for same reason as) "help set" test.
21875 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21877 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21878 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21880 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21882 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21883 necessary gdb_target_udi.
21885 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21887 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21888 1838 and 2417; they are fixed.
21890 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21891 gdb.t03/ptype.exp (ptype structure, ptype union):
21892 Remove xfails; the test is looser than when the xfails were added.
21894 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21895 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21897 * gdb.t01/run.exp: Only run shell test if isnative.
21899 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21900 since "run" automatically loads if necessary. Call gdb_target_udi
21901 after the "file" since "file" kills any execution target.
21903 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21904 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21905 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21908 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21910 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21912 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21914 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21916 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21917 properly quoting regexps. This makes the second argument to
21918 demangle a fixed string, which matches the callers, instead of a
21919 shell-style pattern which is what the previous implementation
21920 used. Update some of the callers.
21922 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21924 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21925 (comib_nullified_tests): Fix typo.
21926 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21927 strings. No longer expected to fail.
21929 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21930 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21931 strings. No longer expected to fail.
21933 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21934 string. No longer expected to fail.
21936 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21938 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21939 No longer expected to fail.
21941 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21942 string. No longer expected to fail.
21944 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21946 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21947 only in the names (I probably got most of them). I was even
21948 generous with some which differed in underscores in names, and
21949 probably missed a few, and I *still* was able to remove almost a
21950 third of the file with almost no impact on testsuite coverage.
21952 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21954 * gdb.t00/default.exp: Match udi_attach error message as well as
21955 the one from child_attach.
21957 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
21959 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
21961 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
21962 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
21964 * Move test with enums and partial symbols back to
21965 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
21966 Reverts the change of 26 May 93. Per today's change to
21967 stabs.texinfo, the behavior that weird.exp was expecting was
21968 unreasonable; what is important is that the compiler+gdb get
21969 things right, which happens with a recent gcc. Also fix the test
21970 to deal with native compilers which put out the stab gdb can't
21973 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21975 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
21976 in the names. The main thing these accomplish is to slow things down.
21977 Many more such duplicates surely remain.
21979 * gdb.t00/help.exp: Comment out "help support" test just like
21980 (and for same reason as) "help set" test.
21982 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
21984 * gdb.t06/break.exp: Remove setup_xfails for
21985 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
21986 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
21987 about known bug in gcc to include up through 2.5.8.
21988 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
21990 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
21991 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
21992 with latest gcc and gdb.
21993 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
21996 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21998 * configure.in (hppa*-*-*): Also configure and build stabs-only
22001 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22003 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22004 * gdb.t10/configure.in (hppa*-*-*): Use it.
22006 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22008 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22010 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22012 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22013 versions prior to 1.13.5.
22015 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22017 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22018 the prompt is at the start of a line.
22020 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22022 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22023 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22024 in the copr tests now.
22025 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22026 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22029 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22031 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22032 gdb.t31/chillvars.exp, lib/gdb.exp:
22033 Tweak to run under either version of expect.
22034 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22035 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22036 * gdb.t11/list.exp: Remove extraneous whitespace.
22038 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22040 * gdb.t16/printcmds.exp (test_print_strings): Accept
22041 "(unsigned char *) " before the string.
22043 * TODO: Add notes about printing of fancy types and GDB expressions.
22045 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22047 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22048 * gdb.t06/configure.in: Don't try to compile signals test program
22049 if doing mips-idt-ecoff.
22051 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22053 * Most .exp files: Tweak to run under either version of expect.
22055 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22057 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22058 xfails; I'm not sure why they are failing, but not because of PR 1806.
22060 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22062 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22063 defined in lib/gdb.exp.
22065 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22067 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22068 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22069 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22070 have to be typeless.
22072 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22074 * TODO: Add suggestion for copyright year test.
22076 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22078 * configure.in (*-*-lynxos*): Add stabs tests.
22080 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22082 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22083 so insert a tab before any assembler directive in column zero.
22085 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22087 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22089 (fpu_short_memory_tests): Likewise.
22091 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22093 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22094 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22095 .stabs directives in comments.
22097 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22099 * TODO: New file, describing tests we could write.
22100 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22102 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22104 * gdb.t06/signals.exp: Add kludge to force re-sync.
22106 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22107 to xgdb instead of gdb, get out of gdb.
22109 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22111 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22114 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22116 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22117 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22118 * gdb.stabs/hppa.sed: New sed script for the PA.
22120 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22122 * gdb.stabs: Re-write weird.def and configuration to use sed
22123 instead of cpp. sed is portable and POSIX; cpp is neither.
22125 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22127 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22129 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22131 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22133 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22135 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22137 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22138 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22140 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22142 * lib/gdb.exp: Comment out code which depends on non-existent
22143 `transform' procedure.
22145 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22147 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22148 * lib/gdb.exp: Transform tool name.
22149 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22150 1.1's new error handling system.
22152 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22154 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22156 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22158 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22159 They made pattern matching so slow that timeouts happened on
22160 heavily loaded systems. Now any output from "show print" which
22161 gets us back to the GDB prompt is a PASS.
22163 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22165 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22167 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22169 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22171 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22172 It is not from PR 3220.
22174 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22176 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22177 just started failing because they depended on the order the
22178 subcommands are presented, or exact docstring text. This kind of
22179 test is a pain and has minimal benefit.
22181 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22183 * gdb.t09/corefile.exp: At end of test, use "core" command with
22186 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22188 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22189 17}/Makefile.in: Make it possible to run the testsuite with Sun
22190 make and CC = cross gcc by adding explicit build rules for .o
22193 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22195 * gdb.t15/funcargs.exp: Don't put comments on same line as
22196 setup_xfail (@#$*%& tcl braindamage!).
22198 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22200 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22202 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22204 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22205 * gdb.t20/inherit.exp: remove three dumplicate entries.
22207 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22209 * gdb.t06/break.exp: For "next over recursive call", fail on any
22210 incorrect output, not just on "factorial (value=2)".
22212 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22214 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22215 working now. Add an xfail if accesing a bss variable causes
22216 a memory error if the target is not yet run.
22218 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22220 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22221 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22222 name of __st* demangling (2 strings). Did Kung really get the
22223 more than 95 others right without testing them?
22225 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22227 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22229 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22231 * configure.in (configdirs): Add gdb.disasm
22232 * gdb.disasm: New directory for GDB disassembler tests.
22233 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22235 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22237 * gdb.t00/help.exp: Don't test "help set".
22239 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22240 from within expect statements. None of these happen anymore and
22241 they cause regressions to be silently unnoticed.
22243 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22244 messages) about known failures with gcc cygnus-2.4.5-930417.
22246 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22247 comp-info.exp so it gets built if it doesn't exist.
22249 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22250 it is no longer used.
22251 * gdb.t13/comp-info.c: Removed.
22253 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22255 * gdb.t06/signals.exp: Add xfail for sun3.
22257 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22259 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22260 relevant because ^C doesn't get sent but failure can be reproduced
22263 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22265 * gdb.stabs/alpha.mt: New configuration file for alpha.
22266 * gdb.stabs/configure.in: Use it.
22267 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22268 sharing with alpha.mt, redefine long to word via preprocessor.
22269 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22271 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22273 * gdb.t00/teststrategy.exp: Change expect string so that we
22274 consume the `(xgdb)' from the command echo and from the gdb prompt.
22275 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22276 gdb currently compares all values as long, so this failure probably
22277 applies to any configuration where LONGEST is bigger than a target int.
22278 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22280 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22281 to handle opaque pointers, gcc is.
22282 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22283 as first argument. Include <sys/types.h> and change all operator
22284 new definitions to use size_t.
22285 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22286 now that we use size_t.
22288 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22290 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22291 a long or float array cast all array members to the same type.
22292 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22294 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22296 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22298 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22300 * gdb.t24 (demangle.exp): Constructors of templates have names like
22301 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22302 section 14.6 of the ARM.
22304 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22305 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22306 accomplish little and slow down the testsuite.
22308 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22309 Accept spaces various places.
22311 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22313 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22314 with watchpoint enabled.
22316 * Makefile.in: Remove definition of CC and remove the second
22317 definition of CXX (the "CXX = gcc" one remains). These definitions
22318 were causing backquotes to be expanded within backquotes, which
22321 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22323 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22325 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22327 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22328 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22329 by mips cc and contains no stabs entries.
22331 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22333 * config/vx-gdb.exp: Use fake device to load files rather than
22335 * lib/gdb.exp: New proc to do "file" command.
22336 * config/unix-gdb.exp: Use new "file" proc.
22338 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22340 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22341 Rework board rebooting slightly.
22342 (gdb_exit): Don't exit from the remote shell; there isn't one.
22343 * gdb.stabs/weird.exp: If a program is being debugged already,
22345 * gdb.t04/setvar.exp: Stop and restart gdb.
22346 * gdb.t05/expr.exp: Likewise.
22347 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22348 restart gdb and reload the program.
22349 * gdb.t08/opaque.exp: Likewise.
22350 * gdb.t12/scope.exp: Likewise.
22351 * gdb.t13/bitfields.exp: Likewise.
22352 * gdb.t15/funcargs.exp: Likewise.
22353 * gdb.t20/classes.exp: Likewise.
22354 * gdb.t03/ptype.exp: Increase timeout.
22355 * gdb.t16/printcmds.exp (test_print_string_constants,
22356 test_print_array_constants): Likewise.
22357 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22358 * gdb.t20/classes.exp (do_tests): Likewise.
22359 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22361 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22363 * gdb.stabs: Renamed *wierd* to *weird*.
22365 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22367 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22368 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22370 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22372 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22373 (do_tests): Remove xfail for whatis on one_var and two_var.
22375 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22377 * Makefile.in: Made cross building work better by adding
22378 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22380 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22382 * gdb.t15/{return.c,return.exp,Makefile.in}:
22383 New test, currently commented out.
22385 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22387 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22388 still running and removes the leftover named socket so GDb can do
22391 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22393 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22395 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22396 cross testing works better with "make check"
22397 * config/unix-gdb: Use default procedures for exit and version.
22398 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22399 with the newest VxWorks.
22401 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22403 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22406 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22407 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22409 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22411 * config/unix-gdb.exp: Remove this version of gdb_exit
22412 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22413 Rob says he'll look at it when he gets back to testing boards.
22415 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22417 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22418 an expected fail for certain ptype commands.
22420 * gdb.t20/classes.exp: Update expected results of "ptype class
22421 Base1" to account for the constructor that now appears in the type.
22423 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22425 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22426 disappeared from list.
22427 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22428 "alldone" proc with call to cleanup and exit.
22429 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22430 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22431 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22432 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22433 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22434 "alldone" proc with simple returns that suppress remaining
22435 tests. The alldone proc went away many months ago.
22437 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22439 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22441 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22443 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22445 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22446 as vax gdb will display them.
22448 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22450 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22453 * scope.exp: Change "bad value for localval" messages so each one
22456 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22457 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22459 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22461 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22463 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22464 doesn't exist (due to optimization).
22466 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22468 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22469 contains \r because the filename is long.
22471 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22472 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22474 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22476 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22477 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22479 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22481 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22483 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22485 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22487 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22488 to match does not match the passing case but still matches the
22491 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22493 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22495 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22497 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22498 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22499 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22500 Remove various versions of gdb_exit.
22501 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22503 * config/unix-gdb.exp: gdb_exit remains here, and should override
22504 the generic version, since it's doing a lot of wierd stuff that
22505 the other versions aren't. FIXME, fold it in, or abandon this
22508 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22510 * gdb.t24/demangle.exp: Add tests for PR 3220.
22512 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22514 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22516 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22518 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22519 "i386-*-*". Works for i486 as well.
22521 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22522 bug, and expand domain of xfail to all SVR4 systems, since the
22523 actual problem is likely to be in generic SVR4 /proc support.
22525 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22527 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22529 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22531 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22532 xfails for other systems. Match a missing 'Continuing.' as an
22533 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22535 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22536 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22537 Only issue warning for missing executables if -all option is used.
22539 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22540 file if -all option is used. It's like an unpredictable XFAIL.
22542 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22544 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22545 for dynamically linked binaries.
22547 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22549 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22551 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22552 to state that this is a known bug in old versions of g++.
22554 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22556 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22557 while waiting for `Continuing'.
22559 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22561 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22562 in text, data, and bss.
22563 * gdb.t10/nodebug.c: Add local and global test variables for
22564 initialized and uninitialized data.
22566 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22568 * config/unix-gdb.exp (gdb_exit): Add "wait".
22570 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22572 * gdb.t06/signals.exp: xfail the continue from the handler for all
22575 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22576 function with watchpoints enabled, the i386 call dummy starts with
22579 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22580 386 bsd names its corefiles.
22582 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22584 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22585 compilers don't grok it.
22586 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22587 with small octal ints rather than character constants, which
22588 are signed and might not fit if first promoted to int.
22590 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22592 * gdb.t09/Makefile.in (clean): Remove corefile.
22594 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22596 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22598 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22599 and Jim Kingdon (kingdon@cygnus.com)
22601 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22602 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22603 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22605 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22607 * gdb.t17/interrupt.exp: Add xfail for hppa.
22609 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22611 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22612 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22613 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22614 to determine signed-ness of bitfields and use the result to setup
22616 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22617 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22618 call line is reached if necessary.
22620 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22622 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22624 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22626 * gdb.t06/break.exp: Also test `clear' command.
22628 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22630 * gdb.t00/teststrategy.exp: Remove extra quote.
22632 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22633 watchpoint enabled to be for all non-68k machines.
22635 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22637 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22639 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22640 targets use aout.mt instead of ecoff.mt as gas understands
22641 standard aout format.
22643 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22645 * lib/gdb.exp (runto): Don't insist that function we are running to
22646 was compiled with -g.
22648 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22650 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22651 to get back into the read system call.
22652 Accept leading newline in case where we woke it up.
22654 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22656 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22657 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22658 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22659 enable ecoff configuration.
22661 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22663 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22665 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22667 * gdb.t16/printcmds.exp: Add another printf test.
22669 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22671 * configure.in: If configured -with-stabs on any target, add
22672 stabsdirs to configdirs.
22674 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22676 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22677 fun" so pattern does not match the command itself.
22679 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22681 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22683 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22685 * gdb.t17/interrupt.exp: Test for more things.
22687 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22689 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22690 compiler arranges the code and line numbers.
22692 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22694 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22696 * gdb.t00/help.exp: Increase expect input buffer size.
22698 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22700 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22702 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22704 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22706 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22707 [0-9]*, not just [0-9].
22709 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22711 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22713 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22715 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22717 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22719 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22721 * gdb.t06/signals.c: Add xfails for sun3.
22723 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22725 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22726 test_stepping tests.
22728 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22730 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22732 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22734 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22735 rather than actually putting it through cpp twice.
22737 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22739 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22741 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22744 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22746 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22748 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22749 C++ features prints as "struct", make it a pass, not an xfail.
22751 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22753 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22754 Don't require VA to print as "class" rather than "struct".
22756 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22758 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22760 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22762 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22764 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22766 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22769 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22771 * gdb.t16/printcmds.exp: Add printf tests.
22773 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22775 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22777 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22779 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22780 pass counts, to counteract any existing or future setup_xfails.
22782 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22784 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22785 {BEGIN,END}_COMMON for common block instead of STAB.
22786 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22788 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22789 intp_var should be N_GSYM not N_LSYM.
22790 wierd-aout.S: Use a label for the value of the N_SO.
22791 wierd.def: Remove all backslashes.
22792 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22794 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22796 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22797 get the expected next to inheritance3.
22799 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22801 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22802 now that gcc-2.4 gets it right.
22804 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22806 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22808 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22809 generating comp-info.exp which works for cross-compilation.
22811 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22813 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22816 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22818 * gdb.t01/run.exp: Start with a fresh gdb.
22819 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22822 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22824 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22825 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22826 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22827 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22830 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22832 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22833 test cases from bug reports.
22835 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22837 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22838 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22839 avoid spurious xfails.
22840 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22841 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22842 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22844 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22846 * gdb.t00/teststrategy.exp: Rework to provide more useful
22847 description of each test, fix problem with systems that define
22848 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22849 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22850 results for "next over recursive call" so timeouts aren't taken
22853 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22855 * gdb.t12/scope.exp: Test printing of variables before run.
22857 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22858 printed in wrong order due to sorting.
22860 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22862 * gdb.t00/teststrategy.exp: Fix expected results for printing
22863 user entered string constant. Is array of char, prints with no
22866 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22868 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22869 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22870 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22871 of struct of char arrays.
22872 * gdb.t00/radix.exp: New tests for radix commands.
22874 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22876 * gdb.t16/printcmd.exp: Print a variable before running program
22877 (with xfail for AIX).
22879 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22881 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22883 * gdb.t16/printcmd.exp: Don't print variables before running program.
22885 * gdb.t06/break.exp: Don't require envp argument to main.
22887 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22889 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22890 Add xfails for rs6000.
22892 * gdb.t02/whatis.exp: Change other tests not to re-test something
22895 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22896 each type used has a variable of that type.
22898 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22900 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22902 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22904 * configure.in: change srctrigger to be a file, not a directory
22906 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22908 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22910 * gdb.t11/list.exp: Fixed a couple of typos.
22912 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22914 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22915 is fixed and PR is closed.
22916 * gdb.t16 (gdbme.c): Add simple test string variable.
22917 * gdb.t16 (printcmds.exp): Add tests with simple test string
22918 variable, primarily for boundaries on "set print elements".
22920 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22922 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22923 Make leading 0's optional and don't expect a tab in the middle
22926 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22928 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22929 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22930 don't end command passed to gdb_test with newline.
22932 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22933 signed keyword away, don't expect signed bitfields to be signed.
22935 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22936 printing with only as many 1's as are in the field as well as printing
22937 with 32 1's (see comment).
22939 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22941 * gdb.t00/default.exp: Start with a fresh gdb.
22942 * configure.in (configdirs): Remove gdb.t31 until the chill
22943 compiler works again. It no longer is able to find chillrt0
22944 since it isn't in libchill.a anymore.
22945 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22946 wierd.o, make more modular.
22947 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22948 spurious newlines that caused problems.
22950 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22952 * Move test with enums and partial symbols from gdb.t03/ptype.exp
22953 to gdb.stabs/wierd.exp since GCC has worked around the bug.
22954 gdb.stabs/wierd.{exp,def}: Many new tests.
22956 * gdb.t00/default.exp: update info line for new message.
22958 * gdb.t02/{whatis.exp,gdbme.c}:
22959 Test that "char *" doesn't print as "caddr_t".
22961 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22963 * gdb.t00/help.exp: Use .* in place of some help messages which
22965 gdb.t00/default.exp: Update "info frame" test for new message.
22966 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
22969 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22971 * gdb.t03/{gdbme.c,ptype.exp}:
22972 Add tests for typedef'd struct and union without tags.
22973 Also check "whatis" on a variable of a typedef'd enum without a tag.
22975 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
22976 PRMS 1823; the bug still exists but isn't reproduced by this test
22977 anymore), and remove rs6000 XFAIL (the bug is fixed).
22979 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
22980 duplicated from whatis.exp. For those that are left, accept
22981 "long", "long int", or "int" for long variables (whatis.exp already
22982 has an XFAIL for "int", so no need to fail it here).
22984 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
22985 Deal with GCC's names for types now that GDB uses the compiler's names.
22987 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
22988 setup_xfail's for sunos4. If we #defined the signed keyword away,
22989 don't expect GDB to know that char it is signed.
22991 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22993 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
22995 * configure.in (configdirs): Add gdb.t24 for C++ tests that
22996 should work on any system, regardless of debugging format.
22997 * gdb.t21/demangle.exp: Move to gdb.t24.
22998 * gdb.t24/demangle.exp: Move from gdb.t21.
22999 * gdb.t24/{Makefile.in, configure.in}: New files.
23001 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23003 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23004 * gdb.stabs: New directory.
23006 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23008 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23009 not just "Quit anyway?".
23011 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23013 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23014 that all setup_xfails are immediately followed by clear_xfails.
23016 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23018 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23019 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23020 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23021 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23022 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23023 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23024 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23025 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23026 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23027 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23028 gdb.t31/chillvars.exp, lib/gdb.exp:
23029 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23030 bug-gdb@prep.ai.mit.edu.
23032 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23034 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23035 with 0.0, not integer 0.
23037 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23039 * gdb.t06/break.exp: Update for "Kill the program" message change.
23041 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23043 * Makefile.in (GDBFLAGS): Set to -nx.
23044 * Makefile.in (site.exp): Use GDBFLAGS.
23046 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23048 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23050 (check): depend on just-check.
23051 (just-check): added so that tests can be run without a noop
23054 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23056 Switch to using configure's configdirs.
23057 * Makefile.in (Makefile): add configure.in dependency.
23058 (SUBDIRS): removed redundant assignment.
23059 * configure.in: switch subdirs assignment to configdirs.
23060 * gdb.t*/configure.in: new files.
23062 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23064 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23067 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23069 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23070 in explicit rules. Apparently this is not supported by some makes.
23072 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23074 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23076 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23078 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23081 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23083 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23085 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23087 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23088 watchpoint problem that is now fixed.
23089 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23090 uninitialized convenience variables.
23091 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23094 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23096 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23097 which causes expect to get out of sync with gdb on long output
23099 * gdb.t09/corefile.exp: Make expected pattern for core file
23100 failing signal and frame output format less sun specific.
23102 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23104 * gdb.t31/chillvars.exp: Add and remove initial dummy
23105 breakpoint, so that symbol table is forced in.
23106 (Needed at least on Sunos4, though it seems not SVR4.)
23107 * gdb.t31/chillvars.exp: Update for changed output format.
23109 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23111 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23113 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23115 * Makefile.in: Added --srcdir when invoking runtest, removed the
23116 need for a local config file. (optional now)
23118 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23120 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23121 failure count used to force early termination. Add some more
23122 expected failures for gnu style demangling.
23124 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23126 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23127 pmi variable from gdb.t20/gdbme to get optimized away.
23128 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23129 Check for written corefile upon timeout _and_ eof.
23131 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23133 * config/unix-gdb.exp: Add missing return 0.
23135 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23137 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23140 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23142 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23145 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23147 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23148 time as i860 support works.
23150 * gdb.t15/funcargs.exp: Fix expected outputs to include
23151 "backtrace 100\r" rather than just "backtrace\r", to match last
23154 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23156 * config/udi-gdb.exp (gdb_exit): Remove close command.
23157 (gdb_target_udi): New procedure to set the UDI target.
23158 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23159 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23160 Added waits for prompts after several question responses. Added
23161 some more responses used by a29k-amd-udi-gdb.
23162 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23163 pass different arguments, restart UDI connection after program
23165 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23166 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23167 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23168 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23169 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23170 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23171 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23172 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23173 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23174 after program completion.
23175 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23176 compiled with a SELECT_VECS setting.
23177 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23178 infinite recursion.
23180 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23181 Added checks for COFF results, and made them expected failures for
23182 all targets. It would be better to make them expected failures
23183 for COFF targets only.
23185 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23187 * Makefile.in: add null dvi target, don't bother to recurse
23188 through test directories for info and install-info; rename
23189 $(datadir) to be dejagnu instead of deja-gnu
23191 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23193 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23194 compiler to coredump.
23195 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23198 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23200 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23202 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23205 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23207 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23208 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23209 which in a shell. Deletes xgdb when done.
23210 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23211 Tests the return from the "set height" or "set width" commands.
23212 Added a few return codes where needed.
23214 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23216 * Makefile.in (SUBDIRS): Add gdb.t17.
23217 * configure.in (subdirs): Add gdb.t17.
23218 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23219 files to test gdb's calling of functions in the inferior with
23220 the correct arguments and gdb's ability to retrieve any
23223 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23225 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23226 may be called after gdb goes away. Previous versions of expect
23227 needed these to avoid file descriptor leaks, but they cause
23228 errors with the current revision of expect.
23229 * gdb.t00/gdbvars.exp: Use -re on expected output after
23230 setting sevenbit-strings.
23231 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23232 to set sevenbit-strings consistent across tests.
23233 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23234 set sevenbit-strings consistent across tests.
23236 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23238 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23239 expected output to match current "expect" expectations.
23241 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23243 * gdb.t00/default.exp: Change expected output for default "source"
23244 command, to match new gdb behavior which requires a filename to
23247 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23249 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23250 expected fail for i486-*-* that misses the marker2 function.
23251 * gdb.t10/crossload.exp (bfddefault): Allow successful
23252 recognition of a format to pass even if no symbols are found.
23253 Explicitly catch failures where the format is not recognized
23254 or is ambiguous, and add the reason to the fail message.
23255 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23256 the cause is and invalid target and add reason to failure message.
23257 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23258 elf32-i386, elf32-sparc, and elf32-i860.
23259 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23260 Set up expected failure for 'filename'::variable scope resolution,
23261 which is now apparently broken on all targets.
23262 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23263 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23264 gdb.t23/templates.exp: Change failure for missing binfile into
23266 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23269 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23271 * gdb.t00/default.exp: Add expected output for default "source"
23272 command, to match new gdb behavior.
23273 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23275 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23277 * config/*-gdb.exp: returns an error, rather than exiting on
23280 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23282 * gdb.t03/gdbme.c: Add pointer to struct variable.
23283 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23284 referencing struct members.
23286 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23288 * configure.in (mips-idt-ecoff): New target.
23289 * config/mips-gdb.exp: New file for remote board using MIPS remote
23290 debugging protocol.
23292 * Redid configuration scheme. Removed gdb.t*/configure.in.
23293 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23294 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23295 distclean targets. Built executables via .o files. Adjusted
23296 tests to account for source files in $(srcdir) rather than
23298 * lib/gdb.exp (runto): Don't expect () after the function name,
23299 because it may have arguments.
23301 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23303 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23304 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23305 expected failures for mips-idt-* and mips-sgi-*.
23306 * gdb.t00/default.exp (attach): Kill process if requested.
23307 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23308 that does not read core files.
23309 * gdb.t01/run.exp: Removed checks for exit status code.
23310 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23312 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23313 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23314 appropriate, rather than doing it by hand.
23315 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23317 * gdb.t10/crossload.exp: Kill existing program if needed.
23318 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23319 appropriate, rather than doing it by hand. Always increase
23320 timeout for this test, not just for VxWorks.
23322 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23324 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23325 of Chill STRUCT types and STRUCT values.
23326 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23328 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23329 struct2): New struct definitions and initializations to test
23330 simple Chill STRUCT types.
23332 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23334 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23335 the null byte at the end of strings.
23336 * gdb.t00/default.exp: Make show version insensitive to copyright
23338 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23339 to avoid dependencies on target char signedness.
23340 * gdb.t16/printcmds.exp: Update expected results for explicitly
23342 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23344 * gdb.t21/demangle.exp: Add many more patterns for template
23345 demangling, most of them being expected failures.
23346 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23347 string we are matching for, to match on the whole string.
23348 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23349 and fix a whole bunch that had incorrect expected output but were
23350 passing anyway because of the bug in "proc demangle".
23351 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23353 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23355 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23357 * gdb/testsuite: made modifications to testcases, etc., to allow
23358 them to work properly given the reorganization of deja-gnu and the
23359 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23361 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23363 * gdb/testsuite: Initial creation of gdb/testsuite.
23364 Migrated dejagnu testcases and support files for testing nm to
23365 gdb/testsuite from deja-gnu. These files were moved "as is"
23366 with no modifications. This migration is part of a major overhaul
23367 of dejagnu. The modifications to these testcases, etc., which
23368 will allow them to work with the new version of dejagnu will be
23369 made in a future update.
23371 For additional changes see gdb.mi/ChangeLog-1999-2003.
23373 ;; Local Variables:
23374 ;; mode: change-log
23377 ;; version-control: never
23380 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23381 2003, 2004, 2005 Free Software Foundation, Inc.
23382 Copying and distribution of this file, with or without modification,
23383 are permitted provided the copyright notice and this notice are preserved.