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: Kevin Buettner <kevinb at cygnus dot com>
- Subject: Re: Cross solib support; multi-arch problem?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 07 Nov 2001 13:37:48 -0500
- Cc: Orjan Friberg <orjan dot friberg at axis dot com>,gdb-patches at sources dot redhat dot com
- References: <3BE91797.3442F92D@axis.com> <1011107162136.ZM10292@ocotillo.lan>
>> So, I added a tm-cris.h file containing:
>>
>> #define GDB_MULTI_ARCH 1
>> #include "solib.h"
>
>
> Unfortunately, I think this is going to be needed for the medium term.
> In the fullness of time, we'd like to get all of the shared library
> support consolidated to using only solib.c for the interface to the
> rest of GDB. Once that is done, ADD_SOLIB and company won't be need
> to be macros any more. To be more precise, the shared library
> framework present in solib.c will be present for all targets whether
> it's needed or not. When SOLIB_ADD() (or probably just solib_add())
> is called, it'll simply not do anything when the target in question
> doesn't have/require shared library support.
Kevin, what exactly does it take to do this? Can the GDB group grit
their teath and throw a switch?
enjoy,
Andrew