From cac761594219475e56ad7df197f062674fd96748 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Mon, 7 Feb 1994 02:23:31 +0000 Subject: [PATCH] (udi_create_inferior): If udi_session_id is negative, open a new TIP rather than giving an error. --- gdb/remote-udi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 00bb473f10..4cbcbabfc0 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; -- 2.34.1