(udi_create_inferior): If udi_session_id is negative, open a new
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 7 Feb 1994 02:23:31 +0000 (02:23 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 7 Feb 1994 02:23:31 +0000 (02:23 +0000)
TIP rather than giving an error.

gdb/remote-udi.c

index 00bb473f1021c3413346be2eb0fcf540d2d11e7a..4cbcbabfc0908d008e7996406bd1725da0282725 100644 (file)
@@ -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;