mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-10 18:28:27 +08:00
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
This commit is contained in:

committed by
Simon Marchi

parent
dfb138f934
commit
4b8791e10e
@ -109,7 +109,7 @@ blpy_get_start (PyObject *self, void *closure)
|
||||
|
||||
BLPY_REQUIRE_VALID (self, block);
|
||||
|
||||
return gdb_py_object_from_ulongest (BLOCK_START (block)).release ();
|
||||
return gdb_py_object_from_ulongest (block->start ()).release ();
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
@ -119,7 +119,7 @@ blpy_get_end (PyObject *self, void *closure)
|
||||
|
||||
BLPY_REQUIRE_VALID (self, block);
|
||||
|
||||
return gdb_py_object_from_ulongest (BLOCK_END (block)).release ();
|
||||
return gdb_py_object_from_ulongest (block->end ()).release ();
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
Reference in New Issue
Block a user