From 2e7941949d5bab63696c842cb5fe3d96edba29fb Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 5 Mar 2012 21:07:46 +0000 Subject: gdb/ Code cleanup. * common/linux-osdata.c (linux_common_core_of_thread): New function comment. * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 call by linux_common_core_of_thread. (linux_nat_core_of_thread_1): Remove. * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. * linux-thread-db.c: Include linux-osdata.h. (update_thread_core): Replace linux_nat_core_of_thread_1 call by linux_common_core_of_thread. --- gdb/linux-nat.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gdb/linux-nat.h') diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 6217370..c9878d9 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -200,9 +200,6 @@ void linux_nat_switch_fork (ptid_t new_ptid); /* Return the saved siginfo associated with PTID. */ struct siginfo *linux_nat_get_siginfo (ptid_t ptid); -/* Compute and return the processor core of a given thread. */ -int linux_nat_core_of_thread_1 (ptid_t ptid); - /* Set alternative SIGTRAP-like events recognizer. */ void linux_nat_set_status_is_event (struct target_ops *t, int (*status_is_event) (int status)); -- cgit v1.1