This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Remove parens from PTRACE_TYPE_ARG{35}
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 13 Aug 2004 22:17:35 +0200 (CEST)
- Subject: [PATCH] Remove parens from PTRACE_TYPE_ARG{35}
I'm still wondering why the AC_FUNC_SELECT_ARGTYPES macro uses the
parens, but it's hurting us. So I committed the attached.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use
parenthesis in definition.
* configure: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.163
diff -u -p -r1.163 configure.in
--- configure.in 9 Aug 2004 19:20:13 -0000 1.163
+++ configure.in 13 Aug 2004 20:11:23 -0000
@@ -540,10 +540,10 @@ ac_save_IFS=$IFS; IFS=','
set dummy `echo "$gdb_cv_func_ptrace_args" | sed 's/\*/\*/g'`
IFS=$ac_save_IFS
shift
-AC_DEFINE_UNQUOTED(PTRACE_TYPE_ARG3, ($[3]),
+AC_DEFINE_UNQUOTED(PTRACE_TYPE_ARG3, $[3],
[Define to the type of arg 3 for ptrace.])
if test -n "$[5]"; then
- AC_DEFINE_UNQUOTED(PTRACE_TYPE_ARG5, ($[5]),
+ AC_DEFINE_UNQUOTED(PTRACE_TYPE_ARG5, $[5],
[Define to the type of arg 5 for ptrace.])
fi