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. 0569175e8e1820bb83569799c8d6dcbdf502c586


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  0569175e8e1820bb83569799c8d6dcbdf502c586 (commit)
      from  04abef86aa0dfd9c34d64593a5733be2eff8d8fa (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=0569175e8e1820bb83569799c8d6dcbdf502c586

commit 0569175e8e1820bb83569799c8d6dcbdf502c586
Author: Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
Date:   Fri Nov 1 11:41:37 2013 -0500

    breakpoint.c: fix libc probe scan when no get_longjmp_target exists.
    
    As discussed on the GDB ML[1], libc probes for longjmp were not being
    loaded if a custom <arch>_get_longjmp_target function was not
    implemented.
    
    This is trivially fixed by moving the 'if (!gdbarch_get_longjmp_target_p
    (gdbarch))' down, just bellow libc probe code and above the per-objfile
    cache lookup.
    
    While the condition could also be removed altogether with no
    side-effects, it is in fact an optimization to avoid searching for
    symbols if the arch doesn't provide support for get_longjmp_target().
    
    This has been tested on PPC and PPC64.
    
    [1] https://sourceware.org/ml/gdb/2013-10/msg00191.html
    
    gdb/
    2013-11-01  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
    
            * breakpoint.c (create_longjmp_master_breakpoint): Allow libc
            probe scan even when the arch provides no get_longjmp_target.

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

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