Check if GDBserver is compatible with process
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Apr 2012 15:35:32 +0000 (15:35 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Apr 2012 15:35:32 +0000 (15:35 +0000)
commit214d508ee1d179d6c9e0e993d68628a0bc477124
treea246980ee017a23fc7bcff794619709f9852ce7e
parentb38cadfb70dbcbe3f1b31f53e96f0ab9a72e394b
Check if GDBserver is compatible with process

PR gdb/13969
* linux-low.c (linux_pid_exe_is_elf_64_file): Also return the
e_machine field.
(linux_qxfer_libraries_svr4): Update call to elf_64_file_p.
* linux-low.h (linux_pid_exe_is_elf_64_file): Updated.
* linux-x86-low.c (x86_arch_setup): Check if GDBserver is
compatible with process.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/linux-x86-low.c