aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-03-04 15:03:33 +0000
committerPedro Alves <palves@redhat.com>2015-03-04 15:03:33 +0000
commit79639e11323e209d3dfd1355abac3b83a87c6878 (patch)
treeaab8e314b04d85bd611ff3118667581bd7ecae8c /gdb/ChangeLog
parentd57be0f4420d42c62bb702f69c6d2a0dd5adef6a (diff)
downloadgdb-79639e11323e209d3dfd1355abac3b83a87c6878.zip
gdb-79639e11323e209d3dfd1355abac3b83a87c6878.tar.gz
gdb-79639e11323e209d3dfd1355abac3b83a87c6878.tar.bz2
follow-fork: don't lose the ptids as set by the target
This Linuxism has made its way into infrun.c, in the follow-fork code: inferior_ptid = ptid_build (child_pid, child_pid, 0); The OS-specific code should fill in the LWPID, TID parts with the appropriate values, if any, and the core code should not be peeking at the components of the ptids. gdb/ 2015-03-04 Pedro Alves <palves@redhat.com> * infrun.c (follow_fork_inferior): Use the whole of the inferior_ptid and pending_follow.related_pid ptids instead of building ptids from the process components. Adjust verbose output to use target_pid_to_str. * linux-nat.c (linux_child_follow_fork): Use the whole of the inferior_ptid and pending_follow.related_pid ptids instead of building ptids from the process components.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 621b73f..6ed6f4a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+2015-03-04 Pedro Alves <palves@redhat.com>
+
+ * infrun.c (follow_fork_inferior): Use the whole of the
+ inferior_ptid and pending_follow.related_pid ptids instead of
+ building ptids from the process components. Adjust verbose output
+ to use target_pid_to_str.
+ * linux-nat.c (linux_child_follow_fork): Use the whole of the
+ inferior_ptid and pending_follow.related_pid ptids instead of
+ building ptids from the process components.
+
2015-03-04 Mark Kettenis <kettenis@gnu.org>
* inf-ptrace.c [PT_GET_PROCESS_STATE]