[PATCH] Fix alpha-netbsd cross-debugger
Jason R Thorpe
thorpej@wasabisystems.com
Wed May 22 01:50:00 GMT 2002
solib.h must be pulled in by tm.h if you're including shlib support
in a cross debugger (this is a problem for fully multi-arch'd targets!)
This patch fixes the alpha-netbsd config, and now my i386->alpha cross
debugger works with core files and shlibs.
Committed to trunk.
* config/alpha/tm-nbsd.h: Include solib.h.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
Index: config/alpha/tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/tm-nbsd.h,v
retrieving revision 1.1
diff -u -r1.1 tm-nbsd.h
--- config/alpha/tm-nbsd.h 25 Apr 2002 02:44:05 -0000 1.1
+++ config/alpha/tm-nbsd.h 22 May 2002 04:43:13 -0000
@@ -22,6 +22,7 @@
#define TM_NBSD_H
#include "alpha/tm-alpha.h"
+#include "solib.h"
/* Number of traps that happen between exec'ing the shell to run an
inferior, and when we finally get to the inferior code. The
More information about the Gdb-patches
mailing list