public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/18984] New: gdb.solib_name doesn't convert to address properly
@ 2015-09-19 23:44 tromey at sourceware dot org
  2015-09-19 23:45 ` [Bug python/18984] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: tromey at sourceware dot org @ 2015-09-19 23:44 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug python/18984] gdb.solib_name doesn't convert to address properly
  2015-09-19 23:44 [Bug python/18984] New: gdb.solib_name doesn't convert to address properly tromey at sourceware dot org
@ 2015-09-19 23:45 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2015-09-19 23:45 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Err, GDB_PY_LLU_ARG that is.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-19 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-19 23:44 [Bug python/18984] New: gdb.solib_name doesn't convert to address properly tromey at sourceware dot org
2015-09-19 23:45 ` [Bug python/18984] " tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).