diff options
author | Jason Molenda <jmolenda@apple.com> | 2000-02-01 03:19:29 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2000-02-01 03:19:29 +0000 |
commit | da59e08184255e09e51e54bb356e4448d33b2245 (patch) | |
tree | 7b31845d077b659d43f8a6597270e121c75f77e4 /gdb/remote-rdi.c | |
parent | 557537a5563f40d36fb91d03551da70f4b0faf34 (diff) | |
download | gdb-da59e08184255e09e51e54bb356e4448d33b2245.zip gdb-da59e08184255e09e51e54bb356e4448d33b2245.tar.gz gdb-da59e08184255e09e51e54bb356e4448d33b2245.tar.bz2 |
import gdb-2000-01-31 snapshot
Diffstat (limited to 'gdb/remote-rdi.c')
-rw-r--r-- | gdb/remote-rdi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index 63c8d60..d187223 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -32,6 +32,7 @@ #include "gdb-stabs.h" #include "gdbthread.h" #include "gdbcore.h" +#include "breakpoint.h" #ifdef USG #include <sys/types.h> @@ -738,6 +739,12 @@ arm_rdi_kill () static void arm_rdi_mourn_inferior () { + /* We remove the inserted breakpoints in case the user wants to + issue another target and load commands to rerun his application; + This is something that wouldn't work on a native target, for instance, + as the process goes away when the inferior exits, but it works with + some remote targets like this one. That is why this is done here. */ + remove_breakpoints(); unpush_target (&arm_rdi_ops); generic_mourn_inferior (); } |