From d51344c909926db84227f54718271e77b4adb714 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Fri, 30 Apr 2021 17:09:47 +0200 Subject: gdb, btrace, pt: ignore status update enable events Future versions of libipt report enable/disable status updates on PSB+. Ignore them. --- gdb/btrace.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/btrace.c') 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); -- cgit v1.1