From: Jim Kingdon Date: Mon, 7 Feb 1994 02:23:31 +0000 (+0000) Subject: (udi_create_inferior): If udi_session_id is negative, open a new X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cac761594219475e56ad7df197f062674fd96748;p=binutils-gdb.git (udi_create_inferior): If udi_session_id is negative, open a new TIP rather than giving an error. --- diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 00bb473f102..4cbcbabfc09 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;