[RFA] mips-tdep.c: Fix inferior function call breakage
Daniel Jacobowitz
drow@mvista.com
Thu Jan 23 17:00:00 GMT 2003
On Thu, Jan 23, 2003 at 12:26:43AM -0700, Kevin Buettner wrote:
> Without the following patch in place, I've found that inferior function
> calls are badly broken for the mips linux targets that I've been testing.
> (The warning in heuristic_proc_start() is tripped and things degrade quickly
> from there...)
>
> Okay?
In the pile of MIPS patches I really need to get around to submitting
(sorry!) I did this via avoiding the call to find_proc_desc from
mips_init_extra_frame_info. I think that's functionally equivalent, so
this looks good to me (although Andrew's the one that needs to approve
it of course).
I also short-circuited the rest of mips_init_extra_frame_info if
PC_IN_CALL_DUMMY but that's a noop given the control flow in that
function if proc_desc is NULL.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb-patches
mailing list