]> git.proxmox.com Git - mirror_edk2.git/blobdiff - InOsEmuPkg/Unix/GdbRun
InOsEmuPkg: Fix Xcode symbol loading with new scheme. Fix bug in dlcose. Move some...
[mirror_edk2.git] / InOsEmuPkg / Unix / GdbRun
index c374cb8ca535cc2440785e0e755d7521c2e9dd67..428e6556317d79e1e318089a0e0f01b851a37b2e 100644 (file)
@@ -67,8 +67,13 @@ define RemoveFirmwareSymbolFile
   end
 end
 
-#
-# Start the program running
-#
-run
-
+if gInXcode == 1
+  # in Xcode the program is already runing. Issuing a run command 
+  # will cause a fatal debugger error. The break point sciprt that
+  # is used to source this script sets gInCode to 1. 
+else
+  #
+  # Start the program running
+  #
+  run
+end