[COMMIT] Fix hppa*-hp-hpux10* native build

Mark Kettenis kettenis@gnu.org
Sat Dec 11 16:52:00 GMT 2004


Adding hppa*-hp-hpux11* support broke the hppa*-hp-hpux10* build.
Fixed by the attached patch.

Sorry for the inconvenience.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.

Index: inf-ttrace.c
===================================================================
RCS file: /cvs/src/src/gdb/inf-ttrace.c,v
retrieving revision 1.3
diff -u -p -r1.3 inf-ttrace.c
--- inf-ttrace.c 7 Dec 2004 19:57:21 -0000 1.3
+++ inf-ttrace.c 11 Dec 2004 16:46:06 -0000
@@ -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
+}



More information about the Gdb-patches mailing list