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

Andrew Cagney ac131313@ges.redhat.com
Mon Aug 5 21:04:00 GMT 2002


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

Ok.

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.

enjoy,
Andrew




More information about the Gdb-patches mailing list