From d9b3de3584925d1bc4b54339c5df601aed1ac824 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Mon, 8 Apr 2019 13:32:44 -0500 Subject: [PATCH] Parse section starts beginning with whitespace --- tools/memap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/memap.py b/tools/memap.py index 962e4cc738..f692aeb3c2 100644 --- a/tools/memap.py +++ b/tools/memap.py @@ -131,6 +131,7 @@ class _GccParser(_Parser): return value - A section name, if a new section was found, None otherwise """ + line = line.strip() for i in self.ALL_SECTIONS: if line.startswith(i): return i