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>
This commit is contained in:
Kinney, Michael D 2019-04-02 13:09:09 -07:00 committed by Michael D Kinney
parent 04af8bf262
commit eb33b3994d
5 changed files with 4 additions and 4 deletions

View File

@ -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 ();

View File

@ -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;

View File

@ -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;

View File

@ -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