mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-23 18:26:47 +08:00
* python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
address as UnsignedLongLong, not LongLong.
This commit is contained in:
@ -187,7 +187,7 @@ gdbpy_extract_lazy_string (PyObject *string, struct type **str_type,
|
||||
goto error;
|
||||
|
||||
*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.
|
||||
This will trigger the resulting LA_PRINT_CALL to automatically
|
||||
|
Reference in New Issue
Block a user