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. 6bf045cd32d07ae55d7eec8ff94bd937c6bb2bce


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  6bf045cd32d07ae55d7eec8ff94bd937c6bb2bce (commit)
      from  c6e8e93a865d429546037cf5746502aa253a1f2d (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=6bf045cd32d07ae55d7eec8ff94bd937c6bb2bce

commit 6bf045cd32d07ae55d7eec8ff94bd937c6bb2bce
Author: Patrick Palka <patrick@parcs.ath.cx>
Date:   Sun Nov 30 11:47:16 2014 -0500

    Don't munge yacc's #line directives
    
    The #line directives within GDB's autogenerated yacc files (e.g.
    c-exp.c) are being incorrectly munged, causing these directives to refer
    to nonexistent source files, e.g.
    
     #line 36 "/home/patrick/binutils-gdb/gdb//home/patrick/binutils-gdb/gdb/c-exp.y"
    
    as opposed to
    
      #line 36 "/home/patrick/binutils-gdb/gdb/c-exp.y"
    
    The munging happens due to a sed expression added by commit 954d8cae
    whose intended purpose[1] was to work around the fact that ylwrap emitted #line
    directives without any directory information, e.g.
    
      #line 36 "c-exp.y"
    
    So the sed expression was meant to munge such directives to refer to
    absolute paths instead.  But the behavior of ylwrap was changed some
    years ago[2] to emit absolute paths within #line directives.  And when
    our local copy of ylwrap was synced by commit e30465112, the sed
    expression in question became unnecessary, and indeed harmful.
    
    This patch removes the now-obsolete sed expression.  The emitted #line
    directives are now correct without it.
    
    gdb/ChangeLog:
    
    	* Makefile.in (.y.c): Don't munge yacc's #line
    	directives.
    
    [1]: https://sourceware.org/ml/gdb-patches/2010-11/msg00265.html
    [2]: http://git.savannah.gnu.org/cgit/automake.git/commit/lib/ylwrap?id=b6359a5f3

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

Summary of changes:
 gdb/ChangeLog   |    5 +++++
 gdb/Makefile.in |    1 -
 2 files changed, 5 insertions(+), 1 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]