This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: btrace: fix build errors on older glibc builds
- From: Tom Tromey <tromey at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 09 Sep 2013 12:04:21 -0600
- Subject: Re: [PATCH] gdb: btrace: fix build errors on older glibc builds
- Authentication-results: sourceware.org; auth=none
- References: <1378190232-13873-1-git-send-email-vapier at gentoo dot org>
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Mike> 2013-09-03 Mike Frysinger <vapier@gentoo.org>
Mike> * common/linux-btrace.c: Move sys/syscall.h out of the
Mike> HAVE_LINUX_PERF_EVENT_H check and wrap it inHAVE_SYS_SYSCALL_H.
Mike> Also check for SYS_perf_event_open before attempting to buid.
It seems reasonable, but gdbserver's configure doesn't seem to check for
sys/sycall.h. So, I think this could regress gdbserver as-is.
Tom