Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>

* regcache.c (register_changed): New function.
	* value.h: Declare it.
This commit is contained in:
David Taylor 2000-08-25 21:03:00 +00:00
parent 52204a0b3a
commit 2dc4e391d4
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
* regcache.c (register_changed): New function.
* value.h: Declare it.
Fri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
* symtab.c (search_symbols): Fix off by one error in index for

View File

@ -68,6 +68,15 @@ register_cached (int regnum)
return register_valid[regnum];
}
/* REGISTER_CHANGED
invalidate a single register REGNUM in the cache */
void
register_changed (int regnum)
{
register_valid[regnum] = 0;
}
/* FIND_SAVED_REGISTER ()
Return the address in which frame FRAME's value of register REGNUM

View File

@ -490,6 +490,8 @@ extern void supply_register (int regno, char *val);
extern int register_cached (int regno);
extern void register_changed (int regnum);
extern void get_saved_register (char *raw_buffer, int *optimized,
CORE_ADDR * addrp,
struct frame_info *frame,