diff options
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index 7c047e1..22c35fa 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -665,7 +665,7 @@ do_captured_thread_select (void *tidstr) int num; struct thread_info *tp; - num = atoi ((char *)tidstr); + num = value_as_long (parse_and_eval (tidstr)); tp = find_thread_id (num); |