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:
committed by
Michael D Kinney
parent
04af8bf262
commit
eb33b3994d
@ -113,7 +113,7 @@ main (
|
|||||||
|
|
||||||
//
|
//
|
||||||
// Xcode does not support sourcing gdb scripts directly, so the Xcode XML
|
// 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 ();
|
SecGdbConfigBreak ();
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@
|
|||||||
};
|
};
|
||||||
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
|
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
|
||||||
isa = XCBreakpointCommandAction;
|
isa = XCBreakpointCommandAction;
|
||||||
command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun";
|
command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun.sh";
|
||||||
fallbackIsa = XCBreakpointAction;
|
fallbackIsa = XCBreakpointAction;
|
||||||
logCommand = 0;
|
logCommand = 0;
|
||||||
useDebuggerSideImplementation = 1;
|
useDebuggerSideImplementation = 1;
|
||||||
|
@ -180,7 +180,7 @@
|
|||||||
};
|
};
|
||||||
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
|
BA11A11E0FB10E2200D06FEC /* XCBreakpointCommandAction */ = {
|
||||||
isa = XCBreakpointCommandAction;
|
isa = XCBreakpointCommandAction;
|
||||||
command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun";
|
command = "set gInXcode=1\nsource ../../../../EmulatorPkg/Unix/GdbRun.sh";
|
||||||
fallbackIsa = XCBreakpointAction;
|
fallbackIsa = XCBreakpointAction;
|
||||||
logCommand = 0;
|
logCommand = 0;
|
||||||
useDebuggerSideImplementation = 1;
|
useDebuggerSideImplementation = 1;
|
||||||
|
@ -227,7 +227,7 @@ if [[ "$RUN_EMULATOR" == "yes" ]]; then
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user