This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Check for ttrace.
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Aug 2004 14:13:17 +0200 (CEST)
- Subject: [PATCH] Check for ttrace.
As a first step in sorting out the ptrace(2)/ttrace(2) HP-UX mess, I'm
adding a check for the ttrace function.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.in: Check for ttrace function.
* configure, config.in: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.165
diff -u -p -r1.165 configure.in
--- configure.in 15 Aug 2004 10:05:58 -0000 1.165
+++ configure.in 21 Aug 2004 12:02:57 -0000
@@ -483,6 +483,7 @@ AC_CHECK_FUNCS(setpgid setpgrp)
AC_CHECK_FUNCS(sigaction sigprocmask sigsetmask)
AC_CHECK_FUNCS(socketpair)
AC_CHECK_FUNCS(syscall)
+AC_CHECK_FUNCS(ttrace)
# Check the return and argument types of ptrace. No canned test for
# this, so roll our own.