This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gdb | |
import re | |
# Set it to true if you're using Microsoft's vscode plugin for c/c++. | |
# This works around the fact that it doesn't handle "map" display hints properly. | |
enable_msft_workarounds = False | |
class OdinAnyPrinter(gdb.ValuePrinter): | |
"Pretty print Odin any." |