* python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
address as UnsignedLongLong, not LongLong.
This commit is contained in:
parent
8eeafb51ab
commit
aab48ede09
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-03-05 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
|
||||||
|
address as UnsignedLongLong, not LongLong.
|
||||||
|
|
||||||
2010-03-05 Kevin Buettner <kevinb@redhat.com>
|
2010-03-05 Kevin Buettner <kevinb@redhat.com>
|
||||||
Pedro Alves <pedro@codesourcery.com>
|
Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ gdbpy_extract_lazy_string (PyObject *string, struct type **str_type,
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
*length = PyLong_AsLong (py_len);
|
*length = PyLong_AsLong (py_len);
|
||||||
addr = PyLong_AsLongLong (py_addr);
|
addr = PyLong_AsUnsignedLongLong (py_addr);
|
||||||
|
|
||||||
/* If the user supplies Py_None an encoding, set encoding to NULL.
|
/* If the user supplies Py_None an encoding, set encoding to NULL.
|
||||||
This will trigger the resulting LA_PRINT_CALL to automatically
|
This will trigger the resulting LA_PRINT_CALL to automatically
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue