This is the mail archive of the 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]

Re: Cross solib support; multi-arch problem?

On Wed, Nov 07, 2001 at 05:14:28PM +0100, Orjan Friberg wrote:
> Daniel Jacobowitz wrote:
> > 
> > > (I may have to add solib-svr4.o to that list; right now I'm just trying
> > > to get something to build.)  In addition to that, I've included
> > > "solib.h" in cris-tdep.c.  Building fails because of undefined reference
> > > to `disable_breakpoints_in_shlibs'.  Checking breakpoint.c, that
> > > function and a few others are inside an #ifdef SOLIB_ADD, which is
> > > defined in solib.h.  Strange, no?
> > 
> > Well, for one thing, you're right - you will need to add solib-svr4.o.
> Yes, done.
> > Do you have a link map structure?  Note that that doesn't seem to be
> > multiarched either :(  Search for svr4 in mips-linux-tdep.c and in
> > config/mips/linux.h.
> Yes, I simply verbatim copied the mips-linux-tdep.c one, but I haven't
> actually checked yet if it's correct for my target.

Note that it's not accessed in any multiarch way but by a macro in the
config header (unless someone changed that recently?).

Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

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