[RFA] find_saved_register(): Terminate loop when saved reg found

Kevin Buettner kevinb@redhat.com
Tue Aug 6 15:44:00 GMT 2002


On Aug 6, 12:04am, Andrew Cagney wrote:

> > 	* frame.c (find_saved_register): Break out of loop once saved
> > 	register address is found.  Don't mention sparc in loop comment
> > 	anymore.
> 
> Ok.

Committed.

> I should point out though, that the function is about to be deprecated 
> (if not simply deleted).  As best I can tell, Alpha, ns32k and VAX don't 
> need it (their custom get_saved_register() functions appear to be 
> verbatum copies of the original get_saved_register()).  That just leaves 
> the MIPS, which should call frame_register_unwind() directly.

I'll take a look...

Kevin



More information about the Gdb-patches mailing list