[RFA/RFC/sparc32] SIGSEGV during fun call when no debugging info
Mark Kettenis
mark.kettenis@xs4all.nl
Tue Apr 29 15:58:00 GMT 2008
> Date: Mon, 28 Apr 2008 20:47:05 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> One approach would be to enhance the code above to also handle function
> calls when no symbol is found. This is what find_function_in_inferior
> does, and we could do something similar. But seems a bit absurd to do
> that, because we don't have multiple calling conventions on sparc.
> So finding the type would be useless.
Makes sense to me.
> 2008-04-29 Joel Brobecker <brobecker@adacore.com>
>
> * gdbarch.sh: Document the return_value method. Explain that
> the FUNCTYPE parameter might be NULL.
> * gdbarch.h: Regenerated.
> * sparc-tdep.c (sparc32_push_dummy_code): Do not pass the function
> type when calling using_struct_return, as this is unnecessary
> on this target.
>
> Tested on sparc-solaris. Fixes many many regressions in gdb.ada,
> gdb.base and gdb.gdb.
>
> OK to apply?
sure
More information about the Gdb-patches
mailing list