This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. f2fce0ca3dd5e0dc37fabb75e8874c05e8bf5170
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 26 Feb 2014 14:49:22 -0000
- Subject: gdb and binutils branch master updated. f2fce0ca3dd5e0dc37fabb75e8874c05e8bf5170
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 f2fce0ca3dd5e0dc37fabb75e8874c05e8bf5170 (commit)
via 7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584 (commit)
via bd265cd0bde9e045ab5946532449430b66fe91ad (commit)
via 9d46c4e5f55d67542036c87ca4d63078cedbaee2 (commit)
via a1583b1fd9aee80f886e8cdd90e1c7e27c5cbbc7 (commit)
via 6df1b29f02837669d68b8f153b189502e798a302 (commit)
from dc53a7adb516adbf2f646a078a1140b1044a39f5 (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=f2fce0ca3dd5e0dc37fabb75e8874c05e8bf5170
commit f2fce0ca3dd5e0dc37fabb75e8874c05e8bf5170
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:05 2014 +0000
bsd-uthread.c: Don't install a to_xfer_partial method
Whatever the comment about deprecated_xfer_memory referred to,
deprecated_xfer_memory is gone now. There's no need to install a
target method that just delegates, as that's what the default
delegator does already.
Tested by building an --enable-targets=all gdb on x86_64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
(bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
to_xfer_partial method.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584
commit 7a44e40e8b7e2f91d66930cdf1fe5fed0ba9c584
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:04 2014 +0000
eliminate target_ops->deprecated_xfer_memory
As no target uses it anymore, it can finally go away.
After removing the deprecated_xfer_memory handling from
default_xfer_partial, we can delete the latter, because the only thing
it does is delegate to the target beneath unconditionally, which is
what the delegator installed by target-delegates.c will do for us if
no to_xfer_partial method is installed.
This was the last user of de_fault, so that goes away too.
Tested on x86_64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* target.c (complete_target_initialization): Don't install
default_xfer_partial as to_xfer_partial hook.
(nomemory): Delete.
(update_current_target): Don't INHERIT nor de_fault
deprecated_xfer_memory. Delete de_fault macro.
(default_xfer_partial, deprecated_debug_xfer_memory): Delete.
(setup_target_debug): Don't install a deprecated_xfer_memory hook.
* target.h (struct target_ops) <deprecated_xfer_memory>: Delete
field.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd265cd0bde9e045ab5946532449430b66fe91ad
commit bd265cd0bde9e045ab5946532449430b66fe91ad
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:04 2014 +0000
go32-nat.c: Don't install a deprecated_xfer_memory method
This removes yet another instance of a deprecated_xfer_memory user.
Unfortunately djgpp's write_child function takes a non-const buffer
pointer, while GDB's xfer_partial api passes a const pointer. To be
const-correct, we need to copy that buffer to a non-const buffer, and
pass the copy to write_child. This is actually what
target.c:default_xfer_partial itself does, when calling into the
ops->deprecated_xfer_memory hook.
Tested by cross-building djgpp gdb, on x86-64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* go32-nat.c (my_write_child): New function.
(go32_xfer_memory): Rewrite as to_xfer_partial helper.
(go32_xfer_partial): New function.
(init_go32_ops): Don't install a deprecated_xfer_memory hook.
Instead install a to_xfer_partial hook.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9d46c4e5f55d67542036c87ca4d63078cedbaee2
commit 9d46c4e5f55d67542036c87ca4d63078cedbaee2
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:04 2014 +0000
nto-procfs.c: Don't install a deprecated_xfer_memory method
This removes yet another instance of a deprecated_xfer_memory user.
Completely untested.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* nto-procfs.c (procfs_xfer_memory): Adjust interface as a
to_xfer_partial helper. Rewrite.
(procfs_xfer_partial): New function.
(init_procfs_ops): Don't install a deprecated_xfer_memory hook.
Install a to_xfer_partial hook.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a1583b1fd9aee80f886e8cdd90e1c7e27c5cbbc7
commit a1583b1fd9aee80f886e8cdd90e1c7e27c5cbbc7
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:03 2014 +0000
remote-m32r-sdi.c: Don't install a deprecated_xfer_memory method
This removes yet another instance of a deprecated_xfer_memory user.
Tested by building a --enable-targets=all gdb, on x86-64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
(m32r_xfer_memory): Adjust as a to_xfer_partial helper.
(m32r_xfer_partial): New function.
(init_m32r_ops): Don't install a deprecated_xfer_memory hook.
Install a to_xfer_partial hook.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6df1b29f02837669d68b8f153b189502e798a302
commit 6df1b29f02837669d68b8f153b189502e798a302
Author: Pedro Alves <palves@redhat.com>
Date: Wed Feb 26 14:36:03 2014 +0000
remote-mips.c: Don't install a deprecated_xfer_memory method
This removes another yet instance of a deprecated_xfer_memory user.
Tested by building a --enable-targets=all gdb, on x86-64 Fedora 17.
gdb/
2014-02-26 Pedro Alves <palves@redhat.com>
* remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
helper.
(mips_xfer_partial): New function.
(_initialize_remote_mips): Don't install a deprecated_xfer_memory
hook. Install a to_xfer_partial hook.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 50 ++++++++++++++++++++
gdb/bsd-uthread.c | 16 ------
gdb/go32-nat.c | 75 ++++++++++++++++++++++--------
gdb/nto-procfs.c | 58 ++++++++++++++----------
gdb/remote-m32r-sdi.c | 60 +++++++++++++++++-------
gdb/remote-mips.c | 65 ++++++++++++++++----------
gdb/target.c | 122 -------------------------------------------------
gdb/target.h | 26 ----------
8 files changed, 222 insertions(+), 250 deletions(-)
hooks/post-receive
--
gdb and binutils