This is the mail archive of the gdb-prs@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]

[Bug python/18984] gdb.solib_name doesn't convert to address properly


https://sourceware.org/bugzilla/show_bug.cgi?id=18984

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1b40ec0559f4b24ccdf6b073610c526c4aa33c4d

commit 1b40ec0559f4b24ccdf6b073610c526c4aa33c4d
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Sep 19 17:45:47 2015 -0600

    Fix PR python/18984

    This fixes PR python/18984.

    The bug is that gdbpy_solib_name uses GDB_PY_LL_ARG, whereas it should
    use GDB_PY_LLU_ARG to avoid overflow.

    Built and tested on x86-64 Fedora 23.

    2016-06-02  Tom Tromey  <tom@tromey.com>

        PR python/18984:
        * python/python.c (gdbpy_solib_name): Use GDB_PY_LLU_ARG.

    2016-06-02  Tom Tromey  <tom@tromey.com>

        PR python/18984:
        * gdb.python/py-shared.exp: Add solib_name test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]