summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinney, Michael D <michael.d.kinney@intel.com>2019-04-02 13:09:09 -0700
committerMichael D Kinney <michael.d.kinney@intel.com>2019-04-15 14:54:08 -0700
commiteb33b3994d06de418222e664cb1c17369436e93c (patch)
tree79171d87acc083e03fa2cd3de2d55e5b4cfbc47c
parent04af8bf262f1917b74745f8ffd3aa8fb465352df (diff)
downloadedk2-eb33b3994d06de418222e664cb1c17369436e93c.tar.gz
edk2-eb33b3994d06de418222e664cb1c17369436e93c.tar.bz2
edk2-eb33b3994d06de418222e664cb1c17369436e93c.zip
EmulatorPkg/Unix: Rename GdbRun to GdbRun.sh
https://bugzilla.tianocore.org/show_bug.cgi?id=1657 Add .sh file extension to the shell script GdbRun so changes to this file will pass PatchCheck.py. Also update all scripts that execute GdbRun to execute GdbRun.sh instead. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Andrew Fish <afish@apple.com> Cc: Ray Ni <ray.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--EmulatorPkg/Unix/GdbRun.sh (renamed from EmulatorPkg/Unix/GdbRun)0
-rw-r--r--EmulatorPkg/Unix/Host/Host.c2
-rw-r--r--EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbxuser2
-rw-r--r--EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbxuser2
-rwxr-xr-xEmulatorPkg/build.sh2
5 files changed, 4 insertions, 4 deletions
diff --git a/EmulatorPkg/Unix/GdbRun b/EmulatorPkg/Unix/GdbRun.sh
index 8c761ff2c9..8c761ff2c9 100644
--- a/EmulatorPkg/Unix/GdbRun
+++ b/EmulatorPkg/Unix/GdbRun.sh
diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Host.c
index 0755f69d4d..febfb1f44c 100644
--- a/EmulatorPkg/Unix/Host/Host.c
+++ b/EmulatorPkg/Unix/Host/Host.c
@@ -113,7 +113,7 @@ main (
//
// Xcode does not support sourcing gdb scripts directly, so the Xcode XML
- // has a break point script to source the GdbRun script.
+ // has a break point script to source the GdbRun.sh script.
//
SecGdbConfigBreak ();
diff --git a/EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbxuser b/EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbxuser
index 85913859c3..7c13f047d2 100644
--- a/EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbxuser
+++ b/EmulatorPkg/Unix/Xcode/xcode_project32/xcode_project.xcodeproj/default.pbxuser
@@ -180,7 +180,7 @@
};
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
isa = XCBreakpointCommandAction;
- command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun";
+ command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun.sh";
fallbackIsa = XCBreakpointAction;
logCommand = 0;
useDebuggerSideImplementation = 1;
diff --git a/EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbxuser b/EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbxuser
index 7e7ce697af..d8bd924660 100644
--- a/EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbxuser
+++ b/EmulatorPkg/Unix/Xcode/xcode_project64/xcode_project.xcodeproj/default.pbxuser
@@ -180,7 +180,7 @@
};
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
isa = XCBreakpointCommandAction;
- command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun";
+ command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun.sh";
fallbackIsa = XCBreakpointAction;
logCommand = 0;
useDebuggerSideImplementation = 1;
diff --git a/EmulatorPkg/build.sh b/EmulatorPkg/build.sh
index 89fd26baca..558b65e88b 100755
--- a/EmulatorPkg/build.sh
+++ b/EmulatorPkg/build.sh
@@ -227,7 +227,7 @@ if [[ "$RUN_EMULATOR" == "yes" ]]; then
;;
esac
- /usr/bin/gdb $BUILD_ROOT_ARCH/Host -q -cd=$BUILD_ROOT_ARCH -x $WORKSPACE/EmulatorPkg/Unix/GdbRun
+ /usr/bin/gdb $BUILD_ROOT_ARCH/Host -q -cd=$BUILD_ROOT_ARCH -x $WORKSPACE/EmulatorPkg/Unix/GdbRun.sh
exit
fi