Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22042 lines (15381 sloc) 744 KB
2010-08-26 Yao Qi <yao@codesourcery.com>
* gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
func_nofb_start and func_loopfb_start, so that address of functions
is equal to these labels on Thumb.
2010-08-26 Yao Qi <yao@codesourcery.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
to reflect latest c source file.
2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
registers. Update data sets with the new v2_double element in the
VSX register union. Add vector_register3_vr data set for the AltiVec
registers. Use gdb_test_no_output instead of send_gdb.
2010-08-19 Doug Evans <dje@google.com>
PR exp/11926
* gdb.base/printcmds.exp (test_integer_literals_rejected): Add
test of "p 0x1.1".
2010-08-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/python.exp (show height, set height 10)
(verify pagination beforehand, verify pagination beforehand: q)
(gdb.execute does not page, verify pagination afterwards)
(verify pagination afterwards: q): New.
2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/help.exp (help disassemble): Update the content.
2010-07-27 Tom Tromey <tromey@redhat.com>
* gdb.opt/inline-cmds.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
(func3): Likewise.
(outer_inline1): Likewise.
(outer_inline2): Likewise.
* gdb.opt/inline-bt.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
* gdb.opt/inline-locals.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
2010-07-27 Tom Tromey <tromey@redhat.com>
* gdb.stabs/gdb11479.c (hack): New function.
(test): Use it.
(test2): Use it.
* gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
(int32_search_buf, int64_search_buf): No longer static.
(x): Remove.
* gdb.base/relocate.c (hack): New function.
2010-07-21 Pedro Alves <pedro@codesourcery.com>
PR symtab/11827
* gdb.base/printcmds.c (enum some_volatile_enum): New enum.
(some_volatile_enum): New variable.
* gdb.base/printcmds.exp (test_print_enums): New.
<top level>: Call it.
2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-nodir.exp: New file.
* lib/gdb.exp (runto): New case for a GDB internal error.
2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Ulrich Weigand <uweigand@de.ibm.com>
Tom Tromey <tromey@redhat.com>
* gdb.base/charset-malloc.c: New file.
* gdb.base/charset.c (malloc_stub): New prototype.
(main): Call it instead of malloc itself.
* gdb.base/charset.exp: Use only prepare_for_testing.
(binfile): Remove the variable.
2010-07-13 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
(main): Use it.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2010-07-08 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_test_list_exact): New function.
* gdb.base/default.exp (show convenience): Call it, add tests for
$_sdata = void, $_thread = 0.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Fix re-run of PIE executable, PR shlibs/11776.
* gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
Remove $displacement_main to match the solib-svr4.c change. New "kill"
and re-"run" of the inferior.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Cope with missing /usr/sbin/prelink.
* lib/prelink-support.exp (prelink_no):
<result == 1 && $output is "no such file or directory">: New.
(prelink_yes): Likewise. Return on failed prelink_no.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
build_executable by build_executable_own_libs. Replace "prelink -R"
execution by a call of prelink_yes. Comment why "prelink -r" needs no
change.
* gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
copy to file_copy. Move setting opts --dynamic-linker and -rpath,
mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
Replace build_executable by build_executable_own_libs's function
build_executable_own_libs.
(prelinkNO): Create new stub to call prelink_no.
(prelinkYES): Create new stub to call prelink_yes.
(test_attach): Rename calls of copy to file_copy.
(section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
(copy): Move to ...
* lib/prelink-support.exp: ... a new file. Rename prelinkNO to
prelink_no, prelinkYES to prelink_yes, copy to file_copy.
* gdb.base/prelink.exp: Disable testcase also for is_remote and
skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
special flags by gdb_compile_shlib. Replace second gdb_compile by
build_executable_own_libs. Replace "prelink -R" execution by a call of
prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
a second call of prelink_yes. Replace restart commands by
clean_restart.
(prelink): Rename to ...
(seen displacement message): ... this test. Extend its expectation
strictness.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
* gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
displacement message exactly once.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
its restore after the <$relink_args != ""> loop. new comment.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
code for it. New variable relink_args.
(prelinkYES): Call prelinkNO.
(test_attach): Accept new parameter relink_args. Re-prelink the binary
in such case. Move the core code to ...
(test_attach_gdb): ... a new function. Send GDB command "file".
Extend expected "Attaching to " string.
2010-07-02 Tom Tromey <tromey@redhat.com>
* gdb.base/bitops.exp: Remove extraneous "pass".
2010-07-02 Ken Werner <ken.werner@de.ibm.com>
* gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2010-07-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/help.exp: Adjust expected output.
2010-07-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/help.exp: Adjust expected output.
2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
(print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
c++/11702.
2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Doug Evans <dje@google.com>
* gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
add .dynamic entry'.
2010-06-29 Doug Evans <dje@google.com>
Test PR c++/11702.
* gdb.cp/m-static.exp: Add testcase.
* gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/py-inferior.c: New File.
* gdb.python/py-infthread.c: New File.
* gdb.python/py-inferior.exp: New File.
* gdb.python/py-infthread.exp: New File.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
(ptype ::C::OtherFileClass typedefs): New.
* gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
(C::OtherFileClass::cOtherFileClassVar2): New.
(C::OtherFileClass::cOtherFileClassVar_use): Use also
cOtherFileClassVar2.
(C::cOtherFileType2, C::cOtherFileVar2): New.
(C::cOtherFileVar_use): use also cOtherFileVar2.
* gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (whatis C::cOtherFileType)
(whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
(whatis ::C::cOtherFileVar, print C::cOtherFileVar)
(print ::C::cOtherFileVar)
(whatis C::OtherFileClass::cOtherFileClassType)
(whatis ::C::OtherFileClass::cOtherFileClassType)
(print C::OtherFileClass::cOtherFileClassVar)
(print ::cOtherFileClassVar)
(print ::C::OtherFileClass::cOtherFileClassVar): New tests.
(ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
trailing content.
* gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
(C::OtherFileClass::cOtherFileClassVar)
(C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
(C::cOtherFileVar, C::cOtherFileVar_use): New.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR c++/11703 and PR gdb/1448.
* gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
gdb/1448.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
(main) <rtti_data>: New.
* gdb.cp/virtbase.exp (print rtti_data): New.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2010-06-28 Doug Evans <dje@google.com>
* gdb.base/break-interp.exp (reach): Relax expected output a bit.
2010-06-27 Doug Evans <dje@google.com>
* gdb.cp/m-static.exp: Update expected test output.
2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
* gdb.gdb/selftest.exp: Adjust expected message for
capturing start-up runtime.
2010-06-25 Tom Tromey <tromey@redhat.com>
PR python/10808:
* gdb.python/python.exp: Add new tests.
2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/operator.cc: Created an import loop.
* gdb.cp/operator.exp: Added testcase for import loop.
2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR python/11407.
* gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
* gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
executable_nofb and executable_fb. New variables srcsfile, objsfile,
srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
binfile. Call gdb_compile with clean_restart twice.
(func_nofb print, func_nofb backtrace, func_loopfb print)
(func_loopfb backtrace): New.
2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
* gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
by a hand made one.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
i?86 requirement. Remove variables srcfile and binfile. New variable
sources, executable_nofb and executable_fb. Call prepare_for_testing.
2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cell/dwarfaddr.exp: New file.
* gdb.cell/dwarfaddr.S: New file.
2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR 9436.
* gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2010-06-24 Hui Zhu <teawater@gmail.com>
* gdb.base/eval.exp: New file.
2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cell/fork.exp: New file.
* gdb.cell/fork.c: Likewise.
* gdb.cell/fork-spu.c: Likewise.
2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (banned_variables_traced): New global variable.
(gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
(gdb_init): Use `trace add variable' instead of obsolete
`trace variable'.
2010-06-21 Doug Evans <dje@google.com>
* gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/spu-ls.exp: New file.
* gdb.arch/spu-ls.c: Likewise.
2010-06-18 Stan Shebs <stan@codesourcery.com>
* gdb.threads/thread-specific.exp: Add tests of $_thread.
2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
* gdb.base/watch-cond.exp: Likewise.
* gdb.python/py-breakpoint.exp: Likewise.
2010-06-18 Pedro Alves <pedro@codesourcery.com>
* gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
clean_restart, make sure every test has a distinct message, and
that messages don't include the executable' full path.
2010-06-17 Doug Evans <dje@google.com>
* gdb.arch/i386-size.exp: Updated expected output for
DISASSEMBLY_OMIT_FNAME.
2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/watch-notconst.c: New file.
* gdb.base/watch-notconst.S: New file.
* gdb.base/watch-notconst2.c: New file.
* gdb.base/watch-notconst2.S: New file.
* gdb.base/watch-notconst.exp: New file.
* gdb.base/watchpoint.c (global_ptr_ptr): New variable.
(func4): Add operations on `global_ptr_ptr'.
* gdb.base/watchpoint.exp (test_constant_watchpoint): New
routine to test watchpoints created with a constant expression.
(test_inaccessible_watchpoint): Include tests for watchpoints
created with a constant expression.
2010-06-14 Kevin Buettner <kevinb@redhat.com>
* gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
of `_start'.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
not supported on the target.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.
2010-06-11 Stan Shebs <stan@codesourcery.com>
* gdb.base/permissions.exp: New file.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".
2010-06-11 Michael Snyder <msnyder@vmware.com>
* gdb.base/setshow.exp (set language asm): Don't use
gdb_test_no_output, fails on some targets.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
* gdb.cp/pr9167.exp: Likewise.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/charset.c (main): Make sure malloc gets linked in.
2010-06-11 Tom Tromey <tromey@redhat.com>
PR gdb/9977, PR exp/11636::
* gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
(pieces_test_f6): Update expected output.
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/moribund-step.exp: New.
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.
* gdb.cp/classes.exp: Ditto.
* gdb.dwarf2/dw2-restore.exp: Ditto.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.
* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/exec_changed.exp:
Use ".*" instead of "" as wildcard regexp.
* gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/checkpoint.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/ending-run.exp: Ditto.
* gdb.base/fileio.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/readline.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/restore.exp: Ditto.
* gdb.base/shlib-call.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/volatile.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.
* gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-value.exp: Ditto.
* gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfile.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR 10640.
* gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: Test for ADL operators.
* gdb.cp/koenig.cc: Added ADL operators.
* gdb.cp/operator.exp: New test.
* gdb.cp/operator.cc: New test.
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
* gdb.base/pending.exp: Ditto.
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2010-06-04 Doug Evans <dje@google.com>
* gdb.python/py-prettyprint.exp: Add new test for enabled and
disabled printers.
* gdb.python/py-prettyprint.py (disable_lookup_function): New function.
(enable_lookup_function): New function.
2010-06-04 Tom Tromey <tromey@redhat.com>
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.
2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
newline.
* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
(empty verbose non-noisy clear, empty verbose noisy clear)
(empty non-verbose noisy clear): Likewise.
2010-06-03 Michael Snyder <msnyder@vmware.com>
* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
* gdb.base/display.exp: Ditto.
* gdb.base/find.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/multi-forks.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/value-double-free.exp: Ditto.
* gdb.base/watch-vfork.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.
* gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/virtfunc.exp: Ditto.
* gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
* gdb.reverse/watch-precsave.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/attach-into-signal.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.
* gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
* gdb.trace/tfind.exp: Ditto.
2010-06-03 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_no_output): Do not emit pass for
successful test if message is the empty string.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.fortran/module.exp (stopped language detection): New test.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Support DW_TAG_module as separate namespaces.
* gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
gdb.fortran/library-module-lib.f90: New.
* gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
(print i): Remove.
(continue to breakpoint: i-is-1, print var_i value 1)
(continue to breakpoint: i-is-2, print var_i value 2)
(continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
(print var_d, print var_i value 14, ptype modmany, complete `modm)
(complete `modmany, complete `modmany`, complete `modmany`var)
(show language, setting breakpoint at module): New tests.
* gdb.fortran/module.f90 (module mod): Remove.
(module mod1, module mod2, module modmany, subroutine sub1)
(subroutine sub2, program module): New.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
(print value of rUC, print value of rI, print value of UI): ... here.
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.
2010-06-02 Michael Snyder <msnyder@vmware.com>
* gdb.trace/actions.exp: Use gdb_test_no_output.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
* gdb.threads/hand-call-in-thraeds.exp: Ditto.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/staticthreads.exp: Ditto.
* gdb.threads/thread-specific.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.
* gdb.python/py-block.exp: Use gdb_test_no_output.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.python/py-value.exp: Ditto.
* gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
* gdb.reverse/watch-reverse.exp: Ditto.
* gdb.server/ext-attach.exp: Use gdb_test_no_output.
* gdb.server/ext-run.exp: Ditto.
* gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
* gdb.dwarf2/dw2-compressed.exp: Ditto.
* gdb.dwarf2/dw2-intercu.exp: Ditto.
* gdb.dwarf2/dw2-intermix.exp: Ditto.
* gdb.dwarf2/dw2-producer.exp: Ditto.
* gdb.dwarf2/mac-fileno.exp: Ditto.
* gdb.gdb/observer.exp: Use gdb_test_no_output.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Use gdb_test_no_output.
* gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.cp/class2.exp: Use gdb_test_no_output.
* gdb.cp/classes.exp: Ditto.
* gdb.cp/extern-c.exp: Ditto.
* gdb.cp/inherit.exp: Ditto.
* gdb.cp/maint.exp: Ditto.
* gdb.cp/mb-inline.exp: Ditto.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.cp/method2.exp: Ditto.
* gdb.cp/misc.exp: Ditto.
* gdb.cp/ovldbreak.exp: Ditto.
* gdb.cp/punctuator.exp: Ditto.
* gdb.cp/templates.exp: Ditto.
* gdb.cp/virtbase.exp: Ditto.
* gdb.threads/attach-stopped.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/attachstop-mt.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/gcore-thread.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/hand-call-in-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/print-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: Added new test case.
* gdb.cp/koenig.cc: Ditto.
2010-06-01 Michael Snyder <msnyder@vmware.com>
* gdb.base/arithmet.exp: Use gdb_test_no_output.
* gdb.base/arrayidx.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/auxv.exp: Ditto.
* gdb.base/bigcre.exp: Ditto.
* gdb.base/break-always.exp: Ditto.
* gdb.base/break-interp.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/breakpoint-shadow.exp: Ditto.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/catch-syscall.exp: Ditto.
* gdb.base/charset.exp: Ditto.
* gdb.base/code-expr.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/cursal.exp: Ditto.
* gdb.base/cvexpr.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/del.exp: Ditto.
* gdb.base/detach.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/foll-fork.exp: Ditto.
* gdb.base/foll-vfork.exp: Ditto.
* gdb.base/frame-args.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.base/gdbvars.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/included.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/macscp.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/multi-fork.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/pending.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/pr11022.exp: Ditto.
* gdb.base/prelink.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/psymtab.exp: Ditto.
* gdb.base/randomize.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/remote.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/set-lang-auto.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/setvar.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/sizeof.exp: Ditto.
* gdb.base/solib-disc.exp: Ditto.
* gdb.base/store.exp: Ditto.
* gdb.base/structs.exp: Ditto.
* gdb.base/structs2.exp: Ditto.
* gdb.base/subst.exp: Ditto.
* gdb.base/term.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.
* gdb.base/unwindonsignal.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/varargs.exp: Ditto.
* gdb.base/watch-cond.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-cond-gone.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
2010-06-01 Michael Snyder <msnyder@vmware.com>
* gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (begin commands on watch): Remove excessive
trailing newline.
* gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
* gdb.java/jmisc.exp (p *args\n): Rename to ...
(p *args): ... here and remove excessive trailing newline.
2010-05-31 Joel Brobecker <brobecker@adacore.com>
* gdb.base/subst.exp: Fix call to gdb_test with empty message.
2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
Accept the new Linux kernel "t (tracing stop)" string.
* gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
Update comment.
(state_wait) <T (tracing stop)>: New.
(main): Update the state_wait expect string.
2010-05-28 Pedro Alves <pedro@codesourcery.com>
* limits.c, limits.exp: Delete files.
* Makefile.in (clean mostlyclean): Adjust.
* tracecmd.exp: Adjust.
2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/tui-layout.exp: New.
2010-05-28 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/break-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/break-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/finish-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/finish-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-sse-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i387-env-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i387-stack-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/machinestate-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/machinestate.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/sigall-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/sigall-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/solib-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/solib-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/step-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/step-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/until-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/until-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/watch-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/watch-reverse.exp:
Replace uses of send_gdb / gdb_expect.
2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
excessive newline.
2010-05-27 Michael Snyder <msnyder@vmware.com>
* gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2010-05-26 Michael Snyder <msnyder@vmware.com>
* gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-ns-stale-regcache.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2010-05-26 Michael Snyder <msnyder@vmware.com>
* gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
* gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add missing space after setup_kfail.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
argument order.
* gdb.base/macscp.exp: Fix setup_kfail argument order.
* gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
order.
* gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
order.
* gdb.base/call-sc.exp (setup_kfails): Remove.
(setup_compiler_kfails): Remove.
* gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
argument order.
* gdb.base/siginfo.exp: Fix setup_kfail argument order.
* gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
(advancei): Fix setup_kfail argument order.
* gdb.base/radix.exp: Fix setup_kfail argument order.
* gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
order.
* gdb.base/structs.exp (setup_kfails): Remove.
(setup_compiler_kfails): Fix setup_kfail argument order.
* gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
order.
* gdb.java/jmain.exp: Fix setup_kfail argument order.
* gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
setup_kfail argument order.
* gdb.cp/overload.exp: Fix setup_kfail argument order.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2010-05-25 Michael Snyder <msnyder@vmware.com>
* gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
* gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
* gdb.base/annota1.exp: Replace send_gdb with gdb_test.
* gdb.base/annota3.exp: Replace send_gdb with gdb_test.
* gdb.base/assign.exp: Replace send_gdb with gdb_test.
* gdb.base/attach.exp: Replace send_gdb with gdb_test.
* gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
* gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
* gdb.base/bitops.exp: Replace send_gdb with gdb_test.
* gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
* gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
* gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
* gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
* gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
* gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
* gdb.base/charset.exp: Replace send_gdb with gdb_test.
* gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
* gdb.base/commands.exp: Replace send_gdb with gdb_test.
* gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
* gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
* gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
* gdb.base/constvars.exp: Replace send_gdb with gdb_test.
* gdb.base/corefile.exp: Replace send_gdb with gdb_test.
* gdb.base/default.exp: Replace send_gdb with gdb_test.
* gdb.base/define.exp: Replace send_gdb with gdb_test.
* gdb.base/display.exp: Replace send_gdb with gdb_test.
* gdb.base/dump.exp: Replace send_gdb with gdb_test.
* gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
* gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
* gdb.base/exprs.exp: Replace send_gdb with gdb_test.
* gdb.base/fileio.exp: Replace send_gdb with gdb_test.
* gdb.base/finish.exp: Replace send_gdb with gdb_test.
* gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
* gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
* gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
* gdb.base/gcore.exp: Replace send_gdb with gdb_test.
* gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
* gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
* gdb.base/help.exp: Replace send_gdb with gdb_test.
* gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
* gdb.base/jump.exp: Replace send_gdb with gdb_test.
* gdb.base/long_long.exp: Replace send_gdb with gdb_test.
* gdb.base/maint.exp: Replace send_gdb with gdb_test.
* gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
* gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
* gdb.base/pointers.exp: Replace send_gdb with gdb_test.
* gdb.base/ptype.exp: Replace send_gdb with gdb_test.
* gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2010-05-25 Doug Evans <dje@google.com>
* gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
gdb.string_to_argv.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
Call it.
* gdb.dwarf2/pieces.S: Update.
* gdb.dwarf2/pieces.c (struct B): Remove initial field.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
Call it.
* gdb.dwarf2/pieces.c (struct C): New.
(f6): New function.
* gdb.dwarf2/pieces.S: Replace.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
Call it.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2.pieces.exp: New file.
* gdb.dwarf2.pieces.S: New file.
* gdb.dwarf2.pieces.c: New file.
2010-05-20 Pedro Alves <pedro@codesourcery.com>
Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_no_output): New function.
* lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
when testing commands that should produce no output.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
parameter that we want to watch being a constant.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/cond_lang: New testcase.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (banned_variables): New variable/constant.
(gdb_init): Add write trace on variables listed in banned_variables.
(gdb_finish): Remove write traces on variables listed in
banned_variables.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
* gdb.cp/koenig.exp: Likewise.
2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
PR python/11482
* gdb.python/py-value.exp (test_value_hash): New function.
2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11530.
* gdb.base/gdb11530.c: New file.
* gdb.base/gdb11530.exp: New file.
2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-modula2-self-type.exp: New.
* gdb.dwarf2/dw2-modula2-self-type.S: New.
2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: New test.
* gdb.cp/koenig.cc: New test program.
2010-05-05 Joel Brobecker <brobecker@adacore.com>
Remove the use of prms_id and bug_id throughout the testsuite.
2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11349.
* testsuite/gdb.cp/ref-types.exp: Add test to examine
use a reference local variable.
2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Remove $exec.debug safety removal.
* gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
variable different_dir. Move debugfile into a full directory pathname
under DIFFERENT_DIR.
* lib/gdb.exp (separate_debug_filename): Remove.
(gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
variable debug_dir and mkdir of it. Update function comments.
2010-04-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/11557
* gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
files.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-param.exp: New File.
2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
* gdb.base/default.exp: Fix "set language" test.
2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
PR breakpoints/11531.
* gdb.base/gdb11531.c: New file.
* gdb.base/gdb11531.exp: New file.
2010-04-26 Tom Tromey <tromey@redhat.com>
* gdb.base/completion.exp: Add tests for completion and deprecated
commands.
2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
(print /x char_array): Escape curly brackets.
2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix deadlock on looped list of loaded shared objects.
* gdb.base/solib-corrupted.exp: New.
2010-04-23 Doug Evans <dje@google.com>
* gdb.python/py-section-script.c: New file.
* gdb.python/py-section-script.exp: New file.
* gdb.python/py-section-script.py: New file.
2010-04-20 Chris Moller <cmoller@redhat.com>
PR 10179
* gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
* gdb.base/pr10179-a.c:
* gdb.base/pr10179-b.c:
* gdb.base/pr10179.exp: New files.
2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix crashes on dangling display expressions.
* gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
is SEP.
(lib_flags): Remove the "debug" keyword.
(libsepdebug): New variable for iterating new loop.
(save_pf_prefix): New variable wrapping the loop.
(sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
* lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.threads/watchthreads.exp: Change to obtain consistent output.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
PR stabs/11479.
* gdb.stabs/gdb11479.exp: New file.
* gdb.stabs/gdb11479.c: New file.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/charset.c (Strin16, String32): New variables.
* gdb.base/charset.exp (gdb_test): Test correct display
of 16 or 32 bit strings.
2010-04-21 Chris Moller <cmoller@redhat.com>
PR 9167
* gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
* gdb.cp/pr9167.cc: New file.
* gdb.cp/pr9167.exp: New file.
2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
PR pascal/11492.
* gdb.pascal/gdb11492.pas: New file.
* gdb.pascal/gdb11492.exp: New file.
2010-04-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2010-04-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/dyn_loc: New testcase.
2010-04-20 Chris Moller <cmoller@redhat.com>
PR 10867
* gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
* gdb.cp/pr10687.cc: New file.
* gdb.cp/pr10687.exp: New file.
2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.fortran/logical.exp: New testcase.
* gdb.fortran/logical.f90: New file.
2010-04-19 Doug Evans <dje@google.com>
* gdb.base/help.exp (help source): Update expected output.
2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
gdb_exit and return.
(executable): New variable.
(binfile): Use it.
2010-04-19 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/8554.
* gdb.trace/save-trace.exp: Adjust.
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
PR corefiles/11511
* gdb.arch/system-gcore.exp: New.
* gdb.arch/gcore.c: Likewise.
2010-04-15 Doug Evans <dje@google.com>
* gdb.python/py-progspace.c: New file.
* gdb.python/py-progspace.exp: New file.
* gdb.base/source.exp: Add tests for "source -s".
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
* gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
* gdb.python/py-prettyprint.exp: New test for to_string returning None.
* gdb.python/py-mi.exp: New test for to_string returning None.
2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.c: Make result global.
2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix non-GNU make compatibility.
* Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: New File.
* gdb.python/py-breakpoint.C: Ditto.
2010-04-08 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Clear default-collect.
* gdb.trace/save-trace.exp: Clear default-collect.
2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value: Add null string variable.
(test_lazy_string): Test zero length, NULL address lazy
strings.
2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/i386-avx.c: New.
* gdb.arch/i386-avx.exp: Likewise.
* gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2010-04-06 Doug Evans <dje@google.com>
* gdb.base/source-test.gdb: New file.
* gdb.base/source.exp: Test source -v.
2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.stabs/aout.sed: Convert all backslash to double backslash
within one line, unless it is followed by a double quote.
* gdb.stabs/hppa.sed: Idem.
* gdb.stabs/weird.def: Add char and String constants
* gdb.stabs/weird.exp: Check for correct parsing of
chhar and string constants.
* gdb.stabs/xcoff.sed: Ignore escaped quote quotes
in .stabs to .stabx substitution.
2010-04-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: Add a variable split across two blocks, and a
constant global.
* gdb.trace/tfile.exp: Try to print them.
2010-04-04 Stan Shebs <stan@codesourcery.com>
* gdb.base/completion.exp: Update for new "info watchpoints".
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.trace/infotrace.exp: Update "info tracpoints" output.
2010-04-04 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.exp: Sharpen tfind test.
2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-entry.exp: New.
2010-04-02 Hui Zhu <teawater@gmail.com>
Michael Snyder <msnyder@vmware.com>
* gdb.reverse/i386-sse-reverse.exp: New file.
* gdb.reverse/i386-sse-reverse.c: New file.
2010-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfind.exp: Adjust expected disassembly output.
2010-04-01 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Tweak expected output.
* gdb.trace/while-stepping.exp: Tweak expected output.
2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/commands.exp: Adjust.
* gdb.cp/extern-c.exp: Adjust.
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.c (local_test_func): Define a local struct,
and instanciate it.
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (gdb_collect_args_test)
(gdb_collect_argarray_test): XFAIL the tests that assume the
argarray argument's elements are collected.
2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-bad-parameter-type.exp,
gdb.dwarf2/dw2-bad-parameter-type.S: New.
2010-03-31 Stan Shebs <stan@codesourcery.com>
* gdb.trace/save-trace.exp: Test save/restore of default-collect
and tracepoint conditionals.
(gdb_verify_tracepoints): Delete unused return.
2010-03-26 Keith Seitz <keiths@redhat.com>
* gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
appear in the output before main.
Remove KFAIL for gdb/2215 aka bz 9320.
2010-03-30 Doug Evans <dje@google.com>
* gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
by dejagnu.
* gdb.arch/amd64-dword.exp: Ditto.
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
match.
(break printf): Ditto.
2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
gcc < 4.4.
* gdb.cp/shadow.exp: Ditto.
2010-03-29 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (run_trace_experiment): Make sure
"tstart" is silent.
2010-03-29 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (executable): New.
(binfile): Use it.
(fpreg, spreg, pcreg): New.
(test_register): Use gdb_test_multiple. Pass /x to print.
(prepare_for_trace_test): New.
(run_trace_experiment): Use "continue", not gdb_run_cmd.
(gdb_collect_args_test, gdb_collect_argstruct_test)
(gdb_collect_argarray_test, gdb_collect_locals_test): Use
prepare_for_trace_test.
(gdb_collect_registers_test): Use prepare_for_trace_test. Use
fpreg, spreg and pcreg.
(gdb_collect_expression_test, gdb_collect_globals_test): Use
prepare_for_trace_test.
(gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
try to detect tracing support here. Don't set breakpoints at
`begin' or `end' here.
<global scope>: Use clean_restart. Run to main before checking
for tracing support. Check for for tracing support here.
2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
" as $displacement" to "seen displacement message".
2010-03-28 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/while-dyn.exp (executable): New variable.
(binfile): Use it.
(test_while_stepping): New function. Move most tests here. Call
it once for each of the while-stepping, stepping and ws aliases.
2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
that do not provide the tagless_struct type name at all.
(test_print_anon_union): Do not check value of uninitialized
union member. Do not use cp_test_ptype_class, so we can accept
"long" as well as "long int".
2010-03-26 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfile.c (tohex, bin2hex): New.
(write_error_trace_file): Hexify error description.
2010-03-25 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: Generate an additional trace file, improve
portability.
* gdb.trace/tfile.exp: Test trace file with an error stop, delete
files in a better way.
2010-03-25 Keith Seitz <keiths@redhat.com>
* gdb.java/jprint.exp: XFAIL printing of static class members
because of GCC debuginfo problem.
2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/completion.exp: Allow long instead of long int.
* gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
* gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
variable p.
* gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
* gdb.base/pointers.exp: Allow long instead of long int.
* gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
* gdb.base/step-line.exp: Allow a directory before the source file name.
2010-03-24 Tom Tromey <tromey@redhat.com>
PR breakpoints/9352:
* gdb.base/default.exp: Update.
* gdb.base/commands.exp: Update.
* gdb.cp/extern-c.exp: Test setting commands on multiple
breakpoints at once.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
if gdb,nosignals.
* gdb.base/watchpoints.c: Do not include unnecessary headers.
* lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
exited".
2010-03-24 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.exp: Expect "trace frame", with a space.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
* gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
argument. Handle "short" and "long".
(Top level): Pass overprototyped output for old_fptr and xptr.
2010-03-23 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
format strings and add casts to avoid compiler warnings.
2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
* lib/trace-support.exp (gdb_trace_setactions):
Don't expect whitespace after ">" prompt.
* gdb.trace/actions.exp: Adjust for output changes.
* gdb.trace/while-stepping.exp: Likewise.
2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
and r157645).
2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
New.
2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
* gdb.python/py-mi.exp (binfile): Rename to py-mi.
2010-03-19 Stan Shebs <stan@codesourcery.com>
* gdb.trace/ax.exp: New file.
2010-03-19 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
output from gcc.
* gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
named /usr/sbin/prelink<foo>.
2010-03-18 Stan Shebs <stan@codesourcery.com>
* gdb.trace/circ.exp: Test circular-trace-buffer.
* gdb.trace/tfile.exp: Update tstatus test.
2010-03-18 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-anonymous-func.S: New file.
* gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2010-03-18 Pedro Alves <pedro@codesourcery.com>
* gdb.base/default.exp: Adjust the expected output of the finish
and until commands when the inferior is not being run.
2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/shadow.exp: Removed kfail; test has been fix.
* gdb.cp/nsusing.exp: Ditto.
2010-03-15 Tom Tromey <tromey@redhat.com>
* gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
* gdb.cp/userdef.cc (operator==): New function.
(main): New locals mem1, mem2.
2010-03-15 Jie Zhang <jie@codesourcery.com>
* lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
Declare and use new loadtimeout variable.
2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
Use gdb_load later.
2010-03-14 Pedro Alves <pedro@codesourcery.com>
* gdb.base/solib-disc.c (main): Make format of fprintf a string
literal. Add missing endlines to prints to stderr.
2010-03-12 Tom Tromey <tromey@redhat.com>
PR c++/9708:
* gdb.cp/m-static.exp: Add regression test.
* gdb.cp/m-static.cc (method): New method.
(main): Call it.
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/gdb2384-base.h: Created 'namespace B'.
* gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (skip_stl_tests): New.
(gdb_compile): Symbian needs -ldl.
(shlib_target_file): New.
(shlib_symbol_file): New.
(gdb_load_shlibs): Use shlib_target_file.
* lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
* gdb.cp/exception.exp: Use skip_stl_tests.
* gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
* gdb.cp/try_catch.exp: Use skip_stl_tests.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.base/commands.exp: Relax regexes.
* gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
sections.
* gdb.base/ending-run.exp: Accept E32Main for symbian.
* gdb.base/solib-disc.exp: Use
shlib_target_file and shlib_symbol_file.
* gdb.base/unload.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2010-03-12 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
* gdb.trace/report.exp: Adjust for x86 and x86_64.
Issue a tfind end before looking for a tracepoint frame.
* gdb.trace/tfind.exp: Adjust tstatus output.
Adjust disassembly output.
* gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Create new displacement parameter value
for the test_ld calls.
(reach): New parameter displacement, verify its content. New push of
pf_prefix "reach-$func:". Import global expect_out.
(test_core): New parameter displacement, verify its content. New push
of pf_prefix "core:". New command "set verbose on". Import global
expect_out.
(test_attach): New parameter displacement, verify its content. New
push of pf_prefix "attach:". New command "set verbose on". Import
global expect_out.
(test_ld): New parameter displacement, pass it to the reach, test_core
and test_attach calls and verify its content in the "ld.so exit" test.
* gdb.base/prelink.exp: Remove gdb_exit and final return.
(prelink): Update expected text, use gdb_test.
2010-03-10 Doug Evans <dje@google.com>
* gdb.base/checkpoint.exp: Fix comment.
Lengthen timeout while doing >600 checkpoints test.
Rename duplicate "kill all one" test to keep test names unique.
2010-03-10 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2010-03-08 Keith Seitz <keiths@redhat.com>
* gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
* gdb.cp/cplusfuncs.cc (dm_type_short): New function.
(dm_type_long): New function.
(dm_type_unsigned_short): New function.
(dm_type_unsigned_long): New function.
(myint): New typedef.
* gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
long, unsigned shor and long, operator char*, and typedef.
(test_lookup_operator_functions): Add operator char* test.
(test_paddr_operator_functions): Likewise.
(test_paddr_overloaded_functions): Use probe values for
short, long, and unsigned short and long.
(test_paddr_hairy_functions): If the demangler probe detected
gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
demangler.
* gdb.cp/expand-sals.exp: Backtrace may contain class names.
* gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
and "print null_pmf".
Add test "ptype a.*pmf".
* gdb.cp/overload.exp: Allow optional "int" to appear with
"short" and "long".
* gdb.cp/ovldbreak.exp: Use append to construct super-duper
long expect value for men_overload1arg.
Allow "int" to appear with "short" and "long".
When testing "info break", add argument for main (void).
Also allow "int" to appear with "short" and "long".
Ditto with "unsigned" and "long long".
* gdb.java/jmain.exp: Do not enclose methods names in single
quotes.
* gdb.java/jmisc.exp: Likewise.
* gdb.java/jprint.exp: Likewise.
* gdb.python/py-symbol.exp: Update expected "linkage_name" value.
From Jan Kratochvil <jan.kratochvil@redhat.com>:
* gdb.cp/exception.exp (backtrace after first throw)
(backtrace after second throw): Allow a namespace before __cxa_throw.
(backtrace after first catch, backtrace after second catch): Allow
a namespace before __cxa_begin_catch.
* gdb.cp/cpexprs.exp: New file.
* gdb.cp/cpexprs.cc: New file.
From Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cpexprs.exp (escape): Delete. Change all callers
to use string_to_regexp.
(ctor, dtor): New functions. Use them to match constructor
and destructor function types.
(Top level): Use runto_main.
2010-03-05 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
gdb.target_charset.
(pp_ns.to_string): Likewise.
2010-03-04 Keith Seitz <keiths@redhat.com>
* gdb.cp/overload.exp: Test that the filename portion of a linespec
can be quoted. Test that both the filename and function/line
portions can be quoted at the same time.
2010-03-04 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2010-03-03 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_compile_pthreads): Handle case where
libc contains libpthread.
* gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
* gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
of gdb_compile. Add another pattern to match android backtrace.
2010-03-03 Tom Tromey <tromey@redhat.com>
PR gdb/11345:
* gdb.base/printcmds.exp (test_printf): Add test.
2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/amd64-byte.exp: New.
* gdb.arch/amd64-dword.exp: Likewise.
* gdb.arch/amd64-pseudo.c: Likewise.
* gdb.arch/amd64-word.exp: Likewise.
* gdb.arch/i386-byte.exp: Likewise.
* gdb.arch/i386-pseudo.c: Likewise.
* gdb.arch/i386-word.exp: Likewise.
2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
types. Add structreg, bitfields, and flags registers.
* gdb.xml/tdesc-regs.exp: Test structreg and bitfields
registers.
2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
* gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
(load_description): Set architecture if defined.
2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-frame.exp: Add read_var block tests.
* gdb.python/py-frame.c (block): New function.
2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2010-02-25 David S. Miller <davem@davemloft.net>
* gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
fix logic for setting all_syscalls_numbers.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
* Makefile.in: Add py-block and py-symbol.
* gdb.python/py-symbol.exp: New File.
* gdb.python/py-symtab.exp: New File.
* gdb.python/py-block.exp: New File.
* gdb.python/py-symbol.c: New File.
* gdb.python/py-block.c: New File.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
PR python/11314
* lib/gdb.exp (skip_python_tests): New function.
* gdb.python/py-cmd.exp: Use skip_python_tests.
* gdb.python/py-frame.exp: Likewise.
* gdb.python/py-function.exp: Likewise.
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-template.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
2010-02-22 Pedro Alves <pedro@codesourcery.com>
PR9605
* gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2010-02-19 Tom Tromey <tromey@redhat.com>
PR c++/8693, PR c++/9496:
* gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
regression tests.
2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with m68k as.
* gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
Use only /* comments */.
2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
* configure: Regenerate.
2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/py-type.exp: Check for Python support.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
`regsub' syntax available.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/shmain.c (main): Remove printf call.
* gdb.base/sizeof.c (main): Cast return of sizeof to int.
* gdb.base/unload.c (main): Make format of fprintf a string
literal. Add missing endlines to prints to stderr.
* gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2010-02-17 Tom Tromey <tromey@redhat.com>
* gdb.java/jprint.java (jprint.props): New field.
* gdb.java/jprint.exp (set_lang_java): Add regression test.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/charset.exp: Don't assume new `regsub' syntax
available.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
creation to support remote host testing.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
Recognize "command not found".
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
single-stepping.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
if arguments are not supported.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
be const or non-const.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
mi_send_resuming_command to send -exec-continue.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/list.exp (test_list_filename_and_function): Add test
with single quotes.
* gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
matching.
* gdb.cp/overload.exp: Add tests with filename, function, and quotes.
Add KFAIL'd tests for PR gdb/11289.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/comp-dir/subdir/dummy.txt: New file.
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
a temporary directory.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/charset.exp: Use a single regular expression to match
show host-charset and show target-charset output.
2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach.exp (attach to nonsense is prohibited): Make the
"Illegal process-id" expect string more exact.
(attach to digits-starting nonsense is prohibited): New.
2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/prelink.exp (set verbose on): New.
2010-02-12 Tomas Holmberg <th@virtutech.com>
* mi-reverse.exp: New file. Test for reverse option to the
following MI commands: exec-continue, exec-finish, exec-next,
exec-step, exec-next-instruction, exec-step-instruction.
2010-02-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_tagged_param: New testcase.
2010-02-08 Tom Tromey <tromey@redhat.com>
PR c++/8017:
* gdb.cp/overload.exp: Add tests.
* gdb.cp/overload.cc (struct K): New.
(namespace N): New.
(main): Call new functions.
(K::staticoverload): Define.
Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
PR gdb/10728
* gdb.cp/pr10728-x.h: New file.
* gdb.cp/pr10728-x.cc: New file.
* gdb.cp/pr10728-y.cc: New file.
* gdb.cp/pr10728.exp: New file.
* gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
PR gdb/9067
* gdb.cp/pr9067.exp: New
* gdb.cp/pr9067.cc: New
* gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2010-02-08 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_timeout): New global variable.
Set it to timeout if not already set.
(gdb_init): Reset the value of timeout to gdb_test_timeout.
2010-02-05 Doug Evans <dje@google.com>
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
user.
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
* gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2010-02-04 Tom Tromey <tromey@redhat.com>
* gdb.cp/virtbase.exp: Make test case names unique.
2010-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/virtbase.exp: Add regression tests.
* gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
(main): Instantiate RHC.
2010-02-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
type-printing change.
2010-02-02 Tom Tromey <tromey@redhat.com>
PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
* gdb.cp/virtbase.cc: New file.
* gdb.cp/virtbase.exp: New file.
* gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
PR libc/11214:
* gdb.threads/current-lwp-dead.c: Include features.h.
(HAS_NOMMU): New.
(fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/symbol-without-target_section.exp,
gdb.base/symbol-without-target_section.c: New.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/bigcore.exp: Reset increased timeout.
* gdb.base/interrupt.exp: Match unexpected gdb prompt.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gcore.exp (capture_command_output): Use
gdb_test_multiple.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.S (it_breakpoints): New function.
* gdb.arch/thumb2-it.exp (test_it_break): New function.
(Top level): Call it.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/call-strs.exp, gdb.base/default.exp,
gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
gdb.base/watchpoint-solib.exp: Save and restore timeout.
* gdb.base/ending-run.exp: Correct restore of timeout.
* gdb.base/page.exp: Remove unnecessary timeout setting.
2010-01-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/rec_return: New testcase.
2010-01-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/call_pn: New testcase.
2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
(Top level): Use it to resume.
* lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
the Thumb mode displaced stepping error as unsupported.
2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsusing.exp: Added more tests.
* gdb.cp/nsrecurs.exp: Ditto.
* gdb.cp/nsusing.cc: Added test functions.
* gdb.cp/nsrecurs.cc: Ditto.
2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Use [file tail $filename] to omit any
absolute directory pathnames in gdb.sum file.
2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: Rename to nsusing.exp.
* gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2010-01-26 Tom Tromey <tromey@redhat.com>
PR exp/7643:
* gdb.base/printcmds.exp (test_print_string_constants): Remove
setup_kfail.
2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsrecurs.exp: New test.
* gdb.cp/nsrecurs.cc: New test program.
* gdb.cp/nsstress.exp: New test.
* gdb.cp/nsstress.cc: New test program.
* gdb.cp/nsdecl.exp: New test.
* gdb.cp/nsdecl.cc: New test program.
2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: Add test for printing of namespaces
imported into file scope.
Marked test as xfail.
* gdb.cp/namespace-using.cc (marker5): New function.
* gdb.cp/shadow.exp: New test.
* gdb.cp/shadow.cc: New test program.
* gdb.cp/nsimport.exp: New test.
* gdb.cp/nsimport.cc: New test program.
2010-01-25 Tom Tromey <tromey@redhat.com>
PR gdb/11049:
* gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
with "set print null-stop on".
2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
Adjust it for DISASSEMBLY_OMIT_FNAME.
2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
PR symtab/11199:
* gdb.dwarf2/member-ptr-forwardref.exp,
gdb.dwarf2/member-ptr-forwardref.S: New.
2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
(thread1_func): Protect thread1_tid with thread1_tid_cond by
thread1_tid_mutex. Remove gdbstop_mutex handling.
(thread2_func): Protect thread2_tid with thread2_tid_cond by
thread2_tid_mutex. Remove gdbstop_mutex handling.
(main): Move thread1_tid_mutex and thread2_tid_mutex locks before
pthread_create. Remove gdbstop_mutex handling. New comment. Replace
pthread_cond_wait conditionalizations by while loops.
2010-01-20 Tom Tromey <tromey@redhat.com>
PR backtrace/10770:
* gdb.dwarf2/pr10770.exp: New file.
* gdb.dwarf2/pr10770.c: New file.
* gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Remove check for 'async' target, because
that target was removed, and the test always runs native anyway.
2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
gdb.base/watchpoint-cond-gone-stripped.c: New.
2010-01-19 Tom Tromey <tromey@redhat.com>
PR c++/8000:
* gdb.cp/namespace.exp: Use new enum. Fix line numbers in
existing tests.
* gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
(main): Use AAA::SomeEnum.
2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
(test_ignore_count): Declare line_callme_body global.
(run to breakpoint with ignore count): Use line_callme_body.
* gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
(set line_main_hello, set line_main_return): Reindent.
(set line_callee4_head, set line_callee4_body, set line_callee4_next):
New.
(continue to callee4): Use line_callee4_body.
(check *stopped from CLI command): Use line_callee4_next.
* gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
(set line_main_hello, set line_main_return): Reindent.
(set line_callee4_head, set line_callee4_body): New.
(continue to callee4): Use line_callee4_body.
2010-01-18 Tom Tromey <tromey@redhat.com>
PR c++/9680:
* gdb.cp/casts.cc: Add new classes and variables.
* gdb.cp/casts.exp: Test new operators.
2010-01-18 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/source2.py: New file.
* gdb.python/source1: New file.
* gdb.python/python.exp: Test "source" command.
2010-01-15 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: New file.
* gdb.trace/tfile.exp: New file.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
(libfunc): New parameter action. Implement also selectable "sleep".
* gdb.base/break-interp-main.c: Include assert.h.
(libfunc): New parameter action.
(main): New parameters argc and argv. Assert argc. Pass argv.
* gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
(test_attach): New proc.
(test_ld): Pass new "segv" exec parameter. Call also test_attach.
* lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (test_core): New proc.
(test_ld): Call it.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
* gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
and gdb_compile_shlib. Use new -Wl compiler options.
(dl bt, main bt): New tests.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Support PIEs with no symfile_objfile.
* gdb.base/break-interp.exp: New argument at the test_ld calls.
(test_ld): New parameter trynosym.
(test_ld <$trynosym>): New block.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: New file.
2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
* gdb.python/py-prettyprint.py (pp_ls): New printer.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
test.
* gdb.python/py-prettyprint.c: Define lazystring test structure.
* gdb.python/py-mi.exp: Add lazy string test.
2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_check_thread_states): Handle
core number in thread listing.
2010-01-12 Joel Brobecker <brobecker@adacore.com>
* gdb.base/maint.exp: Adjust the expected output for the
"maint print type" test. Use gdb_test_multiple instead of
gdb_sent/gdb_expect.
2010-01-11 Doug Evans <dje@google.com>
* lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
from gdbserver_download. All callers updated.
* gdb.server/ext-run.exp: "info os processes" requires xml support.
2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Implement binary numbers parsing.
* gdb.base/printcmds.exp (test_integer_literals_accepted)
(test_integer_literals_rejected): New binary tests.
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* gdb.cell/configure: Regenerate.
2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/corefile.exp: Move the core finding block out and call it as
core_find, new variable $corefile, replace corefile by $corefile and
[file tail $corefile] for usage vs. test names resp.
* lib/gdb.exp (core_find): Move it as a new function here. New
parameter binfile and deletefiles. New variable $destcore. Pre-delete
$destcore. Return "" on error.
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Workaround PR binutils/10802.
* lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
(twice).
2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2010-01-08 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
call, to avoid interruption.
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.stabs/weird.def (args93): New.
2010-01-07 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_skip_xml_test): Add comment.
2010-01-07 Tom Tromey <tromey@redhat.com>
* gdb.base/source.exp: Use correct line number.
2010-01-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tracecmd.exp: Test ftrace.
2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
"uint_for_mi_testing".
2010-01-01 Joel Brobecker <brobecker@adacore.com>
Test indented comment in file being sourced.
* gdb.base/commands.exp: Test indented comment in file being sourced.
2010-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.fortran/array-element.f, gdb.fortran/complex.f,
gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
notice.
2010-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
notice.
2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
missing $after_stopped and comma (,) expectation.
2009-12-31 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Test teval action.
2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
(top level): Call test_watchpoint_in_big_blob.
* gdb.base/watchpoint.c (buf): Change size to value too big for hardware
watchpoints.
(func3): Write to buf.
2009-12-29 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Test default-collect.
2009-12-28 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tsv.exp: New file.
* gdb.base/completion.exp: Update ambiguous info output.
2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/find.c (main): Reference search buffers.
* gdb.base/included.c (main): Reference integer.
* gdb.base/ptype.c (charfoo): Declare.
(intfoo): Call charfoo.
* gdb.base/scope0.c (useitp): New function.
(usestatics): Use useitp.
(useit): Add a type for val.
* gdb.base/scope1.c (useit1): Take a pointer argument.
(usestatics1): Update calls to useit1.
* gdb.cp/call-c.cc: Declare foo.
(main): Call foo.
* gdb.cp/m-static.cc (main): Reference test4.elsewhere.
* gdb.cp/namespace.cc (ensureOtherRefs): Declare.
(main): Call C::ensureRefs and ensureOtherRefs.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
variables.
(ensureOtherRefs): New function.
* gdb.cp/overload.cc (main): Call all overloadNamespace variants.
* gdb.cp/templates.cc (main): Call t5i.value.
2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with G++-4.5.
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
(uncaught return): Remove.
2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Phil Muldoon <pmuldoon@redhat.com>
* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
(bp_location13, bp_location14, bp_location17, bp_location18)
(marker3_proto, marker4_proto): New variables.
(breakpoint info): Update output.
(run until breakpoint at marker3, run until breakpoint at marker4): New
tests.
2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label. New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it. Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.
2009-12-22 Hui Zhu <teawater@gmail.com>
* gdb.reverse/sigall-reverse.exp: Adjust.
2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
PR gdb/10884
* gdb.mi/var-cmd.c (do_bitfield_tests): New
(main): Call do_bitfield_tests.
* gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
2009-12-20 Joel Brobecker <brobecker@adacore.com>
* Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
gdb.base/watch_thread_num.c, gdb.java/jprint.java,
gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
gdb.modula2/unbounded1.c: Update copyright header.
2009-12-10 Chris Moller <moller@mollerware.com>
PR gdb/9399
* gdb.cp/virtfunc2.exp: New tests
* gdb.cp/virtfunc2.cc: New tests
* gdb.cp/Makefile.in: Added tests to EXECUTABLES
2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
* gdb.reverse/i387-env-reverse.c: New file.
* gdb.reverse/i387-env-reverse.exp: New file.
* gdb.reverse/i387-stack-reverse.c: New file.
* gdb.reverse/i387-stack-reverse.exp: New file.
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-type.exp (test_range): New test.
2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
PR python/10805
* gdb.python/py-type.exp: New file.
* gdb.python/py-type.c: New file.
* Makefile.in: Add py-type.
2009-12-03 Tom Tromey <tromey@redhat.com>
* gdb.python/py-value.exp (test_parse_and_eval): New
function.
2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/11022
* gdb.base/pr11022.exp: New test.
* gdb.base/pr11022.c: New test.
2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix spurious false FAILs.
* gdb.base/structs.c (chartest): New.
(main): Fill-in chartest.
* gdb.base/structs.exp (anychar_re, first): New.
(start_structs_test): Import global anychar_re and first.
New gdb_test call "set print elements 300; ${testfile}"
(start_structs_test <$first>): New block.
(any): Import global anychar_re. New variable ac. Use ${ac}.
2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
Force $srcfile file.
* gdb.base/foll-fork.c (callee): Comment out the printf call.
2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/hbreak.exp: Disable for s390*-*-* targets.
* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
* gdb.threads/watchthreads-reorder.exp: Likewise.
2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/8704
* gdb.base/condbreak.exp: Test combinations of "break *EXP",
"if", and "thread". Correct matching in the previous test.
2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2009-11-23 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
* gdb.reverse-watch-precsave.exp: Ditto.
2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.asm/asm-source.exp: Adjust.
* gdb.base/help.exp: Adjust.
2009-11-22 Pedro Alves <pedro@codesourcery.com>
* gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
(do_syscall_tests_without_xml): Set data-directory to
/the/path/to/nowhere.
2009-11-21 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/local-watch-wrong-thread.c,
gdb.threads/local-watch-wrong-thread.exp: New files.
2009-11-21 Pedro Alves <pedro@codesourcery.com>
* gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
assume new `regsub' syntax available.
2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-hw-hit-once.exp,
gdb.base/watchpoint-hw-hit-once.c: New.
2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/watchthreads-reorder.exp,
gdb.threads/watchthreads-reorder.c: New.
2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
* gdb.xml/tdesc-regs.exp: Use for m68k.
2009-11-15 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (current_target_name): New procedure.
(gdb_wrapper_target): New variable.
(gdb_wrapper_init): Set gdb_wrapper_target.
(default_gdb_init): Check gdb_wrapper_target before rebuilding the
wrapper.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/remote.exp: Delete the slowest load test.
Do not load with fixed packet sizes.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/freebpcmd.exp: Delete unused variable. Specify
srcfile when setting a breakpoint.
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
macros.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
to be in memory.
* gdb.base/display.c (force_mem): New.
(do_loops): Use it. Add breakpoint comments.
(do_vars): Add a breakpoint comment.
* gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
line numbers.
2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/pending.exp: Use gdb_run_cmd to start the program
instead of a bare "run".
2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/py-prettyprint.exp: Adjust.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/cell.exp (skip_cell_tests): Clean up test files before
returning.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
and the breakpoint menu. Do not call perror if a prompt is seen.
Consume the following GDB prompt.
* gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
* gdb.cp/namespace.exp: Use gdb_test.
* gdb.cp/templates.exp: Use gdb_test.
(test_template_breakpoints): Use gdb_test_multiple.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break1.c (struct some_struct, values): Move earlier.
(marker4): Reference values.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/macscp.exp: Avoid the first FAIL if macro information
is missing.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break.c (need_malloc): New.
* gdb.base/constvars.c (main): Reference crass and crisp.
* gdb.base/gdb1821.c (main): Reference bar.
* gdb.cp/gdb1355.cc (main): Reference s1.
* gdb.cp/hang1.cc (dummy2, dummy3): Declare.
(main): Call them.
* gdb.cp/hang2.cc (dummy2): Define.
* gdb.cp/hang3.cc (dummy3): Define.
* gdb.cp/m-data.cc (main): Reference shadow.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
* lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
remote host.
2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/step-line.exp: Copy step-line.inp to the remote host.
* gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
* gdb.dwarf2/dw2-compressed.exp: Likewise.
* gdb.dwarf2/dw2-intercu.exp: Likewise.
* gdb.dwarf2/dw2-intermix.exp: Likewise.
* gdb.dwarf2/dw2-producer.exp: Likewise.
* gdb.dwarf2/mac-fileno.exp: Likewise.
* gdb.python/py-prettyprint.exp (run_lang_tests): Copy
py-prettyprint.py to the remote host.
* gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2009-11-11 Keith Seitz <keiths@redhat.com>
* gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
use it instead of "Foo".
* gdb.cp/classes.exp (do_tests): Add a test to access
a method through a typedef'd class name.
2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/long_long.exp: Permit leading zeros on floating-point
exponents.
* gdb.base/pointers.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
2009-11-11 Keith Seitz <keiths@redhat.com>
* gdb.cp/cplusfuncs.cc (class foo): Add operators
new[] and delete[].
* gdb.cp/cplusfuncs.exp (dm_type_void): Change to
"void".
(probe_demangler): Remove all single-quoting of
method and variable names.
(info_func_regexp): Remove the word "void" from any
occurrence of "(void)".
(print_addr_2): Remove all single-quoting of
method names.
(print_addr_2_kfail): Likewise.
(print_addr): Single-quote C function names before
passing to print_addr_2.
(test_paddr_operator_functions): Remove single-quoting
for method names.
Add tests for operator new[] and operator delete[].
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2009-11-09 Keith Seitz <keiths@redhat.com>
* gdb.cp/overload.exp: Add tests for resolving overloaded
methods in expression parsing/evaluation.
2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (default_gdb_version): Use --version instead of
--command.
2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New.
(gdb_compile): Use gdb_compile_test for f77.
* lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
* lib/java.exp (compile_java_from_source): Remove runtests check,
use gdb_compile_test to record result.
* gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
gdb.ada/exec_changed.exp, gdb.ada/start.exp,
gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.
2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.in (abs_builddir): New.
(site.exp): New target `$(abs_builddir)/site.exp'. New comment.
(check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
`$(abs_builddir)/site.exp'.
2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
* config/m68k-emc.exp, lib/emc-support.exp,
gdb.trace/gdb_c_test.c: Delete.
* gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
gdb.trace/collection.exp, gdb.trace/deltrace.exp,
gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
casing for m68k-*-elf.
2009-11-03 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_expect): Fix timeout typo.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
* gdb.base/sepdebug2.c: New file.
2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
the modified warnings for catch syscall. Verify if GDB was compiled
with support for lib expat, and choose which tests to run depending
on this.
2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_breakpoint_commands): Test
that composite commands are parsed OK. And also test
that breakpoint commands do work.
2009-10-23 Michael Snyder <msnyder@vmware.com>
gdb.reverse/consecutive-precsave.exp: Change expect pattern
to allow for new disassembly style.
2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.asm/asm-source.exp: Adjust.
2009-10-22 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/break-precsave.exp: New test.
* gdb.reverse/consecutive-precsave.exp: Ditto.
* gdb.reverse/finish-precsave.exp: Ditto.
* gdb.reverse/i386-precsave.exp: Ditto.
* gdb.reverse/machinestate-precsave.exp: Ditto.
* gdb.reverse/sigall-precsave.exp: Ditto.
* gdb.reverse/solilb-precsave.exp: Ditto.
* gdb.reverse/step-precsave.exp: Ditto.
* gdb.reverse/until-precsave.exp: Ditto.
* gdb.reverse/watch-precsave.exp: Ditto.
2009-10-22 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
for gdb_expect. Adjust one test's expect strings for the new
format of disassemble.
* gdb.reverse/finish-reverse.exp: Delete 'return'.
* gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
gdb_test_multiple.
* gdb.reverse/step-reverse.exp: Delete 'return'.
* gdb.reverse/until-reverse.exp: Delete blank lines.
* gdb.reverse/watch-reverse.exp: Delete blank lines.
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/consecutive.exp: Adjust.
* gdb.base/display.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
2009-10-19 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/consecutive-reverse.c: Add comment at end of main.
* gdb.reverse/finish-reverse.c: Ditto.
* gdb.reverse/sigall-reverse.c: Ditto.
* gdb.reverse/solib-reverse.c: Ditto.
* gdb.reverse/step-reverse.c: Ditto.
* gdb.reverse/watch-reverse.c: Ditto.
2009-10-19 Pedro Alves <pedro@codesourcery.com>
Stan Shebs <stan@codesourcery.com>
* gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
* gdb.base/foll-exec.exp: Adjust to expect a process id before
"Executing new program".
* gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
* gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
left listed after having been killed.
* gdb.base/attach.exp: Adjust to spell out "symbol-file".
* gdb.base/maint.exp: Adjust test.
* Makefile.in (ALL_SUBDIRS): Add gdb.multi.
* gdb.multi/Makefile.in: New.
* gdb.multi/base.exp: New.
* gdb.multi/goodbye.c: New.
* gdb.multi/hangout.c: New.
* gdb.multi/hello.c: New.
* gdb.multi/bkpt-multi-exec.c: New.
* gdb.multi/bkpt-multi-exec.exp: New.
* gdb.multi/crashme.c: New.
2009-10-13 Tristan Gingold <gingold@adacore.com>
* gdb.base/sepdebug.exp: Check debug info are found.
2009-10-08 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.
2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2009-10-07 Joel Brobecker <brobecker@adacore.com>
* gdb.base/watchpoints.c: Add copyright header. Reformat one
of the comments.
2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/annota1.exp: Remove obsolete match_max increase.
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.
2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.
2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
mingw and cygwin targets.
2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Avoid adding
gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/shr1.c: Use %p in format string.
* gdb.base/unload.c: Avoid warning in fprintf.
* gdb.base/watchpoint-solib.c: Idem.
2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
long type.
(test_unlink): Correct printf string.
* gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
* gdb.threads/attachstop-mt.c: Add #include <string.h>.
2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
* gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
* gdb.arch/ia64-breakpoint-shadow.S: New file.
2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.objc/basicclass.exp: Disable pending breakpoint query.
* gdb.objc/nondebug.exp: Likewise.
2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting.
* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dump.exp: Pass difference of pointer types instead
of integer types as offset to restore in intarr3.srec case.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.
2009-09-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Test utf-16 strings with Python.
2009-09-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
* gdb.base/charset.c (utf_32_string): Rename.
(init_utf32): Rename.
(main): Update.
2009-09-22 Tom Tromey <tromey@redhat.com>
* gdb.python/py-function.exp: Add regression tests.
2009-09-21 Keith Seitz <keiths@redhat.com>
* gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
with invalid operator.
2009-09-21 Keith Seitz <keiths@redhat.com>
* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
and destructor using typedef name of class.
* gdb.cp/classes.cc (class Base1): Add a destructor.
(base1): New typedef.
(use_methods): Instanitate an object of type base1.
* gdb.cp/templates.exp (test_template_typedef): New procedure.
(do_tests): Call test_template_typedef.
* gdb.cp/templates.cc (Baz::~Baz): New method.
(intBazOne): New typedef.
(main): Instantiate intBazOne.
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
PR python/10633
* gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
Function.
(run_lang_tests): Add print elements test.
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_subscript_regression): New
function. Test for invalid subscripts.
* gdb.python/py-value.c (main): Add test array, and pointer to it.
(ptr_ref): New function.
2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/default.exp: Fix "show convenience".
2009-09-15 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (mi_create_varobj): Update.
(mi_create_floating_varobj): Likewise.
(mi_create_dynamic_varobj): New proc.
(mi_varobj_update): Update.
(mi_varobj_update_with_type_change): Likewise.
(mi_varobj_update_kv_helper): New proc.
(mi_varobj_update_dynamic_helper): Rewrite.
(mi_varobj_update_dynamic): New proc.
(mi_list_varobj_children): Update.
(mi_list_varobj_children_range): Add 'from' and 'to' arguments.
* gdb.python/python-prettyprint.py (pp_outer): New class.
(pp_nullstr): Likewise.
(lookup_function): Register new printers.
* gdb.python/python-prettyprint.c (struct substruct): New type.
(struct outerstruct): Likewise.
(substruct_test): New function.
(struct nullstr): New type.
(string_1, string_2): New globals.
(main): Add new tests.
* gdb.python/python-mi.exp: Added regression tests.
* gdb.mi/mi2-var-display.exp: Update.
* gdb.mi/mi2-var-cmd.exp: Update.
* gdb.mi/mi2-var-child.exp: Update.
* gdb.mi/mi2-var-block.exp: Update.
* gdb.mi/mi-var-invalidate.exp: Update.
* gdb.mi/mi-var-display.exp: Update.
* gdb.mi/mi-var-cmd.exp: Update.
* gdb.mi/mi-var-child.exp: Update.
* gdb.mi/mi-var-block.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.mi/gdb701.exp: Update.
2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* Makefile.in: Inclusion of catch-syscall object.
* gdb.base/catch-syscall.c: New file.
* gdb.base/catch-syscall.exp: New file.
2009-09-12 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/step-reverse.exp: Explicitly check for targets
that can support reverse debuggnig.
2009-09-11 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/valop.S: New file.
* gdb.dwarf2/valop.exp: New file.
2009-09-11 Mark Kettenis <kettenis@gnu.org>
* gdb.threads/current-lwp-dead.exp: Only run this on Linux.
2009-09-10 Doug Evans <dje@google.com>
* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
Add $gdb_prompt to second breakpoint regexp.
2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
* gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
names, add missing ones.
* gdb.python/py-cmd.exp: Rename from python-cmd.exp.
* gdb.python/py-frame.c: Rename from python-frame.c.
* gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
testfile name.
* gdb.python/py-function.exp: Rename from python-function.exp.
* gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
testfile name.
* gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
* gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
Adjust testfile name.
* gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
* gdb.python/py-template.cc: Rename from python-template.cc.
* gdb.python/py-template.exp: Rename from python-template.exp.
Adjust testfile name.
* gdb.python/py-value.c: Rename from python-value.c.
* gdb.python/py-value.exp: Rename from python-value.exp. Adjust
testfile name.
2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
$bpt2address.
(Second breakpoint address is valid on ia64)
(Third breakpoint on ia64 in the Second breakpoint's bundle): New.
2009-09-03 Joseph Myers <joseph@codesourcery.com>
* gdb.base/ending-run.exp: Restrict regular expression matching
line number to require closing brace following.
2009-09-03 Doug Evans <dje@google.com>
* gdb.base/store.exp (check_set): Fix typo in expected value message.
2009-09-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
2009-09-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/callframecfa.exp: New file.
* gdb.dwarf2/callframecfa.S: New file.
2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
gdb.base/solib-overlap-main.c: New.
2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/10565
* gdb.base/bitfields.c (struct container, container): New.
(main): Initialize it and call break5.
* gdb.base/bitfields.exp (bitfield_at_offset): New test.
2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Support constant DW_AT_data_member_location by GCC PR debug/40659.
* gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2009-08-26 Michael Snyder <msnyder@vmware.com>
* gdb.base/i386-reverse.c: New file.
* gdb.base/i386-reverse.exp: New file.
* gdb.base/Makefile.in: Add new files to be removed.
2009-08-26 Joseph Myers <joseph@codesourcery.com>
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2009-08-24 Keith Seitz <keiths@redhat.com>
* gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
Add two new C++ completer tests which limit the output to a
given class.
2009-08-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/del.exp: Fix typo in comment.
* gdb.base/step-bt.exp: Fix cut and paste error in comment.
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.
2009-08-19 Doug Evans <dje@google.com>
* gdb.base/gdbvars.c: New file.
* gdb.base/gdbvars.exp: Test convenience vars with program variables.
2009-08-14 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
2009-08-13 Pedro Alves <pedro@codesourcery.com>
* gdb.base/default.exp: Adjust "set language test": it's now an
enum command. Larger help string moved to "help set language".
* gdb.base/help.exp: Adjust "help set language" expected output,
now lists all known languages.
2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
* gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
all frame arguments.
* gdb.arch/altivec-regs.exp: Likewise.
2009-08-07 Tom Tromey <tromey@redhat.com>
* gdb.base/setshow.exp: Add tests for changes to set language, set
check range, and set check type.
2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_list_breakpoints): Make it work.
* gdb.mi/mi-break.exp (test_breakpoint_commands): New.
Call it.
2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* configure.ac: Run gdb.cell tests when appropriate.
* configure: Regenerate.
* lib/cell.exp: New file.
* gdb.cell: New directory.
* gdb.cell/configure.ac: New file.
* gdb.cell/configure: New file.
* gdb.cell/Makefile.in: New file.
* gdb.cell/arch.exp: New file.
* gdb.cell/break.c: New file.
* gdb.cell/break.exp: New file.
* gdb.cell/break-spu.c: New file.
* gdb.cell/bt.c: New file.
* gdb.cell/bt2-spu.c: New file.
* gdb.cell/bt-spu.c: New file.
* gdb.cell/bt.exp: New file.
* gdb.cell/coremaker.c: New file.
* gdb.cell/coremaker-spu.c: New file.
* gdb.cell/core.exp: New file.
* gdb.cell/gcore.exp: New file.
* gdb.cell/data.c: New file.
* gdb.cell/data.exp: New file.
* gdb.cell/data-spu.c: New file.
* gdb.cell/ea-cache.exp: New file.
* gdb.cell/ea-cache.c: New file.
* gdb.cell/ea-cache-spu.c: New file.
* gdb.cell/ea-standalone.c: New file.
* gdb.cell/ea-standalone.exp: New file.
* gdb.cell/ea-test.c: New file.
* gdb.cell/ea-test.exp: New file.
* gdb.cell/f-regs.exp: New file.
* gdb.cell/mem-access.c: New file.
* gdb.cell/mem-access.exp: New file.
* gdb.cell/mem-access-spu.c: New file.
* gdb.cell/ptype.exp: New file.
* gdb.cell/registers.exp: New file.
* gdb.cell/size.c: New file.
* gdb.cell/sizeof.exp: New file.
* gdb.cell/size-spu.c: New file.
* gdb.cell/solib.exp: New file.
* gdb.cell/solib-symbol.exp: New file.
2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.xml/tdesc-regs.exp: Skip for SPU targets.
2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/float.exp: Handle VFP registers.
2009-07-14 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
to bring gdb to the beginning of the calling line.
* gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
confusing the i386 epilogue unwinder.
2009-07-14 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
2009-07-14 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/step-reverse.exp (stepi into function call):
Call instruction may not be first instruction in the line.
(reverse stepi from a function call): Used wrong line number.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix gdb.base/macscp.exp when using custom inputrc.
* gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
* gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
env(TERM) set.
* gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
* lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
* gdb.base/annota1.exp (thread_test): Import global $testfile.
Change the compilation target to match the testcase name.
* gdb.base/sect-cmd.exp: Change the compilation target to match the
testcase name.
* a2-run.exp: Use for setup prepare_for_testing. Change the
compilation target to match the testcase name.
* gdb.base/commands.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/info-target.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
2009-07-11 Hui Zhu <teawater@gmail.com>
* gdb.base/help.exp (disassemble): Update expected help text.
2009-07-09 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp: Handle TRANSCRIPT.
(remote_spawn, remote_close, send_gdb): New procs.
2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python-prettyprint.c: Add counted null string
structure.
* gdb.python/python-prettyprint.exp: Print null string. Test for
embedded nulls.
* gdb.python/python-prettyprint.py (pp_ns): New Function.
* gdb.python/python-value.exp (test_value_in_inferior): Add
variable length string fetch tests.
* gdb.python/python-value.c (main): Add strings for string fetch tests.
2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dump.exp (inaccessible memory is reported): New test.
2009-07-07 Tom Tromey <tromey@redhat.com>
* gdb.base/call-rt-st.exp: Update for change to escape output.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/charset.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/store.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/charset.exp: Test octal escape sequence length.
Update for change to escape output.
2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
* lib/java.exp (java_init): Ignore $GCJ if it is empty.
2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdbserver-support.exp (gdbserver_start): Loop spawning
gdbserver increasing $portnum if "Can't bind address" has been seen.
2009-07-05 Pedro Alves <pedro@codesourcery.com>
* gdb.base/ending-run.exp: Add "step out of main" pattern for
mingw32ce.
2009-07-05 Pedro Alves <pedro@codesourcery.com>
* gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
VFP format.
2009-07-02 Pedro Alves <pedro@codesourcery.com>
* gdb.base/multi-forks.exp: Only run detach-on-fork tests on
linux. Adjust to use "inferior", "info inferiors", "detach
inferior" and "kill inferior" instead of "restart", "info fork",
"detach fork" and "delete fork".
* gdb.base/ending-run.exp: Spell out "info".
* gdb.base/help.exp: Adjust to use test_prefix_command_help for
the "kill" command.
2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/tls-shared.exp: Update to locexpr_describe_location
change to prefix TLS offset in hex with 0x.
2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/default.exp: Update test case for "x" changes.
2009-07-01 Tristan Gingold <gingold@adacore.com>
* gdb.base/bigcore.exp: Make darwin untested.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/completion.exp (directory completion): Create the directory.
New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
escapeuniquesub.
(directory completion 2): Expect now ${escapeuniquesub}.
(Glob remaining of directory test): Remove one excessive newline.
Expect the real output.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix `make check//%' target after `make check' has been ran.
* Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
a mkdir call.
(check-gdb.base%): Remove the gdb.base%/.dir dependency.
(%/.dir): Remove.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_check_thread_states): Permit any output before
the expected result record.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Remove racy FAILs relying just on the timeouts.
* gdb.base/setshow.exp (set annotate 2, show annotate (2))
(annotation_level 2): Remove racy FAILs.
2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
gdb/10275
* gdb.dwarf2/dw2-restore.{S,exp}: New test.
2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-stack.exp: Testing symbolic options
to -stack-list-locals and -stack-list-arguments.
2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
2009-06-29 Tom Tromey <tromey@redhat.com>
* dg-extract-results.sh: New file.
* Makefile.in (FORCE_PARALLEL): New variable.
(CHECK_TARGET): New conditional variable.
(check): Use CHECK_TARGET.
(DO_RUNTEST): New variable.
(check-single): New target.
(TEST_DIRS): New variable.
(TEST_TARGETS): Likewise.
(check-parallel): New target.
(check-gdb.%): New pattern.
(BASE1_FILES): New variable.
(BASE2_FILES): Likewise.
(check-gdb.base%): New pattern.
(%/.dir): New pattern.
* configure: Rebuild.
* aclocal.m4 (AM_CONDITIONAL): New defun.
* configure.ac: Check whether user is using GNU make.
(GMAKE): New conditional.
2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-nested-import.cc: New test.
* gdb.cp/namespace-nested-import.exp: New test.
2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break.exp: Add an XFAIL for gcc/36748.
* gdb.cp/annota2.exp: Accept frames-invalid in more places.
* gdb.opt/Makefile.in (EXECUTABLES): Update.
* gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
* gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
gdb.opt/inline-markers.c: New files.
* lib/gdb.exp (skip_inline_frame_tests): New function.
(skip_inline_var_tests): New function.
2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
* gdb.cp/exception.exp: Don't require $hex before inner frame in
backtrace.
2009-06-27 Michael Snyder <msnyder@vmware.com>
* gdb.reverse: New directory.
* gdb.reverse/break-reverse.c: New test.
* gdb.reverse/break-reverse.exp: New test.
* gdb.reverse/consecutive-reverse.c: New test.
* gdb.reverse/consecutive-reverse.exp: New test.
* gdb.reverse/finish-reverse.c: New test.
* gdb.reverse/finish-reverse.exp: New test.
* gdb.reverse/machinestate.c: New test.
* gdb.reverse/ms1.c: New test.
* gdb.reverse/machinestate.exp: New test.
* gdb.reverse/Makefile.in: New file.
* gdb.reverse/shr2.c: New test.
* gdb.reverse/solib-reverse.c: New test.
* gdb.reverse/solib-reverse.exp: New test.
* gdb.reverse/step-reverse.c: New test.
* gdb.reverse/step-reverse.exp: New test.
* gdb.reverse/until-reverse.c: New test.
* gdb.reverse/ur1.c: New test.
* gdb.reverse/until-reverse.exp: New test.
* gdb.reverse/watch-reverse.c: New test.
* gdb.reverse/watch-reverse.exp: New test.
* configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
* configure: Regenerate.
2009-06-26 Doug Evans <dje@google.com>
* gdb.base/psymtab.exp: Turn off pending breakpoints.
2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
windows problem for 'file delete $binfile'.
2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: New test.
* gdb.cp/namespace-using.cc: New test.
2009-05-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/variant_record_packed_array: New testcase.
2009-06-23 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (test_combination): Regression test.
* gdb.base/charset.c (my_wchar_t): New typedef.
(myvar): New global.
(main): Set myvar.
2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
target.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dump.exp: Handle SPU like 64-bit platforms.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/gdb680.exp: Update test for error message.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/annota1.exp: Allow multiple occurrences of the
frames-invalid annotation.
* gdb.cp/annota2.exp: Likewise.
2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
* gdb.cp/gdb2495.cc: New file.
* gdb.cp/gdb2495.exp: New file.
2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
Report error on GDB crash during runto.
* lib/gdb.exp (runto <eof>): New.
2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
gdb.server/server-mon.exp, gdb.server/server-run.exp,
gdb.trace/actions.exp, gdb.trace/backtrace.exp,
gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
gdb.trace/while-stepping.exp: Use a unique name for the compiled
executable.
2009-06-07 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
defined before referencing it.
2009-06-03 Doug Evans <dje@google.com>
* gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
* gdb.arch/i386-see.c: Ditto.
2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/macscp.exp (info_macro): Return undefined if undefined.
(check_macro): Return 1 if undefined.
If first test fails, check if macro debug information is available,
and report unsupported test if no macro information is found.
2009-05-29 Doug Evans <dje@google.com>
* gdb.threads/hand-call-in-threads.exp: New.
* gdb.threads/hand-call-in-threads.c: New.
2009-05-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-always.exp: Change "1" to "on".
Add confirmation check.
2009-05-28 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/threxit-hop-specific.c: New.
* gdb.threads/threxit-hop-specific.exp: New.
* gdb.threads/thread-execl.c: New.
* gdb.threads/thread-execl.exp: New.
2009-05-27 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
(mi_child_regexp): Likewise.
(mi_list_varobj_children_range): Likewise.
(mi_get_features): Likewise.
(mi_list_varobj_children): Rewrite.
* gdb.python/python-mi.exp: New file.
2009-05-27 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
Phil Muldoon <pmuldoon@redhat.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/python-prettyprint.exp: New file.
* gdb.python/python-prettyprint.c: New file.
* gdb.python/python-prettyprint.py: New file.
* gdb.base/display.exp: print/r is now valid.
2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
Pedro Alves <pedro@codesourcery.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/python-template.exp: New file.
* gdb.python/python-template.cc: New file.
* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
tests.
* gdb.python/python-value.exp (py_objfile_tests): New proc.
Call it.
(test_value_after_death): New proc.
* gdb.python/python-value.c (PTR): New typedef.
(main): New variable 'x'.
2009-05-27 Tom Tromey <tromey@redhat.com>
* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
tests.
* gdb.python/python-value.exp (py_objfile_tests): New proc.
Call it.
2009-05-27 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
2009-05-24 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/fork-thread-pending.c: New.
* gdb.threads/fork-thread-pending.exp: New.
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
* gdb.dwarf2/dw2-strp.S (a_string2): New.
2009-05-18 Jon Beniston <jon@beniston.com>
* gdb.asm/asm-source.exp: Add lm32 target.
2009-05-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/foll-fork.c: Include stdlib.h. Add markers for
`gdb_get_line_number'. Call `callee' in both parent and child.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Use
`gdb_get_line_number' instead of hardcoding line numbers.
(catch_fork_unpatch_child): New procedure to test detaching
breakpoints from child fork.
(tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
hardcoding line numbers.
(do_fork_tests): Run `catch_fork_unpatch_child'.
2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cmd-var.exp: Check that when varobj
of structure type enters or leaves the scope, it
is reported by -var-update.
2009-05-11 Doug Evans <dje@sebabeach.org>
* gdb.mi/nsintrall.c (main): Fix off-by-one error.
* gdb.threads/pending-step.c (main): Fix off-by-one error.
* gdb.threads/schedlock.c (main): Fix off-by-one error.
2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
2009-04-30 Doug Evans <dje@google.com>
* gdb.threads/watchthreads2.exp: New testcase.
* gdb.threads/watchthreads2.c: New testcase.
2009-04-29 Doug Evans <dje@google.com>
* gdb.cp/mb-ctor.exp: Add multi-line source statement test.
* gdb.cp/mb-ctor.cc: Ditto.
* gdb.cp/mb-inline.exp: Add multi-line source statement test.
* gdb.cp/mb-inline.h (multi_line_foo): New function.
* gdb.cp/mb-inline1.cc: Call it.
* gdb.cp/mb-inline2.cc: Ditto.
* gdb.cp/mb-templates.exp: Add multi-line source statement test.
* gdb.cp/mb-templates.cc (multi_line_foo): New template.
2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
(info_macro): Remova `decimal' declaration. New variable `nonzero'.
Replace all uses of `decimal' by `nonzero'.
(info macro FROM_COMMANDLINE): New test.
2009-04-27 Tom Tromey <tromey@redhat.com>
* gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2009-04-27 Doug Evans <dje@google.com>
* gdb.threads/watchthreads.c (main): Initialize args before starting
the threads. Plus formatting cleanup.
* gdb.threads/watchthreads.exp: Avoid errant failures due to
biased scheduling of one thread.
2009-04-27 Jerome Guitton <guitton@adacore.com>
* gdb.cp/templates.cc (GetMax): New template.
(main): Declare two instances of GetMax.
* gdb.cp/templates.exp: Add new test.
2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-22 Joseph Myers <joseph@codesourcery.com>
* lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2009-04-15 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Add regression test.
2009-04-14 Joel Brobecker <brobecker@adacore.com>
* gdb.base/exe-lock.exp: New testcase.
2009-04-13 Tom Tromey <tromey@redhat.com>
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.
2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
* gdb.server/ext-attach.exp: Likewise.
2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
Eliminate some sleep usage.
* gdb.mi/basics.c (do_nothing): New.
(main): Use do_nothing instead of printf, so that
not to introduce race condition between output of
inferiour and output of gdb. Do not use sleep as it
is not generally available on embedded targets.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".
2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
mi_run_to_main.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Don't check isnative. Use
mi_run_to_main. Skip thread exit test on remote targets.
* gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
mi_run_to_main.
* gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
mi_run_to_main.
* lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
when expecting ^connected. Detect when the target doesn't support
non-stop mode.
(mi_run_cmd): Detect if non-stop mode was requested by isn't
supported. Return -1 on error, 0 on success.
(mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
(mi_runto): Return mi_runto_helper's result explicitly.
2009-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
2009-04-01 Tom Tromey <tromey@redhat.com>
* gdb.base/funcargs.exp: Set print frame-arguments to "all".
* gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
* gdb.ada/ref_param.exp: Set print frame-arguments to "all".
* gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/931
* gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
output.
* gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
for gdb/931.
* dw2-strp.S (DW_AT_language): Change to C++.
(DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
2009-03-31 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tasks: New testcase.
2009-03-30 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Update to match new info trace format.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-frame.c: New file.
* gdb.python/python-frame.exp: New file.
2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp: Add tests for the address
attribute.
2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
* gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
2009-03-26 Doug Evans <dje@google.com>
* gdb.mi/mi-nonstop-exit.exp: New file.
* gdb.mi/non-stop-exit.c: New file.
2009-03-26 Tom Tromey <tromey@redhat.com>
Update for change to prologue skipping:
* gdb.mi/mi2-simplerun.exp: Update.
* gdb.mi/mi2-break.exp: Update.
* gdb.mi/mi-simplerun.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.base/ending-run.exp: Update.
2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp (test_value_in_inferior): Test
gdb.Value.is_optimized_out attribute.
2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-noloc-main.c: New file.
* gdb.dwarf2/dw2-noloc.S: New symbols matrix.
(.text): Remove.
(.data): New.
(DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
(DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
(DW_TAG_subprogram func_cu1, noloc): Remove.
(main): New.
* gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
`dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
(file_symbols): New procedure.
2009-03-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (valid_target_charset): New proc.
Use it to skip tests on invalid charsets.
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/completion.exp: Add a test for directory completion.
2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a racy FAIL.
* gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
* gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-cmd.exp: Add tests for keyword arguments.
* gdb.python/python-function.exp: Add test for function returning
a GDB value.
2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-function.exp: New file.
2009-03-20 Tom Tromey <tromey@redhat.com>
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
2009-03-19 Jerome Guitton <guitton@adacore.com>
* gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
deltas.
* gdb.ada/fixed_points.exp: Ditto.
2009-03-18 Pedro Alves <pedro@codesourcery.com>
* return-nodebug.c: Don't include stdio.h.
(init): Delete.
(func): Delete definition and provide extern declaration.
(t): New.
(main): Don't call printf. Call func and store its result in t.
* return-nodebug1.c: New.
* return-nodebug.exp: Don't expect stdio output. Instead, print
the global variable t. Drop printf formatters and cast types from
foreach loop. Don't use prepare_for_testing. Compile
return-nodebug.c and return-nodebug1.c in separate steps. Don't
define FORMAT or CAST.
2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/solib-display.exp: Disable test for remote targers.
2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a racy FAIL.
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
code from `follow parent, print pids'.
(`follow child, print pids', `follow parent, print pids'): Call it.
Replace `gdb_test "break..."' by gdb_breakpoint.
2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Adjust for output difference in
sync and async modes.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
that was checked in by mistake. Remove loading of ada.exp, since
this is not necessary in this case.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_arith_binop.exp: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/mod_from_name: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tick_last_segv: New testcase.
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Remove debug print.
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
include the token in ^running and frame info in *stopped.
2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib-display.exp: New file.
* solib-display-main.c: New file.
* solib-display-lib.c: New file.
2009-03-05 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
(list_and_check_macro): Use more specific test name.
(next to definition): Make the test names unique.
2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.pascal/floats.exp: Accept approximate results everywhere.
2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-nonstop.exp (notifs): Adjust for library
notifications.
* gdb.mi/mi-nsintrall.exp (notifs): Likewise.
* gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
* lib/mi-support.exp (library_loaded_re): New.
(mi_run_cmd, mi_send_resuming_command_raw): Adjust.
2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.gdb/observer.exp: Use test_notification observer, not
normal_stop, everywhere.
(test_normal_stop_notifications): Rename to...
(test_notifications): ...this.
(test_observer_normal_stop): Rename to...
(test_observer): ...this.
2009-02-16 Doug Evans <dje@google.com>
* gdb.arch/amd64-disp-step.S (test_int3): New test.
* gdb.arch/amd64-disp-step.exp (test_int3): New test.
* gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.
* gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.
2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
(mi_expect_interrupt): Likewise.
* gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
response.
2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (get_hexadecimal_valueof): New procedure.
* gdb.base/pc-fp.exp (get_valueofx): Remove.
Replace calls to get_valueofx by get_hexadecimal_valueof.
2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (get_valueof): Accept anything as a return value.
(get_integer_valueof): New procedure.
(get_sizeof): Use new get_integer_value_of.
* gdb.base/sizeof.exp: Replace all uses of get_valueof
by get_integer_valueof.
2009-02-13 Tom Tromey <tromey@redhat.com>
* gdb.base/remote.exp (get_sizeof): Remove.
* gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
* gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
* gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
* lib/gdb.exp (get_valueof): Move from long_long.exp.
(get_sizeof): Likewise.
2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
PR fortran/9806
* gdb.fortran/module.exp, gdb.fortran/module.f90: New.
2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
2009-02-06 Pedro Alves <pedro@codesourcery.com>
* gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-cmd.exp: New file.
2009-02-06 Tristan Gingold <gingold@adacore.com>
* gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
2009-02-05 Tristan Gingold <gingold@adacore.com>
* gdb.base/sigbpt.exp: Detect which signal is received when a NULL
pointer is dereferenced and use this signal name in regexp.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigbpt.c (main): Catch SIGBUS too.
* gdb.base/signull.c (main): Ditto.
2009-02-04 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp: Use `gdb.history' instead of
`gdb.value_from_history'.
(test_value_numeric_ops): Add test for conversion of enum constant.
* gdb.python/python-value.c (enum e): New type.
(evalue): New global.
(main): Use argv.
2009-02-04 Jerome Guitton <guitton@adacore.com>
* gdb.ada/uninitialized_vars: New test program.
* gdb.ada/uninitialized_vars.exp: New testcase.
2009-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/cpcompletion.exp: Name the test "pr9594".
* gdb.cp/pr2489.cc: Rename...
* gdb.cp/pr9594.cc: ... to this.
2009-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
* gdb.cp/pr2489.cc: New file.
* gdb.cp/cpcompletion.exp: New file.
2009-02-02 Tom Tromey <tromey@redhat.com>
PR exp/9059:
* gdb.cp/call-c.exp: Add regression test.
* gdb.cp/call-c.cc (FooHandle): New typedef.
(main): New variable 'handle'.
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (et_mi_thread_list)
(check_mi_and_console_threads): Adjust for current thread in
-thread-list-ids output.
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_disabled_creation): New.
Call it.
2009-01-28 Doug Evans <dje@google.com>
* gdb.arch/amd64-disp-step.S: New file.
* gdb.arch/amd64-disp-step.exp: New file.
* gdb.arch/i386-disp-step.S: New file.
* gdb.arch/i386-disp-step.exp: New file.
2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/find.exp: Set newline variable
using quotes instead of braces to fix cygwin failures.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* gdb.base/radix.exp: Add tests to ensure that that set
input-radix 0 and set output-radix 0 are really rejected.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
copyright years.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
PR gdb/9664:
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.server/file-transfer.exp: Use EXEEXT variable for
binfile definition to fix Windows OS failure.
2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/9346
* gdb.base/interrupt.c (sigint_handler): New.
(main): Install a SIGINT handler if SIGNALS is defined. Exit
on error.
* gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
Test "signal SIGINT".
2009-01-19 Doug Evans <dje@google.com>
* gdb.base/break.exp: Update expected gdb output.
* gdb.base/sepdebug.exp: Ditto.
* gdb.mi/mi-syn-frame.exp: Ditto.
* gdb.mi/mi2-syn-frame.exp: Ditto.
* gdb.base/call-signal-resume.exp: New file.
* gdb.base/call-signals.c: New file.
* gdb.base/unwindonsignal.exp: New file.
* gdb.base/unwindonsignal.c: New file.
* gdb.threads/interrupted-hand-call.exp: New file.
* gdb.threads/interrupted-hand-call.c: New file.
* gdb.threads/thread-unwindonsignal.exp: New file.
2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/define.exp: Test defining and hooking prefix commands.
* gdb.python/python.exp: Update test for "show user" output.
2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.fortran/derived-type.exp: New variables int4 and real4. Match
now the output exactly, using less wildcards. Expect also the output
of gfortran-4.3. Update for the f-valprint.c modification from
2008-04-22.
* gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
Remove gdb_test test names where matching the command.
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.
2008-12-31 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/attach-into-signal.exp: Don't use
gdb_suppress_entire_file.
* gdb.threads/attach-stopped.exp: Ditto.
* gdb.threads/attachstop-mt.exp: Ditto.
2008-12-31 Pedro Alves <pedro@codesourcery.com>
PR gdb/8812:
* gdb.base/signal.exp: Change kfail to fail, and update PR number.
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* gdb.base/radix.exp: Add tests to ensure invalid input radices
and unsupported output radices are really rejected.
2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/punctuator.exp: Backslash the '$' signs.
2008-12-22 Tom Tromey <tromey@redhat.com>
* gdb.cp/punctuator.exp: New file.
2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix for PR gdb/8648.
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-16 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/expand-psymtabs.c: Insert code in foo so that the
compiler actually generate code at the expected line number.
2008-12-15 Jie Zhang <jie.zhang@analog.com>
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
2008-12-12 Tom Tromey <tromey@redhat.com>
* gdb.base/commands.exp (redefine_hook_test): New proc.
Call it.
2008-12-11 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: New regression test.
2008-12-11 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Print "address.addr".
* gdb.base/macscp1.c (struct outer): New struct.
(address): New global.
2008-12-09 Tom Tromey <tromey@redhat.com>
* gdb.base/commands.exp (redefine_backtrace_test): New proc.
Call it.
2008-12-04 Doug Evans <dje@google.com>
* gdb.server/ext-run.exp: Relax regexp for init program.
2008-12-03 Tristan Gingold <gingold@adacore.com>
* gdb.base/macscp.exp: Generate an object file during compilation
to work around Darwin dsymutil limitations.
2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.
2008-11-28 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/int_deref.exp: Convert the addresses into long_integer
rather than integer, as integer might not be big enough when
on 64bit targets.
2008-11-27 Jerome Guitton <guitton@adacore.com>
* gdb.cp/formatted-ref.exp: Add equality test.
* gdb.ada/formatted_ref.exp: Ditto.
2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
* gdb.base/start.exp: New comment about an alternative - `runto_main'.
2008-11-20 Andreas Schwab <schwab@suse.de>
* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
matching syscall entry point.
* gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
(tcatch_vfork_then_child_follow): Likewise. Finish through
vfork even if we stopped at the syscall trampoline.
2008-11-20 Doug Evans <dje@google.com>
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/ppc-dfp.exp: New file.
* gdb.arch/ppc-dfp.c: New file.
2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/sepsymtab.exp: Update for new 'info sym' format.
2008-11-17 Doug Evans <dje@google.com>
* gdb.mi/mi-syn-frame.exp: Update expected output.
* gdb.mi/mi2-syn-frame.exp: Update expected output.
2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
"thread N" results in =thread-selected.
* lib/mi-support (mi_run_cmd, mi_expect_stop)
(mi_send_resuming_command_raw): Be prepared for
=thread-selected.
2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
* lib/mi-support.exp: Likewise.
2008-11-16 Joel Brobecker <brobecker@adacore.com>
* gdb.base/help.exp: Remove the "catch load" and "catch unload"
commands from the expected output for "help catch".
2008-11-15 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/int_deref.exp: New testcase.
2008-11-14 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/gdb2549.exp: New file.
2008-11-11 Doug Evans <dje@google.com>
* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.
2008-11-10 Doug Evans <dje@google.com>
* lib/gdb.exp (GDBFLAGS): Move -nx ...
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2008-11-03 Andreas Schwab <schwab@suse.de>
* gdb.base/hashline2.exp: Fix typo.
* gdb.base/hashline3.exp: Likewise.
2008-10-30 Tom Tromey <tromey@redhat.com>
* gdb.base/pointers.exp: Add test.
* gdb.base/pointers.c (k, S): New typedefs.
(instance): New global.
2008-10-30 Andreas Schwab <schwab@suse.de>
* gdb.base/args.exp: Add tests for newlines.
2008-10-30 Joel Brobecker <brobecker@adacore.com>
gdb.base/foll-exec.exp: Update the expected output of a couple
of "info breakpoints" tests.
2008-10-28 Tom Tromey <tromey@redhat.com>
* gdb.base/exprs.exp (test_expr): Add enum formatting tests.
2008-10-24 Pedro Alves <pedro@codesourcery.com>
* gdb.python/python-value.exp (test_value_in_inferior): Don't use
gdb_start_cmd.
Use runto_main before any test that requires execution.
2008-10-23 Pedro Alves <pedro@codesourcery.com>
* lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
instead of SIGINT.
2008-10-22 Joel Brobecker <brobecker@adacore.com>
* gdb.base/completion.exp: Update expected output following
the addition of the "info tasks" command.
2008-10-22 Tom Tromey <tromey@redhat.com>
* gdb.base/exprs.exp (test_expr): Add test for string
concatenation.
2008-10-19 Pedro Alves <pedro@codesourcery.com>
* configure.ac: Output gdb.python/Makefile.
* configure: Regenerate.
* gdb.python/Makefile.in: New.
2008-10-16 Joel Brobecker <brobecker@adacore.com>
* gdb.base/foll-fork.exp: Adjust the expected output to match
the new description for fork/vfork catchpoints in the "info
breakpoints" output.
2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
* Makefile.in: Add gdb.python to ALL_SUBDIRS.
2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.c: New file.
* gdb.python/python-value.exp: New file.
2008-10-15 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
2008-10-15 Denis Pilat <denis.pilat@st.com>
* gdb.cp/mb-ctor.exp: Fix a typo.
2008-10-09 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
'fprintf' and 'stderr'.
2008-10-07 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ref_tick_size.exp: New testcase.
2008-10-06 Doug Evans <dje@google.com>
* gdb.dwarf2/dw2-cu-size.exp: New file.
* gdb.dwarf2/dw2-cu-size.S: New file.
* gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
.Ltype_int for clarity.
2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/2384:
* gdb.cp/gdb2384.exp: Extended to test more cases.
* gdb.cp/gdb2384.cc: Likewise.
* gdb.cp/gdb2384-base.h: Likewise.
* gdb.cp/gdb2384-base.cc: Likewise.
2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/maint.exp (maint print type): Remove printing
UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
2008-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add completion tests.
* gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
(TWENTY_THREE): Likewise.
(FORTY_EIGHT): Likewise.
2008-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
everywhere.
* gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/attachstop-mt.exp: Note a real testcase name this
testcase is derived from. Fix racy dependency on an expected PID
number. No longer support the testcase on Linux kernel 2.4.x.
2008-09-27 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add tests for stringification, splicing,
and varargs.
2008-09-22 Pedro Alves <pedro@codesourcery.com>
* lib/mi-support.exp (mi_expect_interrupt): New.
(mi_reverse_list, mi_check_thread_states): New, moved and renamed
from gdb.mi/mi-nonstop.exp.
* gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
* gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
lib/mi-support.exp.
Use mi_check_thread_states throughout. Avoid ".*" and do not
require an anchor after -exec-run.
2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Do not check thread state while a
stop is pending. Avoid ".*" when two stops are pending.
* lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
(fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
newlines in fullnames.
* lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
(mi_expect_stop): Update comments. Only anchor in sync mode.
Do not match newlines.
(mi_send_resuming_command_raw): Always return status.
(mi_get_stop_line): Do not match more than one line by accident.
Only anchor in sync mode.
(mi_run_inline_test): If -exec-next fails, give up.
2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
on SPU.
2008-09-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
2008-09-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,