mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-22 09:04:58 +00:00
gdb/
Fix -Wmissing-prototypes build. * arm-linux-nat.c (get_thread_id): Make it static. * xtensa-linux-nat.c (get_thread_id): Likewise.
This commit is contained in:
parent
c6030312dc
commit
4e841acf4e
@ -1,3 +1,9 @@
|
||||
2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix -Wmissing-prototypes build.
|
||||
* arm-linux-nat.c (get_thread_id): Make it static.
|
||||
* xtensa-linux-nat.c (get_thread_id): Likewise.
|
||||
|
||||
2012-03-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* server.c (process_point_options): If a conditional expression
|
||||
|
@ -77,7 +77,7 @@ extern int arm_apcs_32;
|
||||
individual thread (process) ID. get_thread_id () is used to get
|
||||
the thread id if it's available, and the process id otherwise. */
|
||||
|
||||
int
|
||||
static int
|
||||
get_thread_id (ptid_t ptid)
|
||||
{
|
||||
int tid = TIDGET (ptid);
|
||||
|
@ -46,7 +46,7 @@
|
||||
hardware-specific overlays. */
|
||||
#include "xtensa-xtregs.c"
|
||||
|
||||
int
|
||||
static int
|
||||
get_thread_id (ptid_t ptid)
|
||||
{
|
||||
int tid = TIDGET (ptid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user