mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
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:
parent
52204a0b3a
commit
2dc4e391d4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user