diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-27 19:56:15 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-27 19:56:15 +0000 |
commit | f70c2a12344fca6c73821cb3a7feacf0b92009f9 (patch) | |
tree | 7876cd8ce2016cd93f94f70fe0c0b8964f2f9c6b /InOsEmuPkg/Unix/GdbRun | |
parent | 8bd282bee9909a0ac414f11c9274c473dbb9a538 (diff) | |
download | edk2-platforms-f70c2a12344fca6c73821cb3a7feacf0b92009f9.tar.xz |
InOsEmuPkg: Fix Xcode symbol loading with new scheme. Fix bug in dlcose. Move some of the gdb infrastrucuture to the start of main().
signed-off-by: andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11895 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Unix/GdbRun')
-rw-r--r-- | InOsEmuPkg/Unix/GdbRun | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/InOsEmuPkg/Unix/GdbRun b/InOsEmuPkg/Unix/GdbRun index c374cb8ca5..428e655631 100644 --- a/InOsEmuPkg/Unix/GdbRun +++ b/InOsEmuPkg/Unix/GdbRun @@ -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 |