[PATCH 5/7] btrace: Add support for IRET events.

Willgerodt, Felix felix.willgerodt@intel.com
Wed Sep 11 14:49:19 GMT 2024


> -----Original Message-----
> From: Metzger, Markus T <markus.t.metzger@intel.com>
> Sent: Dienstag, 10. September 2024 16:43
> To: Willgerodt, Felix <felix.willgerodt@intel.com>
> Cc: gdb-patches@sourceware.org
> Subject: RE: [PATCH 5/7] btrace: Add support for IRET events.
> 
> Hello Felix,
> 
> >     "\\\[interrupt: vector = 0x3 \\\(#bp\\\)(, ip = 0x\[0-9a-fA-F\]+)?\\\]"
> >+    "\\\[iret(: ip = $hex)?\\\]"
> >     "\[0-9\]+\tmain"
> 
> Wouldn't I always have an interrupt event at the end of the trace that
> brought me to GDB?
> 
> Thanks,
> Markus.

Yes you do have one here in the output, we just don't test it.

Felix
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Sean Fennelly, Jeffrey Schneiderman, Tiffany Doon Silva
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


More information about the Gdb-patches mailing list