From d3322e8a421bb0f85b975954538b40b6b65e9bb8 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 11 Dec 2004 16:49:26 +0000 Subject: [PATCH] * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. --- gdb/ChangeLog | 4 ++++ gdb/inf-ttrace.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 646779df5a7..dc253330a85 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-12-11 Mark Kettenis + + * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. + 2004-12-10 Michael Snyder * mn10300-tdep.c: New file. This is a re-implementation of diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index 136896109e0..ea0bacd6640 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 +} -- 2.30.2