diff options
author | Martin Hunt <hunt@redhat.com> | 2002-03-21 02:13:05 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-03-21 02:13:05 +0000 |
commit | bdbe574731e474b9e2e4a9ff69357542527a87cc (patch) | |
tree | fa3ce146db5ddfc4d17237d77af36bf074482b75 /gdb/regcache.c | |
parent | 373fe97f7f01a3b0bafb289ccc08020873a00b55 (diff) | |
download | gdb-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.c | 2 |
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 (®isters, sizeof (registers), NULL); register_gdbarch_swap (®ister_valid, sizeof (register_valid), NULL); register_gdbarch_swap (NULL, 0, build_regcache); |