(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
@ -143,6 +143,8 @@ udi_create_inferior (execfile, args, env)
|
|||||||
/* If the TIP is not open, open it. */
|
/* If the TIP is not open, open it. */
|
||||||
if (UDIConnect (udi_config_id, &udi_session_id))
|
if (UDIConnect (udi_config_id, &udi_session_id))
|
||||||
error("UDIConnect() failed: %s\n", dfe_errmsg);
|
error("UDIConnect() failed: %s\n", dfe_errmsg);
|
||||||
|
/* We will need to download the program. */
|
||||||
|
entry.Offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inferior_pid = 40000;
|
inferior_pid = 40000;
|
||||||
|
Loading…
Reference in New Issue
Block a user