* sparc-xdep.c (deferred_stores): Repair minor damage by Rich.

Move deferred_stores to top of file, but don't separate its
        #define's from its variable.  Add commentary.
This commit is contained in:
John Gilmore 1991-05-19 12:49:37 +00:00
parent d39a9543a6
commit 69f29a86f0
1 changed files with 10 additions and 4 deletions

View File

@ -37,6 +37,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern char register_valid[];
/* We don't store all registers immediately when requested, since they
get sent over in large chunks anyway. Instead, we accumulate most
of the changes and send them over once. "deferred_stores" keeps
track of which sets of registers we have locally-changed copies of,
so we only need send the groups that have changed. */
#define INT_REGS 1
#define STACK_REGS 2
#define FP_REGS 4
int deferred_stores = 0; /* Cumulates stores we want to do eventually. */
/* Fetch one or more registers from the inferior. REGNO == -1 to get
@ -130,10 +140,6 @@ fetch_inferior_registers (regno)
If REGNO is -1, do this for all registers.
Otherwise, REGNO specifies which register (so we can save time). */
#define INT_REGS 1
#define STACK_REGS 2
#define FP_REGS 4
int
store_inferior_registers (regno)
int regno;