This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix hppa*-hp-hpux10* native build
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 11 Dec 2004 17:49:29 +0100 (CET)
- Subject: [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
+}