aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-03-05 21:07:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-03-05 21:07:46 +0000
commit2e7941949d5bab63696c842cb5fe3d96edba29fb (patch)
tree7582b76b9fd41ee0d59fe72764a801e2e8dd9bc5 /gdb/linux-nat.h
parent9f9f1f31e7b0df2da2fac6a8de06d9286f71f4d2 (diff)
downloadgdb-2e7941949d5bab63696c842cb5fe3d96edba29fb.zip
gdb-2e7941949d5bab63696c842cb5fe3d96edba29fb.tar.gz
gdb-2e7941949d5bab63696c842cb5fe3d96edba29fb.tar.bz2
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.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r--gdb/linux-nat.h3
1 files changed, 0 insertions, 3 deletions
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));