This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[hppa] Enable cross-gdb building for hppa
- From: Randolph Chung <randolph at tausq dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 9 May 2004 12:53:51 -0700
- Subject: [hppa] Enable cross-gdb building for hppa
- Reply-to: Randolph Chung <randolph at tausq dot org>
This patch enables cross-gdb building for hppa using the same kludge as
other archs. What's a more proper way to fix this?
randolph
2004-05-09 Randolph Chung <tausq@debian.org>
* config/pa/tm-hppa.h: Include solib.h for cross-gdb compilation.
Index: config/pa/tm-hppa.h
===================================================================
RCS file: /cvs/src/src/gdb/config/pa/tm-hppa.h,v
retrieving revision 1.73
diff -u -p -r1.73 tm-hppa.h
--- config/pa/tm-hppa.h 7 May 2004 05:48:50 -0000 1.73
+++ config/pa/tm-hppa.h 9 May 2004 19:50:17 -0000
@@ -46,3 +46,8 @@ extern void hppa_skip_permanent_breakpoi
calls on PA-RISC. Tell the expression parser to check for those
when parsing tokens that begin with "$". */
#define SYMBOLS_CAN_START_WITH_DOLLAR (1)
+
+/* This is needed for cross-gdb building until solib is fixed. */
+#ifndef SOLIB_ADD
+#include "solib.h"
+#endif
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/