diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-07 02:23:31 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-02-07 02:23:31 +0000 |
commit | cac761594219475e56ad7df197f062674fd96748 (patch) | |
tree | b2b3d396cc4a709dcba5523616def6ecc96679d4 | |
parent | fd70af24a30b7ad6bd313b6d70d97e6d1d24cdc1 (diff) | |
download | binutils-cac761594219475e56ad7df197f062674fd96748.zip binutils-cac761594219475e56ad7df197f062674fd96748.tar.gz binutils-cac761594219475e56ad7df197f062674fd96748.tar.bz2 |
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
-rw-r--r-- | gdb/remote-udi.c | 2 |
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; |