diff options
author | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 04:44:33 +0000 |
---|---|---|
committer | AJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-17 04:44:33 +0000 |
commit | 920cb926428be7049526140d523df379f6fe3ad1 (patch) | |
tree | e6d568b98892e26029f4e438904c7c2a2555f6ce /EmbeddedPkg | |
parent | d4f167a92a5455c2e90a0a69e281ecb5799678db (diff) | |
download | edk2-platforms-920cb926428be7049526140d523df379f6fe3ad1.tar.xz |
Fix RVCT compiler warnings, and a bug in the GdbStub
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9790 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r-- | EmbeddedPkg/GdbStub/GdbStub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/GdbStub/GdbStub.c b/EmbeddedPkg/GdbStub/GdbStub.c index b121e413f3..cc0e118f63 100644 --- a/EmbeddedPkg/GdbStub/GdbStub.c +++ b/EmbeddedPkg/GdbStub/GdbStub.c @@ -976,7 +976,7 @@ PeCoffLoaderGetDebuggerInfo ( case CODEVIEW_SIGNATURE_RSDS: return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_RSDS_ENTRY)); case CODEVIEW_SIGNATURE_MTOC: - *DebugBase = (VOID *)(UINTN)((UINTN)DebugBase + SizeOfHeaders); + *DebugBase = (VOID *)(UINTN)((UINTN)DebugBase - SizeOfHeaders); return (VOID *) ((CHAR8 *)CodeViewEntryPointer + sizeof (EFI_IMAGE_DEBUG_CODEVIEW_MTOC_ENTRY)); default: break; |