aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-02-07 02:23:31 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-02-07 02:23:31 +0000
commitcac761594219475e56ad7df197f062674fd96748 (patch)
treeb2b3d396cc4a709dcba5523616def6ecc96679d4 /gdb/remote-udi.c
parentfd70af24a30b7ad6bd313b6d70d97e6d1d24cdc1 (diff)
downloadgdb-cac761594219475e56ad7df197f062674fd96748.zip
gdb-cac761594219475e56ad7df197f062674fd96748.tar.gz
gdb-cac761594219475e56ad7df197f062674fd96748.tar.bz2
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index 00bb473..4cbcbab 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -143,6 +143,8 @@ udi_create_inferior (execfile, args, env)
/* If the TIP is not open, open it. */
if (UDIConnect (udi_config_id, &udi_session_id))
error("UDIConnect() failed: %s\n", dfe_errmsg);
+ /* We will need to download the program. */
+ entry.Offset = 0;
}
inferior_pid = 40000;