mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
gdb, btrace, pt: ignore status update enable events
Future versions of libipt report enable/disable status updates on PSB+. Ignore them.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2021-05-12 Markus Metzger <markus.t.metzger@intel.com>
|
||||||
|
|
||||||
|
* btrace.c (handle_pt_insn_events): Ignore status update enable
|
||||||
|
events.
|
||||||
|
|
||||||
2021-05-11 Simon Marchi <simon.marchi@polymtl.ca>
|
2021-05-11 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* arm-tdep.c (arm_record_data_proc_misc_ld_str): Fix
|
* arm-tdep.c (arm_record_data_proc_misc_ld_str): Fix
|
||||||
|
@ -1222,6 +1222,9 @@ handle_pt_insn_events (struct btrace_thread_info *btinfo,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ptev_enabled:
|
case ptev_enabled:
|
||||||
|
if (event.status_update != 0)
|
||||||
|
break;
|
||||||
|
|
||||||
if (event.variant.enabled.resumed == 0 && !btinfo->functions.empty ())
|
if (event.variant.enabled.resumed == 0 && !btinfo->functions.empty ())
|
||||||
{
|
{
|
||||||
bfun = ftrace_new_gap (btinfo, BDE_PT_DISABLED, gaps);
|
bfun = ftrace_new_gap (btinfo, BDE_PT_DISABLED, gaps);
|
||||||
|
Reference in New Issue
Block a user