aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-tile-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/linux-tile-low.c')
-rw-r--r--gdb/gdbserver/linux-tile-low.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-tile-low.c b/gdb/gdbserver/linux-tile-low.c
index 2a84ace..c292c27 100644
--- a/gdb/gdbserver/linux-tile-low.c
+++ b/gdb/gdbserver/linux-tile-low.c
@@ -158,7 +158,7 @@ tile_regs_info (void)
static void
tile_arch_setup (void)
{
- int pid = pid_of (get_thread_lwp (current_inferior));
+ int pid = pid_of (current_inferior);
unsigned int machine;
int is_elf64 = linux_pid_exe_is_elf_64_file (pid, &machine);