This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]