btrace: support decoder events
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 21 Nov 2016 13:27:57 +0000 (14:27 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Wed, 31 May 2017 08:47:39 +0000 (10:47 +0200)
commit13ace07792fa75aa276e2d7c3cb03cec117d63a4
treeffec4bb8be5863bf31dbbcacebd6aa6ba53a07a2
parentc56ccc05b2c98510f360d7f454f38169eb3bdb06
btrace: support decoder events

Newer versions of libipt support instruction flow decoder events instead of
indicating those events with flags in struct pt_insn.  Add support for them in
GDB.

gdb/
* btrace.c (handle_pt_insn_events): New.
(ftrace_add_pt): Call handle_pt_insn_events.  Rename ERRCODE into
STATUS.  Split into this and ...
(handle_pt_insn_event_flags): ... this.
gdb/ChangeLog
gdb/btrace.c