diff options
Diffstat (limited to 'gdbstub.c')
| -rw-r--r-- | gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c index 8abcb8a451..86772d0257 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1107,7 +1107,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf) break; } #ifdef CONFIG_USER_ONLY - else if (strncmp(p, "Offsets", 7) == 0) { + else if (strcmp(p, "Offsets") == 0) { TaskState *ts = s->c_cpu->opaque; snprintf(buf, sizeof(buf), |