Comment 1 for bug 1513922

Revision history for this message
Julian Taylor (jtaylor) wrote : Re: [xenial] backtrace gives python error

can't reproduce from an amd64 kernel, though this patch might be worth a try

--- gdb-7.10.orig/gdb/python/py-framefilter.c
+++ gdb-7.10/gdb/python/py-framefilter.c
@@ -1111,7 +1111,7 @@ py_print_frame (PyObject *filter, int fl

          if (paddr != Py_None)
            {
- address = PyLong_AsLong (paddr);
+ address = PyLong_AsUnsignedLongLong (paddr);
              has_addr = 1;
            }
          Py_DECREF (paddr);