def parseSymbolInfo(strVal):
    """Parse the output of the command `info symbol [addr|reg]`."""
    if strVal.startswith("No symbol"):
        memName = None
    else:
        memInfo = strVal.split()
        memName = memInfo[0]
        if memInfo[1] == "+":
            memName += " {} {}".format(*memInfo[1:3])

    return memName