inf-ptrace.c: use ptid_get_pid when resuming all threads
[external/binutils.git] / gdb / ChangeLog
index 3e9fa55..20250e4 100644 (file)
@@ -1,3 +1,26 @@
+2015-03-03  Pedro Alves  <palves@redhat.com>
+
+       * inf-ptrace.c (inf_ptrace_resume): Remove spurious whitespace.
+       Use ptid_get_pid to get the overall process id when resuming all
+       threads.
+
+2015-03-03  Pedro Alves  <palves@redhat.com>
+
+       * i386-linux-nat.c (i386_linux_resume): Get the ptrace PID out of
+       the lwp field of ptid.  Pass the full ptid to get_thread_regcache.
+       * inf-ptrace.c (get_ptrace_pid): New function.
+       (inf_ptrace_resume): Use it.
+       * linux-nat.c (linux_resume_one_lwp): Pass the LWP's ptid ummodified
+       to the lower layer.
+
+2015-03-03  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * nat/linux-btrace.c: Include sys/utsname.h.
+       (linux_determine_kernel_ptr_bits): New.
+       (linux_enable_bts): Call linux_determine_kernel_ptr_bits.
+       * x86-linux-nat.c (x86_linux_enable_btrace): Do not overwrite non-zero
+       ptr_bits.
+
 2015-03-03  Markus Metzger  <markus.t.metzger@intel.com>
 
        * btrace.c (ftrace_update_function): Treat return as tailcall for