2012-03-08 Yao Qi <yao@codesourcery.com>
authorYao Qi <yao@codesourcery.com>
Fri, 9 Mar 2012 03:47:15 +0000 (03:47 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 9 Mar 2012 03:47:15 +0000 (03:47 +0000)
commitf4647387fe3182beb6a30539d4339b85a48fc14e
tree2873bd931b2ca36f6a0dc78ec043bc6e9d240771
parent6f5e93622126860eaa9c57ae1bd889c803f13168
2012-03-08  Yao Qi  <yao@codesourcery.com>
    Pedro Alves  <palves@redhat.com>

Fix PR server/13392.
* linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Check
offset of JMP insn.
* tracepoint.c (remove_tracepoint): New.
(cmd_qtdp): Call remove_tracepoint when failed to install.

2012-03-08  Yao Qi  <yao@codesourcery.com>
    Pedro Alves  <palves@redhat.com>

Fix PR server/13392.
* gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
(tracepoint_change_loc_2): Remove kfail.  Return if failed to
download tracepoints.
* gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
(pending_tracepoint_resolved_during_trace): Likewise.
(pending_tracepoint_installed_during_trace): Likewise.
(pending_tracepoint_with_action_resolved): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-low.c
gdb/gdbserver/tracepoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/change-loc.exp
gdb/testsuite/gdb.trace/pending.exp