This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 97ea6506c45ab5519483a0221fdc049038496492
- From: gary at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 3 Sep 2014 11:41:39 -0000
- Subject: gdb and binutils branch master updated. 97ea6506c45ab5519483a0221fdc049038496492
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 97ea6506c45ab5519483a0221fdc049038496492 (commit)
from d14378154883eb1ae5373e7a73edcc9d97e62634 (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=97ea6506c45ab5519483a0221fdc049038496492
commit 97ea6506c45ab5519483a0221fdc049038496492
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Sep 3 12:05:50 2014 +0100
x86 debug address register clarifications
The loop macro ALL_DEBUG_REGISTERS does not iterate over the status or
control registers, so its name is misleading. This commit renames it
as ALL_DEBUG_ADDRESS_REGISTERS and updates all uses. This commit also
updates its loop conditions to an equivalent but better form, and
makes two functions use it that had previously hardwired the loop.
A comment on a related field in the x86_debug_reg_state structure is
also updated to reflect that the field refers specifically to address
registers only.
gdb/ChangeLog:
* nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
(ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
Loop conditions changed to equivalent form.
(struct x86_debug_reg_state): Updated dr_ref_count comment.
* x86-linux-nat.c (x86_linux_prepare_to_resume): Use
ALL_DEBUG_ADDRESS_REGISTERS.
gdb/gdbserver/ChangeLog:
* linux-x86-low.c (x86_linux_prepare_to_resume): Use
ALL_DEBUG_ADDRESS_REGISTERS.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 9 +++++++++
gdb/gdbserver/ChangeLog | 5 +++++
gdb/gdbserver/linux-x86-low.c | 2 +-
gdb/gdbserver/x86-low.c | 2 +-
gdb/nat/x86-dregs.c | 12 ++++++------
gdb/nat/x86-dregs.h | 7 ++++---
gdb/x86-linux-nat.c | 2 +-
7 files changed, 27 insertions(+), 12 deletions(-)
hooks/post-receive
--
gdb and binutils