• Oswald Buddenhagen's avatar
    centralize gdb command result class checking · a1a8f6ad
    Oswald Buddenhagen authored
    each command can have only one of two legitimate responses: "error" or -
    depending on the command, and thus declared via a flag - "done" or
    "running".
    this is way nicer than sprinkling the code with else-ifs (where elses
    are sufficient) and asserts all over the place - and silently failing in
    release builds.
    a1a8f6ad
gdbengine.h 15.2 KB