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]

Re: Cross solib support; multi-arch problem?


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.

-- 
Orjan Friberg
Axis Communications AB


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