This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. f8c1d06b82ab0fd56bcffc9030cb44b5a946113e
- From: gary at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 11 Sep 2014 10:21:23 -0000
- Subject: gdb and binutils branch master updated. f8c1d06b82ab0fd56bcffc9030cb44b5a946113e
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 f8c1d06b82ab0fd56bcffc9030cb44b5a946113e (commit)
via 721ec300e1e27c2fa7540ef97f39b6c5ce65083f (commit)
via c5e92cca56da9153985d4c15dab243e383f66919 (commit)
from 3adc1a7d457d7fcdc413b970f1ed02b0925e6da8 (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=f8c1d06b82ab0fd56bcffc9030cb44b5a946113e
commit f8c1d06b82ab0fd56bcffc9030cb44b5a946113e
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 11 11:19:56 2014 +0100
Introduce target_{stop,continue}_ptid
This commit introduces two new functions to stop and restart target
processes that shared code can use and that clients must implement.
It also changes some shared code to use these functions.
gdb/ChangeLog:
* target/target.h (target_stop_ptid, target_continue_ptid):
Declare.
* target.c (target_stop_ptid, target_continue_ptid): New
functions.
* common/agent.c [!GDBSERVER]: Don't include infrun.h.
(agent_run_command): Always use target_stop_ptid and
target_continue_ptid.
gdb/gdbserver/ChangeLog:
* target.c (target_stop_ptid, target_continue_ptid): New
functions.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=721ec300e1e27c2fa7540ef97f39b6c5ce65083f
commit 721ec300e1e27c2fa7540ef97f39b6c5ce65083f
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 11 11:19:56 2014 +0100
Introduce target/target.h
This introduces target/target.h. This file declares some functions
that the shared code can use and that clients must implement. It also
changes some shared code to use these functions.
gdb/ChangeLog:
* target/target.h: New file.
* Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
* target.h: Include target/target.h.
(target_read_memory, target_write_memory): Don't declare.
* target.c (target_read_uint32): New function.
* common/agent.c: Include target/target.h.
[!GDBSERVER]: Don't include target.h.
(helper_thread_id): Type changed to uint32_t.
(agent_get_helper_thread_id): Use target_read_uint32.
(agent_run_command): Always use target_read_memory and
target_write_memory.
(agent_capability): Type changed to uint32_t.
(agent_capability_check): Use target_read_uint32.
gdb/gdbserver/ChangeLog:
* target.h: Include target/target.h.
* target.c (target_read_memory, target_read_uint32)
(target_write_memory): New functions.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c5e92cca56da9153985d4c15dab243e383f66919
commit c5e92cca56da9153985d4c15dab243e383f66919
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 11 11:19:56 2014 +0100
Introduce show_debug_regs
This commit adds a new global flag show_debug_regs to common-debug.h
to replace the flag debug_hw_points used by gdbserver and by the
Linux x86 and AArch64 ports, and to replace the flag maint_show_dr
used by the Linux MIPS port.
Note that some debug printing in the AArch64 port was enabled only if
debug_hw_points > 1 but no way to set debug_hw_points to values other
than 0 and 1 was provided; that code was effectively dead. This
commit enables all debug printing if show_debug_regs is nonzero, so
the AArch64 output will be more verbose than previously.
gdb/ChangeLog:
* common/common-debug.h (show_debug_regs): Declare.
* common/common-debug.c (show_debug_regs): Define.
* aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
all uses with show_debug_regs. Replace all uses that considered
debug_hw_points as a multi-value integer with straight boolean
uses.
* x86-nat.c (debug_hw_points): Don't define. Replace all uses
with show_debug_regs.
* nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
all uses with show_debug_regs.
* mips-linux-nat.c (maint_show_dr): Don't define. Replace all
uses with show_debug_regs.
gdb/gdbserver/ChangeLog:
* server.h (debug_hw_points): Don't declare.
* server.c (debug_hw_points): Don't define. Replace all uses
with show_debug_regs.
* linux-aarch64-low.c (debug_hw_points): Don't define. Replace
all uses with show_debug_regs.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 42 +++++++++++++++++
gdb/Makefile.in | 2 +-
gdb/aarch64-linux-nat.c | 30 +++++-------
gdb/common/agent.c | 89 ++++--------------------------------
gdb/common/common-debug.c | 4 ++
gdb/common/common-debug.h | 5 ++
gdb/gdbserver/ChangeLog | 20 ++++++++
gdb/gdbserver/linux-aarch64-low.c | 19 +++-----
gdb/gdbserver/server.c | 7 +--
gdb/gdbserver/server.h | 1 -
gdb/gdbserver/target.c | 56 +++++++++++++++++++++++
gdb/gdbserver/target.h | 1 +
gdb/mips-linux-nat.c | 10 +---
gdb/nat/x86-dregs.c | 13 ++----
gdb/target.c | 41 +++++++++++++++++
gdb/target.h | 7 +--
gdb/target/target.h | 73 ++++++++++++++++++++++++++++++
gdb/x86-nat.c | 5 +--
18 files changed, 287 insertions(+), 138 deletions(-)
create mode 100644 gdb/target/target.h
hooks/post-receive
--
gdb and binutils