From 4663f6d46a94e09f20ed5a9c74c6f2700bf8a1b6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 7 Nov 2009 08:43:32 +0000 Subject: [PATCH] Fixed incorrect check. Spotted by Axel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33930 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/debugger/dwarf/DwarfFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/debugger/dwarf/DwarfFile.cpp b/src/apps/debugger/dwarf/DwarfFile.cpp index 70f807f372..7f31bb0d9e 100644 --- a/src/apps/debugger/dwarf/DwarfFile.cpp +++ b/src/apps/debugger/dwarf/DwarfFile.cpp @@ -1401,7 +1401,7 @@ DwarfFile::_ParseCIE(CompilationUnit* unit, CfaContext& context, return B_UNSUPPORTED; } - if (augmentation == NULL || *augmentation != '\0') { + if (augmentation != NULL && *augmentation != '\0') { if (strcmp(augmentation, "eh") == 0) { // the augmentation consists of the exception table pointer -- just // ignore it