]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 24 May 2016 17:36:57 +0000 (19:36 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 7 Dec 2016 20:51:27 +0000 (21:51 +0100)
commit14f6890677849172a4b13779acd9089c9baa3a81
tree4b7a654762e5c91be8da6394ff7fe75d71778acc
parent4b0781150f69b6ff251dac447c77e4d4f6598da8
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.
gdb/ChangeLog
gdb/gnu-nat.c