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. 10e79639cc08c050b8fa97c0a5af102683a11e3c


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  10e79639cc08c050b8fa97c0a5af102683a11e3c (commit)
      from  e87e47787eb22622ddd9e07b561486e1c0e8cbf8 (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=10e79639cc08c050b8fa97c0a5af102683a11e3c

commit 10e79639cc08c050b8fa97c0a5af102683a11e3c
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Nov 28 11:21:48 2014 +0800

    Match library name prefixed with sysroot
    
    We enable systemtap probe in glibc recently, and see the following gdb fail,
    
    (gdb) set solib-absolute-prefix /.
    ...
    Stopped due to shared library event:^M
      Inferior loaded /./foo/bar/gdb.base/break-probes-solib.so
    ...
    (gdb) FAIL: gdb.base/break-probes.exp: run til our library loads (the program exited)
    
    $binfile_lib is /foo/bar/gdb.base/break-probes-solib.so, but the
    sysroot is prefixed in solib.c:solib_find, as comments described:
    
       Global variable GDB_SYSROOT is used as a prefix directory
       to search for shared libraries if they have an absolute path.
    
    so the output becomes "/./foo/bar/gdb.base/break-probes-solib.so", which
    is still correct.  However, the test repeatedly continue the program
    and tries to match $binfile_lib, finally, the program exits and the
    test fails.
    
    This patch is to adjust the pattern to match $sysroot$binfile_lib
    instead of $binfile_lib.
    
    gdb/testsuite:
    
    2014-11-28  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.base/break-probes.exp: Match library name prefixed with
    	sysroot.

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

Summary of changes:
 gdb/testsuite/ChangeLog                 |    5 +++++
 gdb/testsuite/gdb.base/break-probes.exp |   10 +++++++++-
 2 files changed, 14 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]