This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. a4165e94f452b3137a1071a5034853a93a9de1a2
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 23 Apr 2014 17:41:41 -0000
- Subject: gdb and binutils branch master updated. a4165e94f452b3137a1071a5034853a93a9de1a2
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 a4165e94f452b3137a1071a5034853a93a9de1a2 (commit)
from b8acf843690988fa96123b3c54bc3850d874eb35 (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=a4165e94f452b3137a1071a5034853a93a9de1a2
commit a4165e94f452b3137a1071a5034853a93a9de1a2
Author: Pedro Alves <palves@redhat.com>
Date: Tue Apr 22 19:47:04 2014 +0100
gdbserver: decouple x86 watchpoint / hw breakpoint routines from Z packet numbers.
My main motivation here is moving in the direction of decoupling
insert_point/remove_point from packet numbers, though this bit alone
should make it a little bit easier to merge gdb/gdbserver/i386-low.c
and gdb/i386-nat.c (which are largely the same).
Tested on x86_64 Fedora 17, and cross built for i686-mingw32 too.
gdb/gdbserver/
2014-04-23 Pedro Alves <palves@redhat.com>
* i386-low.c: Don't include break-common.h here.
(i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change
prototype to take target_hw_bp_type as argument instead of a Z
packet char.
* i386-low.h: Include break-common.h here.
(Z_packet_to_hw_type): Declare.
(i386_low_insert_watchpoint, i386_low_remove_watchpoint): Change
prototypes.
* linux-x86-low.c (x86_insert_point): Convert the packet number to
a target_hw_bp_type before calling i386_low_insert_watchpoint.
(x86_remove_point): Convert the packet number to a
target_hw_bp_type before calling i386_low_remove_watchpoint.
* win32-i386-low.c (i386_insert_point): Convert the packet number
to a target_hw_bp_type before calling i386_low_insert_watchpoint.
(i386_remove_point): Convert the packet number to a
target_hw_bp_type before calling i386_low_remove_watchpoint.
-----------------------------------------------------------------------
Summary of changes:
gdb/gdbserver/ChangeLog | 19 +++++++++++++++++++
gdb/gdbserver/i386-low.c | 15 ++++++---------
gdb/gdbserver/i386-low.h | 15 +++++++++++----
gdb/gdbserver/linux-x86-low.c | 18 ++++++++++++++----
gdb/gdbserver/win32-i386-low.c | 16 ++++++++++++----
5 files changed, 62 insertions(+), 21 deletions(-)
hooks/post-receive
--
gdb and binutils