diff options
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/linux-procfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c index a12f622..cca35cb 100644 --- a/gdb/nat/linux-procfs.c +++ b/gdb/nat/linux-procfs.c @@ -104,10 +104,10 @@ parse_proc_status_state (const char *state) return PROC_STATE_TRACING_STOP; case 'T': /* Before Linux 2.6.33, tracing stop used uppercase T. */ - if (strcmp (state, "T (tracing stop)") == 0) - return PROC_STATE_TRACING_STOP; - else + if (strcmp (state, "T (stopped)\n") == 0) return PROC_STATE_STOPPED; + else /* "T (tracing stop)\n" */ + return PROC_STATE_TRACING_STOP; case 'X': return PROC_STATE_DEAD; case 'Z': |