From: Mark Kettenis Date: Sat, 11 Dec 2004 16:49:26 +0000 (+0000) Subject: * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3322e8a421bb0f85b975954538b40b6b65e9bb8;p=binutils-gdb.git * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. --- 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 +}