mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-15 22:04:48 +08:00
Turn record_latest_value into a method
record_latest_value now access some internals of struct value, so turn it into a method. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -1959,7 +1959,7 @@ gdbpy_add_history (PyObject *self, PyObject *args)
|
||||
|
||||
try
|
||||
{
|
||||
int idx = record_latest_value (value);
|
||||
int idx = value->record_latest ();
|
||||
return gdb_py_object_from_longest (idx).release ();
|
||||
}
|
||||
catch (const gdb_exception &except)
|
||||
|
Reference in New Issue
Block a user