Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Thanks/Ray
> -----Original Message-----
> From: Zeng, Star
> Sent: Wednesday, March 15, 2017 1:51 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.zeng@intel.com>; Gao, Liming <liming.gao@intel.com>;
> Ni, Ruiyu <ruiyu.ni@intel.com>; Carsey, Jaben <jaben.carsey@intel.com>
> Subject: [PATCH 2/3] ShellPkg UefiDpLib: Handle "/" separator in debug path
> for GCC build
>
> Cc: Liming Gao <liming.gao@intel.com>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Cc: Jaben Carsey <jaben.carsey@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Star Zeng <star.zeng@intel.com>
> ---
> ShellPkg/Library/UefiDpLib/DpUtilities.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ShellPkg/Library/UefiDpLib/DpUtilities.c
> b/ShellPkg/Library/UefiDpLib/DpUtilities.c
> index 64f1830fcc92..c60d27d8613f 100644
> --- a/ShellPkg/Library/UefiDpLib/DpUtilities.c
> +++ b/ShellPkg/Library/UefiDpLib/DpUtilities.c
> @@ -154,7 +154,7 @@ DpGetShortPdbFileName (
> for (EndIndex = 0; PdbFileName[EndIndex] != 0; EndIndex++)
> ;
> for (IndexA = 0; PdbFileName[IndexA] != 0; IndexA++) {
> - if (PdbFileName[IndexA] == '\\') {
> + if ((PdbFileName[IndexA] == '\\') || (PdbFileName[IndexA] == '/')) {
> StartIndex = IndexA + 1;
> }
>
> --
> 2.7.0.windows.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel