This is the mail archive of the gdb-patches@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]

Re: [PATCH v2] gdb: btrace: fix build errors on older glibc builds


> gdb/:
> 2013-09-12  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* common/linux-btrace.c: Move sys/syscall.h out of the
> 	HAVE_LINUX_PERF_EVENT_H check and wrap it in HAVE_SYS_SYSCALL_H.
> 	Also check for SYS_perf_event_open before attempting to buid.
> 
> gdbserver/:
> 2013-09-12  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* configure.ac (AC_CHECK_HEADERS): Add sys/syscall.h
> 	* config.in, configure: Regenerated.

Looks good to me. Please go ahead and commit.

For the record, I checked the gdb configure script, and it already
checks for sys/syscall.h. So we're good on that side.

-- 
Joel


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