aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-02-07 01:31:15 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-02-07 01:31:15 +0000
commit1dd29bef1b0e38573a41c985428a7f29e71f19eb (patch)
treeac7478c7f864ecb1b9c2075d729eafd249faec76 /gdb/remote-udi.c
parent5bf581053ca6e1e2691fc969ef0d5858a5afe27c (diff)
downloadgdb-1dd29bef1b0e38573a41c985428a7f29e71f19eb.zip
gdb-1dd29bef1b0e38573a41c985428a7f29e71f19eb.tar.gz
gdb-1dd29bef1b0e38573a41c985428a7f29e71f19eb.tar.bz2
* target.c (target_preopen): If target_kill doesn't remove the
target from the stack, use pop_target to do it.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 0a7e1a9..00bb473 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -221,10 +221,6 @@ udi_open (name, from_tty)
UDIUInt32 TIPId, TargetId, DFEId, DFE, TIP, DFEIPCId, TIPIPCId;
target_preopen(from_tty);
- /* target_preopen calls target_kill to clean up the previous target. But
- udi_kill leaves it on the stack. So we pop it here (the call to udi_close
- is harmless now that udi_session_id is -1). */
- unpush_target (&udi_ops);
entry.Offset = 0;