(udi_create_inferior): If udi_session_id is negative, open a new

TIP rather than giving an error.
This commit is contained in:
Jim Kingdon 1994-02-07 02:23:31 +00:00
parent fd70af24a3
commit cac7615942

View File

@ -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;