Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 8 Dec 2016 08:45:59 +0000 (09:45 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Thu, 8 Dec 2016 08:45:59 +0000 (09:45 +0100)
commitc3187fa5cc72734e6fc766a85d657018c0516bad
tree7337c4ae5cfe0d79a8c85192ded93909d248bebc
parent21389b7f3451a482e14fef9bd32257c4c87f4317
Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid

Follow-up to commit 14f6890677849172a4b13779acd9089c9baa3a81.
global_thread_id_to_ptid expects global thread numbers, which are nowadays only
used in MI, never presented to the user in the CLI.  Since this is a CLI
command, it should accept the inferior-qualified format instead.

gdb/
* gnu-nat.c (set_sig_thread_cmd): Use parse_thread_id instead of
global_thread_id_to_ptid.
gdb/ChangeLog
gdb/gnu-nat.c