[PATCH 2/4] Fix incorrect indirection

Daniel Black daniel.black@au1.ibm.com
Thu Feb 23 00:37:00 GMT 2017


Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
---
 binutils/stabs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binutils/stabs.c b/binutils/stabs.c
index aebde7a..48d7633 100644
--- a/binutils/stabs.c
+++ b/binutils/stabs.c
@@ -2702,7 +2702,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
 	      ++*pp;
 	      voffset &= 0x7fffffff;
 
-	      if (**pp == ';' || *pp == '\0')
+	      if (**pp == ';' || **pp == '\0')
 		{
 		  /* Must be g++ version 1.  */
 		  context = DEBUG_TYPE_NULL;
-- 
2.7.4



More information about the Binutils mailing list