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]

[hppa] Enable cross-gdb building for hppa


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/


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