This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFC] solib-svr4 cleanups
Kevin Buettner wrote:
>
> On Mar 12, 11:35am, Michael Snyder wrote:
>
> > Why did you remove the define of _SYSCALL32? That is necessary,
> > to make things work on solaris-sparc64. Unles you've done something
> > else to achieve the same effect, or solaris-sparc64 uses a different
> > module now?
>
> The _SYSCALL32 define was only needed for the (legacy) link_map stuff.
> It has been moved to solib-legacy.c.
OK, good. Sorry I haven't been following the discussion with full
attention. You've tested the new method on sparc64 solaris, then?
>
> > > Index: solib-legacy.c
> [...]
> > > +
> > > +#define _SYSCALL32 /* for Sparc64 cross Sparc32 */
> > > +#include "defs.h"
> > > +#include "gdbcore.h"
> > > +#include "solib-svr4.h"
> > > +
> > > +#ifdef HAVE_LINK_H
> > > +#include <link.h>
>
> Kevin