Description of problem: gdb.solib_address can't be used Version-Release number of selected component (if applicable): gdb-7.2-4.fc14.i686 How reproducible: Always Steps to Reproduce: 1. gdb 2. python 3. print dir(gdb) 4. end 5. q Actual results: $ gdb (gdb) python >print dir(gdb) >end [[...], 'selected_thread', 'solib_address (Long) -> String.\nReturn the name of the shared library holding a given address, or None.', 'string_to_argv', [...]] (gdb) q Expected results: gdb (gdb) python >print dir(gdb) >end [[...], 'selected_thread', 'solib_address', 'string_to_argv', [...]] (gdb) q Additional info: 0) The entry for solib_address in GdbMethods[] is clearly incorrect. That entry can be traced back to gdb-archer.patch: $ grep -rInsE solib_address SOURCES/gdb* SOURCES/gdb-archer.patch:8874:+ lib = gdb.solib_address (pc) SOURCES/gdb-archer.patch:10373:+/* Implementation of gdb.solib_address (Long) -> String. SOURCES/gdb-archer.patch:10377:+gdbpy_solib_address (PyObject *self, PyObject *args) SOURCES/gdb-archer.patch:10665:+ { "solib_address (Long) -> String.\n\ 1) Also note that gdbpy_solib_address() is now unused. 2) This could be trivial to patch. However, current gdb master uses gdb.solib_name() and gdbpy_solib_name() so it is not clear to me how to proceed here.
gdb-7.2-6.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/gdb-7.2-6.fc14
gdb-7.2-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.