* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
authorMark Kettenis <kettenis@gnu.org>
Sat, 11 Dec 2004 16:49:26 +0000 (16:49 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 11 Dec 2004 16:49:26 +0000 (16:49 +0000)
gdb/ChangeLog
gdb/inf-ttrace.c

index 646779df5a73b4ba3d1a49d55785c1362375d6ce..dc253330a8512aea2e0694302248cafca9262ef1 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
+
 2004-12-10  Michael Snyder  <msnyder@redhat.com>
 
        * mn10300-tdep.c: New file.  This is a re-implementation of
index 136896109e0a113b9feb9263da09118b51856c28..ea0bacd66402b9c34079029582de6a0a87cef81f 100644 (file)
@@ -916,6 +916,7 @@ inf_ttrace_target (void)
   ttrace_ops_hack = t;
   return t;
 }
+#endif
 \f
 
 /* 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
+}