This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. e96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8


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  e96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8 (commit)
      from  0837c976950e347cc48a1c55c6c8d60fc710c168 (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=e96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8

commit e96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 19 20:29:31 2014 +0000

    procfs.c: Don't install a deprecated_xfer_memory method
    
    This removes yet another instance of a deprecated_xfer_memory user,
    and fixes a nasty regression as a side-effect:
    
        (gdb) start
        Temporary breakpoint 1 at 0x19070: file simple_main.adb, line 4.
        Starting program: /[...]/simple_main
        Warning:
        Cannot insert breakpoint 1.
        Cannot access memory at address 0x19070
        Cannot insert breakpoint -3.
        Temporarily disabling shared library breakpoints:
        breakpoint #-3
    
    The regression was introduced by the to_xfer_partial transition
    to return a status enum.  procfs_xfer_partial was updated but
    not the case where object is TARGET_OBJECT_MEMORY.  As result,
    procfs_xfer_partial was returning the length xfered rather than
    the status, and the xfered buffer was left uninitialized.
    
    gdb/
    2014-02-19  Pedro Alves  <palves@redhat.com>
    
    	* procfs.c (procfs_target): Don't install procfs_xfer_memory as
    	deprecated_xfer_memory hook.
    	(procfs_xfer_partial): Call procfs_xfer_memory instead
    	of the deprecated_xfer_memory target hook.
    	(procfs_xfer_memory): Adjust interface as a to_xfer_partial
    	helper.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog |    9 +++++++
 gdb/procfs.c  |   73 +++++++++++++++++++++------------------------------------
 2 files changed, 36 insertions(+), 46 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]