def METHOD_NAME(self, interpreter=None, command=None):
    """gdb command ~= 'interpreter-exec'"""
    if interpreter is None:
        raise ValueError("interpreter cannot be None")
    if command is None:
        raise ValueError("command cannot be None")
    cmd = f'-interpreter-exec {interpreter} "{command}"'
    self._run_command(cmd, expect=r'\^(done|error).*\r\n')  # NOTE no `,`