This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Register cache
Date: Sat, 17 Feb 2001 03:28:37 -0500 (EST)
From: Eli Zaretskii <eliz@delorie.com>
> Date: Sat, 17 Feb 2001 00:21:09 +0100
> From: Mark Kettenis <kettenis@wins.uva.nl>
>
> How about the attached patch? Just give a yell and I'll check it in
>
> Mark
>
>
> Index: ChangeLog
> from Mark Kettenis <kettenis@gnu.org>
>
> * i387-nat.c: Use regnum instead of regno consistently. Fix
> comments accordingly.
> (i387_supply_register): New function.
> (i387_supply_fsave): Implement using i387_supply_register.
> * i387-nat.h: Use regnum instead of regno consistently. Fix
> comments accordingly.
How can I say anything but "YES, PLEASE!" ? It's almost the exact
patch I suggested ;-)
Yeah! Basically I only changed the name of the function and the order
of the paramaters such that it more closely resembles the signature of
supply_register(). And I took the opportunity to sneak in some
gratuitious changes :-). Anyway, it's checked in now.
Mark