xscale uclibc softfloat & gdb : SIGILL

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Sep 29 12:13:32 UTC 2005


> 
> On Thursday 29 September 2005 12:08 am, John Bowler wrote:
> > From: Mike Frysinger [mailto:vapier at gentoo.org]
> >
> > >so uClibc is innocent ? :)
> >
> > gdb is meant to be able to debug things, uclibc is, in my view, a
"thing"
> > in this context.
> >
> > The programs work when run without the debugger and SIGILL (or
maybe, in my
> > case, SEGV) when run from the debugger, so I figure the error must
be in
> > the debugger...
> 
> well if we drop that 2nd line, does it work fine ?
> -mike

Try changing all
"b __uClibc_main" to "bl __uClibc_main"

But that will probably break __builtin_return_address().
main()
{
  __builtin_return_address(1); //should return NULL;
}
 Jocke



More information about the uClibc mailing list