diff options
author | Pedro Alves <palves@redhat.com> | 2012-01-27 19:23:43 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-01-27 19:23:43 +0000 |
commit | be07f1a20c962deb662b93209b4ca91bc8e5cbd8 (patch) | |
tree | c46c5b008a5c786ff58b86259640972d3cec1409 /gdb/gdbserver/linux-low.h | |
parent | 8c85a4e2f7b1b536104ffcb95f843fb048c229e9 (diff) | |
download | fsf-binutils-gdb-be07f1a20c962deb662b93209b4ca91bc8e5cbd8.zip fsf-binutils-gdb-be07f1a20c962deb662b93209b4ca91bc8e5cbd8.tar.gz fsf-binutils-gdb-be07f1a20c962deb662b93209b4ca91bc8e5cbd8.tar.bz2 |
2012-01-27 Pedro Alves <palves@redhat.com>
* linux-low.c (linux_child_pid_to_exec_file): Delete.
(elf_64_file_p): Make static.
(linux_pid_exe_is_elf_64_file): New.
* linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p):
Delete declarations.
(linux_pid_exe_is_elf_64_file): Declare.
* linux-x86-low.c (x86_arch_setup): Use
linux_pid_exe_is_elf_64_file.
Diffstat (limited to 'gdb/gdbserver/linux-low.h')
-rw-r--r-- | gdb/gdbserver/linux-low.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbserver/linux-low.h b/gdb/gdbserver/linux-low.h index 2befc48..3ba004c 100644 --- a/gdb/gdbserver/linux-low.h +++ b/gdb/gdbserver/linux-low.h @@ -265,8 +265,7 @@ struct lwp_info extern struct inferior_list all_lwps; -char *linux_child_pid_to_exec_file (int pid); -int elf_64_file_p (const char *file); +int linux_pid_exe_is_elf_64_file (int pid); void linux_attach_lwp (unsigned long pid); struct lwp_info *find_lwp_pid (ptid_t ptid); |