Compiling with libipt 2

Metzger, Markus T markus.t.metzger@intel.com
Mon Apr 27 07:30:32 GMT 2020


Hello Simon,

>   CXX    btrace.o
> /home/smarchi/src/binutils-gdb/gdb/btrace.c: In function ‘void
> handle_pt_insn_event_flags(btrace_thread_info*, pt_insn_decoder*, const
> pt_insn&, std::__debug::vector<unsigned int>&)’:
> /home/smarchi/src/binutils-gdb/gdb/btrace.c:1267:12: error: ‘const struct
> pt_insn’ has no member named ‘enabled’
>  1267 |   if (insn.enabled && !btinfo->functions.empty ())
>       |            ^~~~~~~
> /home/smarchi/src/binutils-gdb/gdb/btrace.c:1284:12: error: ‘const struct
> pt_insn’ has no member named ‘resynced’
>  1284 |   if (insn.resynced)
>       |            ^~~~~~~~

The accesses are guarded with a corresponding #if defined (HAVE_...).

Have you tried reconfiguring GDB?

Regards,
Markus.

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


More information about the Gdb-patches mailing list