Reverse-debugging with Intel PT not working

Jack Henschel jackdev@mailbox.org
Mon Aug 21 14:48:00 GMT 2017


Hi,

I'm running Linux 4.9.30 (Debian Stretch), with GDB 8.0 (compiled from source, with './configure --with-intel-pt'). libipt is present and gdb is linked against it.
I'm running an Intel Xeon CPU E5-2680 v4 (which supports Intel PT, the flag is also present in '/proc/cpuinfo').

However, when I'm trying to do a record-and-play session, I get the error message "Target does not support branch tracing":
$ gcc -g crash.c
$ gdb -q ./a.out
(gdb) start
...
(gdb) record btrace pt
Target does not support branch tracing.

Any idea why this happens?
I have seen https://sourceware.org/ml/gdb/2016-09/msg00029.html and my setup fullfills are requirements.

Greetings
Jack

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20170821/f05848a2/attachment.sig>


More information about the Gdb mailing list