This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Reverse-debugging with Intel PT not working


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]