This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 89a5711c561ad1e9a435221bc056ecd86a1aa628
- From: donb at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 19 Sep 2014 18:01:05 -0000
- Subject: gdb and binutils branch master updated. 89a5711c561ad1e9a435221bc056ecd86a1aa628
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 89a5711c561ad1e9a435221bc056ecd86a1aa628 (commit)
from e00d879a2e9169759518dd419d19f1b3dcb6f709 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=89a5711c561ad1e9a435221bc056ecd86a1aa628
commit 89a5711c561ad1e9a435221bc056ecd86a1aa628
Author: Don Breazeal <donb@codesourcery.com>
Date: Fri Sep 19 10:54:34 2014 -0700
Refactor ptrace extended event status.
This commit implements functions for identifying and extracting extended
ptrace event information from a Linux wait status. These are just
convenience functions intended to hide the ">> 16" used to extract the
event from the wait status word, replacing the hard-coded shift with a more
descriptive function call. This is preparatory work for implementation of
follow-fork and detach-on-fork for extended-remote linux targets.
gdb/ChangeLog:
* linux-nat.c (linux_handle_extended_wait): Call
linux_ptrace_get_extended_event.
(wait_lwp): Call linux_is_extended_waitstatus.
(linux_nat_filter_event): Call linux_ptrace_get_extended_event
and linux_is_extended_waitstatus.
* nat/linux-ptrace.c (linux_test_for_tracefork): Call
linux_ptrace_get_extended_event.
(linux_ptrace_get_extended_event): New function.
(linux_is_extended_waitstatus): New function.
* nat/linux-ptrace.h (linux_ptrace_get_extended_event)
(linux_is_extended_waitstatus): New declarations.
gdb/gdbserver/ChangeLog:
* linux-low.c (handle_extended_wait): Call
linux_ptrace_get_extended_event.
(get_stop_pc, get_detach_signal, linux_low_filter_event): Call
linux_is_extended_waitstatus.
---
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 14 ++++++++++++++
gdb/gdbserver/ChangeLog | 7 +++++++
gdb/gdbserver/linux-low.c | 8 ++++----
gdb/linux-nat.c | 11 +++++++----
gdb/nat/linux-ptrace.c | 18 +++++++++++++++++-
gdb/nat/linux-ptrace.h | 2 ++
6 files changed, 51 insertions(+), 9 deletions(-)
hooks/post-receive
--
gdb and binutils