diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 19:58:46 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-02 19:58:46 +0000 |
commit | 96a8bc11507ee060ccb8be56f69e1d1a7cf52792 (patch) | |
tree | 74656fc0e1e7cb0a434dbd43b9254dd2ad2d8476 /ArmPlatformPkg/Library | |
parent | 124dfbf6daa86b415596e2a989d660208f66a4ae (diff) | |
download | edk2-platforms-96a8bc11507ee060ccb8be56f69e1d1a7cf52792.tar.xz |
ArmPkg/PeCoffExtraActionLib: Enabled DS-5 command line when using ARM Toolchain v5
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13251 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Library')
-rw-r--r-- | ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c b/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c index b75dbfbb6f..f9e4b40a8e 100644 --- a/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c +++ b/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c @@ -1,6 +1,6 @@ /** @file
*
-* Copyright (c) 2011, ARM Limited. All rights reserved.
+* Copyright (c) 2011-2012, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
@@ -52,7 +52,7 @@ EblDumpMmu ( @param Argc Number of command arguments in Argv
@param Argv Array of strings that represent the parsed command line.
- Argv[0] is the comamnd name
+ Argv[0] is the command name
@return EFI_SUCCESS
@@ -75,7 +75,11 @@ EblSymbolTable ( // Need to add lots of error checking on the passed in string
// Default string is for RealView debugger
+#if (__ARMCC_VERSION < 500000)
Format = (Argc > 1) ? Argv[1] : "load /a /ni /np %a &0x%x";
+#else
+ Format = (Argc > 1) ? Argv[1] : "add-symbol-file %a 0x%x";
+#endif
Elf = (Argc > 2) ? FALSE : TRUE;
Status = EfiGetSystemConfigurationTable (&gEfiDebugImageInfoTableGuid, (VOID **)&DebugImageTableHeader);
|