Add some casts for building on musl.
authorDoug Evans <dje@google.com>
Mon, 26 Oct 2015 20:20:12 +0000 (13:20 -0700)
committerDoug Evans <dje@google.com>
Mon, 26 Oct 2015 20:20:12 +0000 (13:20 -0700)
commitd41401ace01c234f42697e190a2ac95991780626
tree94ca1ecc21d2fb5caecf5d645723eaeb58782273
parent1522597b057c321d813d3433bcd1e17c02a56557
Add some casts for building on musl.

gdb/ChangeLog:

* linux-thread-db.c (find_new_threads_callback): Cast ti.ti_tid to
unsigned long for debug_printf.
(thread_db_pid_to_str): Ditto.

gdb/gdbserver/ChangeLog:

* thread-db.c (find_one_thread): Cast ti.ti_tid to unsigned long
for debug_printf.
(attach_thread, find_new_threads_callback): Ditto.
gdb/ChangeLog
gdb/gdbserver/ChangeLog
gdb/gdbserver/thread-db.c
gdb/linux-thread-db.c