diff options
-rw-r--r-- | misplays.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -303,16 +303,21 @@ int main(int argc, char **argv) { char *t = cmd; int en = 1; + pid_t tid = 0; if (t[0] == '!') { en = -1; t++; } else if (t[0] == '#') { en = 0; t++; + } else if (t[0] == '@') { + tid = th->id; + t++; } unsigned long address = strtoul(t, NULL, 0); struct breakpoint *b = add_breakpoint(th->proc, address); b->enabled = en; + b->tid = tid; break; } } else { |