Fix PR python/18984
authorTom Tromey <tom@tromey.com>
Sat, 19 Sep 2015 23:45:47 +0000 (17:45 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 2 Jun 2016 19:18:42 +0000 (13:18 -0600)
commit1b40ec0559f4b24ccdf6b073610c526c4aa33c4d
treeb9ef31e8cc53d502afbba67d7e1582b1d694bdb6
parent99914dfd71d74bc700bb6d15647895ac0c8cc8e1
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.
gdb/ChangeLog
gdb/python/python.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-shared.exp