This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Cross solib support; multi-arch problem?
- To: Daniel Jacobowitz <drow at mvista dot com>
- Subject: Re: Cross solib support; multi-arch problem?
- From: Orjan Friberg <orjan dot friberg at axis dot com>
- Date: Wed, 07 Nov 2001 17:14:28 +0100
- CC: gdb-patches at sources dot redhat dot com
- Organization: Axis Communications AB
- References: <3BE91797.3442F92D@axis.com> <20011107105956.B12093@nevyn.them.org>
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