mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* regcache.h: Update comments describing the regcache_cpy family
of functions. (regcache_save, regcache_restore): Delete declaration. (regcache_save_no_passthrough): Delete declaration. (regcache_restore_no_passthrough): Delete declaration. * regcache.c (regcache_save): Delete function. (regcache_save_no_passthrough): Delete function. (regcache_restore): Delete function. (regcache_restore_no_passthrough): Delete function.
This commit is contained in:
@@ -1185,41 +1185,6 @@ build_regcache (void)
|
||||
register_valid = deprecated_grub_regcache_for_register_valid (current_regcache);
|
||||
}
|
||||
|
||||
void
|
||||
regcache_save (struct regcache *regcache)
|
||||
{
|
||||
int i;
|
||||
gdb_assert (current_regcache != NULL && regcache != NULL);
|
||||
gdb_assert (current_regcache->descr->gdbarch == regcache->descr->gdbarch);
|
||||
regcache_cpy (regcache, current_regcache);
|
||||
}
|
||||
|
||||
void
|
||||
regcache_save_no_passthrough (struct regcache *regcache)
|
||||
{
|
||||
gdb_assert (current_regcache != NULL && regcache != NULL);
|
||||
gdb_assert (current_regcache->descr->gdbarch == regcache->descr->gdbarch);
|
||||
regcache_cpy_no_passthrough (regcache, current_regcache);
|
||||
}
|
||||
|
||||
void
|
||||
regcache_restore (struct regcache *regcache)
|
||||
{
|
||||
int i;
|
||||
gdb_assert (current_regcache != NULL && regcache != NULL);
|
||||
gdb_assert (current_regcache->descr->gdbarch == regcache->descr->gdbarch);
|
||||
regcache_cpy (current_regcache, regcache);
|
||||
}
|
||||
|
||||
void
|
||||
regcache_restore_no_passthrough (struct regcache *regcache)
|
||||
{
|
||||
char *regcache_registers;
|
||||
gdb_assert (current_regcache != NULL && regcache != NULL);
|
||||
gdb_assert (current_regcache->descr->gdbarch == regcache->descr->gdbarch);
|
||||
regcache_cpy_no_passthrough (current_regcache, regcache);
|
||||
}
|
||||
|
||||
void
|
||||
_initialize_regcache (void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user