diff options
Diffstat (limited to 'gdb/remote-utils.c')
-rw-r--r-- | gdb/remote-utils.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c index c2b833e..e723a56 100644 --- a/gdb/remote-utils.c +++ b/gdb/remote-utils.c @@ -154,19 +154,12 @@ gr_generic_checkin (void) void gr_open (char *args, int from_tty, struct gr_settings *gr) { - DCACHE *dcache; - target_preopen (from_tty); sr_scan_args (gr->ops->to_shortname, args); unpush_target (gr->ops); gr_settings = gr; - if ((dcache = gr_get_dcache()) == NULL) - gr_set_dcache (dcache_init (gr->readfunc, gr->writefunc)); - else - dcache_invd (dcache); - if (sr_get_desc () != NULL) gr_close (0); |