/*++\r
\r
-Copyright (c) 2007, Intel Corporation\r
+Copyright (c) 2007 - 2016, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
// Find the nearest symbol address\r
//\r
CandidateAddress = EbdFindSymbolAddress (Address, EdbMatchSymbolTypeNearestAddress, &Object, &Entry);\r
- if (CandidateAddress == 0) {\r
+ if (CandidateAddress == 0 || CandidateAddress == (UINTN) -1) {\r
EDBPrint (L"Symbole at Address not found!\n");\r
return EFI_DEBUG_CONTINUE;\r
} else if (Address != CandidateAddress) {\r