mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 22:03:57 +08: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:
@ -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>
|
2012-03-08 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* server.c (process_point_options): If a conditional expression
|
* 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
|
individual thread (process) ID. get_thread_id () is used to get
|
||||||
the thread id if it's available, and the process id otherwise. */
|
the thread id if it's available, and the process id otherwise. */
|
||||||
|
|
||||||
int
|
static int
|
||||||
get_thread_id (ptid_t ptid)
|
get_thread_id (ptid_t ptid)
|
||||||
{
|
{
|
||||||
int tid = TIDGET (ptid);
|
int tid = TIDGET (ptid);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
hardware-specific overlays. */
|
hardware-specific overlays. */
|
||||||
#include "xtensa-xtregs.c"
|
#include "xtensa-xtregs.c"
|
||||||
|
|
||||||
int
|
static int
|
||||||
get_thread_id (ptid_t ptid)
|
get_thread_id (ptid_t ptid)
|
||||||
{
|
{
|
||||||
int tid = TIDGET (ptid);
|
int tid = TIDGET (ptid);
|
||||||
|
Reference in New Issue
Block a user