kasjer commented on a change in pull request #2472: URL: https://github.com/apache/mynewt-core/pull/2472#discussion_r571856160
########## File path: hw/scripts/micro-trace-buffer.py ########## @@ -37,6 +37,12 @@ class MicroTraceBuffer(gdb.Command): def __init__(self): super(MicroTraceBuffer, self).__init__("mtb", gdb.COMMAND_STATUS, gdb.COMPLETE_NONE) + try: + mtb_state_at_crash = gdb.lookup_symbol("mtb_state_at_crash")[0] Review comment: fixed by checking content of mtb_state_at_crash not only variable existence ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org