diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2021-04-30 17:09:47 +0200 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2021-05-12 10:39:41 +0200 |
commit | d51344c909926db84227f54718271e77b4adb714 (patch) | |
tree | ceb3b8dc6fb385045baa2494fb2bb660f9a65ac7 /gdb/btrace.c | |
parent | 55b26492bbd05637f24b9b70a507e842e466b723 (diff) | |
download | binutils-d51344c909926db84227f54718271e77b4adb714.zip binutils-d51344c909926db84227f54718271e77b4adb714.tar.gz binutils-d51344c909926db84227f54718271e77b4adb714.tar.bz2 |
gdb, btrace, pt: ignore status update enable events
Future versions of libipt report enable/disable status updates on PSB+.
Ignore them.
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r-- | gdb/btrace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c index c697f37..17eb56c 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1222,6 +1222,9 @@ handle_pt_insn_events (struct btrace_thread_info *btinfo, break; case ptev_enabled: + if (event.status_update != 0) + break; + if (event.variant.enabled.resumed == 0 && !btinfo->functions.empty ()) { bfun = ftrace_new_gap (btinfo, BDE_PT_DISABLED, gaps); |