X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fnat%2Flinux-btrace.h;h=df7b0d27c7e1fffa3896dce66b2f8fc3f1a20420;hb=8e5cb9a54e156ba24a439aefa7b35e53b4cb0374;hp=31a8d9e67bdda9bcd92d0fe976e204600fb12b2a;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nat/linux-btrace.h b/gdb/nat/linux-btrace.h index 31a8d9e67b..df7b0d27c7 100644 --- a/gdb/nat/linux-btrace.h +++ b/gdb/nat/linux-btrace.h @@ -1,6 +1,6 @@ /* Linux-dependent part of branch trace support for GDB, and GDBserver. - Copyright (C) 2013-2018 Free Software Foundation, Inc. + Copyright (C) 2013-2019 Free Software Foundation, Inc. Contributed by Intel Corp. @@ -19,11 +19,11 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef LINUX_BTRACE_H -#define LINUX_BTRACE_H +#ifndef NAT_LINUX_BTRACE_H +#define NAT_LINUX_BTRACE_H -#include "btrace-common.h" -#include "vec.h" +#include "common/btrace-common.h" +#include "common/vec.h" #if HAVE_LINUX_PERF_EVENT_H # include #endif @@ -103,9 +103,6 @@ struct btrace_target_info #endif /* HAVE_LINUX_PERF_EVENT_H */ }; -/* See to_supports_btrace in target.h. */ -extern int linux_supports_btrace (struct target_ops *, enum btrace_format); - /* See to_enable_btrace in target.h. */ extern struct btrace_target_info * linux_enable_btrace (ptid_t ptid, const struct btrace_config *conf); @@ -122,4 +119,4 @@ extern enum btrace_error linux_read_btrace (struct btrace_data *btrace, extern const struct btrace_config * linux_btrace_conf (const struct btrace_target_info *); -#endif /* LINUX_BTRACE_H */ +#endif /* NAT_LINUX_BTRACE_H */