This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 296b1496f756d26b2e3235133f89012fff940902
- From: gary at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Sep 2014 09:18:04 -0000
- Subject: gdb and binutils branch master updated. 296b1496f756d26b2e3235133f89012fff940902
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 296b1496f756d26b2e3235133f89012fff940902 (commit)
via 53f813629714f46e536c1f0bfa256d7b6b48cf3e (commit)
via 727605ca75e009d8468bb6378b7d18b774838b2d (commit)
via 361c8ade9c3c88cf7f0111fdab3ceb03028842bc (commit)
from ac4eb736520174305bf6e691827f7473b858cff1 (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=296b1496f756d26b2e3235133f89012fff940902
commit 296b1496f756d26b2e3235133f89012fff940902
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Sep 12 10:11:42 2014 +0100
Remove GDBSERVER uses from x86-dregs.c
This commit makes nat/x86-dregs.c include common-defs.h rather than
defs.h or server.h. An extra header required including in order to
support this change.
gdb/ChangeLog:
* nat/x86-dregs.c: Include common-defs.h and break-common.h.
Don't include defs.h or server.h.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=53f813629714f46e536c1f0bfa256d7b6b48cf3e
commit 53f813629714f46e536c1f0bfa256d7b6b48cf3e
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Sep 12 10:11:42 2014 +0100
Remove GDBSERVER uses from linux-btrace.c
This commit makes nat/linux-btrace.c include common-defs.h rather
than defs.h or server.h. A couple of minor changes were required
to support this change.
gdb/ChangeLog:
* nat/linux-btrace.c: Include common-defs.h.
Don't include defs.h, server.h or gdbthread.h.
* nat/linux-btrace.h (struct target_ops): New forward declaration.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=727605ca75e009d8468bb6378b7d18b774838b2d
commit 727605ca75e009d8468bb6378b7d18b774838b2d
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Sep 12 10:11:42 2014 +0100
Include common-defs.h instead of defs.h/server.h in shared code
This commit makes 19 of the 22 shared .c files in common, nat and
target include common-defs.h instead of defs.h/server.h. The
remaining three files need slight extra work and are dealt with
in separate commits.
gdb/ChangeLog:
* common/agent.c: Include common-defs.h.
Don't include defs.h or server.h.
* common/buffer.c: Likewise.
* common/common-debug.c: Likewise.
* common/common-utils.c: Likewise.
* common/errors.c: Likewise.
* common/filestuff.c: Likewise.
* common/format.c: Likewise.
* common/gdb_vecs.c: Likewise.
* common/print-utils.c: Likewise.
* common/ptid.c: Likewise.
* common/rsp-low.c: Likewise.
* common/signals.c: Likewise.
* common/vec.c: Likewise.
* common/xml-utils.c: Likewise.
* nat/linux-osdata.c: Likewise.
* nat/linux-procfs.c: Likewise.
* nat/linux-ptrace.c: Likewise.
* nat/mips-linux-watch.c: Likewise.
* target/waitstatus.c: Likewise.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=361c8ade9c3c88cf7f0111fdab3ceb03028842bc
commit 361c8ade9c3c88cf7f0111fdab3ceb03028842bc
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Sep 12 10:11:42 2014 +0100
Introduce common-regcache.h
This introduces common-regcache.h. This contains two functions that
allow nat/linux-btrace.c to be simplified. A better long term
solution would be unify the regcache code, but this is sufficient for
now.
gdb/ChangeLog:
* common/common-regcache.h: New file.
* Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
* regcache.h: Include common-regcache.h.
(regcache_read_pc): Don't declare.
* regcache.c (get_thread_regcache_for_ptid): New function.
* nat/linux-btrace.c: Don't include regcache.h.
Include common-regcache.h.
(perf_event_read_bts): Use get_thread_regcache_for_ptid.
gdb/gdbserver/ChangeLog:
* regcache.h: Include common-regcache.h.
(regcache_read_pc): Don't declare.
* regcache.c (get_thread_regcache_for_ptid): New function.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 46 ++++++++++++++++++++++
gdb/Makefile.in | 3 +-
gdb/common/agent.c | 6 +--
gdb/common/buffer.c | 7 +---
gdb/common/common-debug.c | 6 +--
gdb/common/{common-debug.c => common-regcache.h} | 31 ++++++--------
gdb/common/common-utils.c | 6 +--
gdb/common/errors.c | 6 +--
gdb/common/filestuff.c | 6 +--
gdb/common/format.c | 7 +---
gdb/common/gdb_vecs.c | 7 +---
gdb/common/print-utils.c | 7 +---
gdb/common/ptid.c | 6 +--
gdb/common/rsp-low.c | 7 +---
gdb/common/signals.c | 6 +--
gdb/common/vec.c | 7 +---
gdb/common/xml-utils.c | 7 +---
gdb/gdbserver/ChangeLog | 7 +++
gdb/gdbserver/regcache.c | 8 ++++
gdb/gdbserver/regcache.h | 4 +-
gdb/nat/linux-btrace.c | 16 +------
gdb/nat/linux-btrace.h | 2 +
gdb/nat/linux-osdata.c | 7 +---
gdb/nat/linux-procfs.c | 7 +---
gdb/nat/linux-ptrace.c | 7 +---
gdb/nat/mips-linux-watch.c | 6 +--
gdb/nat/x86-dregs.c | 8 +---
gdb/regcache.c | 7 +++
gdb/regcache.h | 4 +-
gdb/target/waitstatus.c | 7 +---
30 files changed, 115 insertions(+), 146 deletions(-)
copy gdb/common/{common-debug.c => common-regcache.h} (57%)
hooks/post-receive
--
gdb and binutils