aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-12-11 16:49:26 +0000
committerMark Kettenis <kettenis@gnu.org>2004-12-11 16:49:26 +0000
commitd3322e8a421bb0f85b975954538b40b6b65e9bb8 (patch)
tree5cb8e405b6a64e13e5134653809dcb974169eb5c /gdb/inf-ttrace.c
parent58544210ca67ec8e27333a13af57d6599e22a7a5 (diff)
downloadgdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.zip
gdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.tar.gz
gdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.tar.bz2
* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r--gdb/inf-ttrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index 1368961..ea0bacd 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -916,6 +916,7 @@ inf_ttrace_target (void)
ttrace_ops_hack = t;
return t;
}
+#endif
/* Prevent warning from -Wmissing-prototypes. */
@@ -924,6 +925,7 @@ void _initialize_hppa_hpux_nat (void);
void
_initialize_inf_ttrace (void)
{
+#ifdef HAVE_TTRACE
inf_ttrace_page_dict.pagesize = getpagesize();
-}
#endif
+}