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. fb0576e98388c6f4585b94684cea8d18c97a91aa


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  fb0576e98388c6f4585b94684cea8d18c97a91aa (commit)
      from  376c8d5bbb7e31987e363ee4c481ae8ff5015a77 (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=fb0576e98388c6f4585b94684cea8d18c97a91aa

commit fb0576e98388c6f4585b94684cea8d18c97a91aa
Author: Doug Evans <dje@google.com>
Date:   Thu Aug 28 11:38:22 2014 -0700

    Rewrite {amd64,i386}-pseudo.c to better specify register liveness.
    
    clang was using eax to construct %0 here:
    
      asm ("mov %%eax, 0(%0)\n\t"
           "mov %%ebx, 4(%0)\n\t"
           "mov %%ecx, 8(%0)\n\t"
           "mov %%edx, 12(%0)\n\t"
           "mov %%esi, 16(%0)\n\t"
           "mov %%edi, 20(%0)\n\t"
           : /* no output operands */
           : "r" (data)
           : "eax", "ebx", "ecx", "edx", "esi", "edi");
    
    which caused amd64-word.exp (and others similarly) to fail.
    It's a perfectly legit thing for clang to do given the available data.
    The patch fixes this by marking the registers as live from the
    time of the preceding breakpoint.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
    	eax,etc. are live with values set by gdb and thus the compiler can't
    	use them.
    	* gdb.arch/i386-pseudo.c (main): Ditto.

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

Summary of changes:
 gdb/testsuite/ChangeLog               |    7 ++++
 gdb/testsuite/gdb.arch/amd64-pseudo.c |   57 +++++++++++++++++++++-----------
 gdb/testsuite/gdb.arch/i386-pseudo.c  |   18 +++++++++--
 3 files changed, 59 insertions(+), 23 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]