diff --git a/scripts/stack_core.py b/scripts/stack_core.py index 963f7d5c1..8da01096b 100755 --- a/scripts/stack_core.py +++ b/scripts/stack_core.py @@ -91,7 +91,7 @@ class TraceConverter: "[ \t]+..[ \t]+" # (space)pc(space). "(?P[0-9a-f]" + self.width + ")[ \t]+" # Offset (hex number given without # 0x prefix). - "(?P[^\r\n \t]*)" # Library name. + "(?P\[[^\]]+\]|[^\r\n \t]*)" # Library name. "( \(offset (?P0x[0-9a-fA-F]+)\))?" # Offset into the file to find the start of the shared so. "(?P \((?P.*)\))?") # Is the symbol there? # pylint: disable-msg=C6310