(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
This commit is contained in:
parent
fd70af24a3
commit
cac7615942
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue