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.
This commit is contained in:
Pedro Alves 2012-01-27 19:23:43 +00:00
parent 8c85a4e2f7
commit be07f1a20c
4 changed files with 26 additions and 33 deletions

View file

@ -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);