aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-03-21 02:13:05 +0000
committerMartin Hunt <hunt@redhat.com>2002-03-21 02:13:05 +0000
commitbdbe574731e474b9e2e4a9ff69357542527a87cc (patch)
treefa3ce146db5ddfc4d17237d77af36bf074482b75 /gdb/regcache.c
parent373fe97f7f01a3b0bafb289ccc08020873a00b55 (diff)
downloadgdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.zip
gdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.tar.gz
gdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.tar.bz2
2002-03-20 Martin M. Hunt <hunt@redhat.com>
* regcache.c (_initialize_regcache): No need to call build_regcache() at this time; it gets called whenever the gdbarch changes.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index 2885904..3c2737c 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -802,8 +802,6 @@ build_regcache (void)
void
_initialize_regcache (void)
{
- build_regcache ();
-
register_gdbarch_swap (&registers, sizeof (registers), NULL);
register_gdbarch_swap (&register_valid, sizeof (register_valid), NULL);
register_gdbarch_swap (NULL, 0, build_regcache);