aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-22 21:18:32 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-22 21:18:32 +0000
commit37e7137227c7cd963cd8d69d87a75a7838c15f67 (patch)
treec0e7cc35400325666bf469583e237c475ac1f029 /gdb/regcache.c
parentbf1024d6980c86296af8283c48b32c6705f574e8 (diff)
downloadgdb-37e7137227c7cd963cd8d69d87a75a7838c15f67.zip
gdb-37e7137227c7cd963cd8d69d87a75a7838c15f67.tar.gz
gdb-37e7137227c7cd963cd8d69d87a75a7838c15f67.tar.bz2
* 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.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 7f3e439..ba6f547 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1186,41 +1186,6 @@ build_regcache (void)
}
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)
{
regcache_descr_handle = register_gdbarch_data (init_regcache_descr,