diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2016-05-24 19:36:57 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2016-12-07 21:51:27 +0100 |
commit | 14f6890677849172a4b13779acd9089c9baa3a81 (patch) | |
tree | 4b7a654762e5c91be8da6394ff7fe75d71778acc /gdb/gnu-nat.c | |
parent | 4b0781150f69b6ff251dac447c77e4d4f6598da8 (diff) | |
download | gdb-14f6890677849172a4b13779acd9089c9baa3a81.zip gdb-14f6890677849172a4b13779acd9089c9baa3a81.tar.gz gdb-14f6890677849172a4b13779acd9089c9baa3a81.tar.bz2 |
Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes
[...]/gdb/gnu-nat.c: In function 'set_sig_thread_cmd':
[...]/gdb/gnu-nat.c:2973:7: warning: implicit declaration of function 'thread_id_to_pid' [-Wimplicit-function-declaration]
ptid_t ptid = thread_id_to_pid (atoi (args));
^
[...]/gdb/gnu-nat.c:2973:7: error: invalid initializer
That's commit 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869, which renamed
`thread_id_to_pid` to `global_thread_id_to_ptid`.
gdb/
* gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
instead of thread_id_to_pid.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 927ee5c..92b9292 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2964,7 +2964,7 @@ set_sig_thread_cmd (char *args, int from_tty) inf->signal_thread = 0; else { - ptid_t ptid = thread_id_to_pid (atoi (args)); + ptid_t ptid = global_thread_id_to_ptid (atoi (args)); if (ptid_equal (ptid, minus_one_ptid)) error (_("Thread ID %s not known. " |