gdb and binutils branch master updated. 57745c903f78ffdb10a6198a6e35e5a1e63ea4b0

palves@sourceware.org palves@sourceware.org
Tue Jul 15 15:31:00 GMT 2014


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  57745c903f78ffdb10a6198a6e35e5a1e63ea4b0 (commit)
      from  2d40be181fad7aed4aeabafd36529f3684b8bcab (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=57745c903f78ffdb10a6198a6e35e5a1e63ea4b0

commit 57745c903f78ffdb10a6198a6e35e5a1e63ea4b0
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Jul 15 16:22:14 2014 +0100

    [GDB/Linux] Avoid stale errno
    
    The fix that went into GDBserver is also needed on the GDB side.
    
    Although most compilers follow right-to-left evaluation order, the
    order of evaluation of a function call's arguments is really
    unspecified.  target_pid_to_str may well clobber errno when we get to
    evaluate the third argument to fprintf_unfiltered.
    
    gdb/
    2014-07-15  Pedro Alves  <palves@redhat.com>
    
    	* linux-nat.c (kill_callback): Save errno and work with saved
    	copy.

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

Summary of changes:
 gdb/ChangeLog   |    5 +++++
 gdb/linux-nat.c |   24 ++++++++++++++++--------
 2 files changed, 21 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gdb and binutils



More information about the Gdb-cvs mailing list