diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 646779df5a..dc253330a8 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 136896109e..ea0bacd664 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 +}