diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2016-11-21 11:46:15 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2017-05-31 10:44:32 +0200 |
commit | c56ccc05b2c98510f360d7f454f38169eb3bdb06 (patch) | |
tree | 866a9eb4b8d5e50114bdb8b591dcb6d9540c65d2 /gdb/config.in | |
parent | 5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185 (diff) | |
download | gdb-c56ccc05b2c98510f360d7f454f38169eb3bdb06.zip gdb-c56ccc05b2c98510f360d7f454f38169eb3bdb06.tar.gz gdb-c56ccc05b2c98510f360d7f454f38169eb3bdb06.tar.bz2 |
config, btrace: check for pt_insn_event in libipt
Version 2 of libipt adds an event system to instruction flow decoders and
deprecates indicating events via flags in struct pt_insn. Add configuration
checks to determine which version we have.
gdb/
* configure.ac: Check for pt_insn_event, struct pt_insn.enabled,
and struct pt_insn.resynced.
* configure: Regenerated.
* config.in: Regenerated.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/config.in b/gdb/config.in index 3f8a723..4a40956 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -381,6 +381,9 @@ /* Define if sys/ptrace.h defines the PT_GETXMMREGS request. */ #undef HAVE_PT_GETXMMREGS +/* Define to 1 if you have the `pt_insn_event' function. */ +#undef HAVE_PT_INSN_EVENT + /* Define to 1 if you have the `pwrite' function. */ #undef HAVE_PWRITE @@ -462,6 +465,12 @@ /* Define to 1 if `struct ptrace_lwpinfo' is a member of `pl_tdname'. */ #undef HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME +/* Define to 1 if `struct pt_insn' is a member of `enabled'. */ +#undef HAVE_STRUCT_PT_INSN_ENABLED + +/* Define to 1 if `struct pt_insn' is a member of `resynced'. */ +#undef HAVE_STRUCT_PT_INSN_RESYNCED + /* Define to 1 if your system has struct reg in <machine/reg.h>. */ #undef HAVE_STRUCT_REG |