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] New: gdb.solib_name doesn't convert to address properly


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

            Bug ID: 18984
           Summary: gdb.solib_name doesn't convert to address properly
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

This is a reduced version of a bug I encountered in real code:

bapiya. gdb -nx -batch -ex 'python print gdb.solib_name(0xffffffffffffffff)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OverflowError: long too big to convert
Error while executing Python code.


I think gdbpy_solib_name should use gdb_py_ulongest
and GDB_PY_LLU.

-- 
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]