mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-10 09:59:06 +08:00
gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods. Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
This commit is contained in:

committed by
Simon Marchi

parent
4b8791e10e
commit
6c00f721c8
@ -130,7 +130,7 @@ blpy_get_function (PyObject *self, void *closure)
|
||||
|
||||
BLPY_REQUIRE_VALID (self, block);
|
||||
|
||||
sym = BLOCK_FUNCTION (block);
|
||||
sym = block->function ();
|
||||
if (sym)
|
||||
return symbol_to_symbol_object (sym);
|
||||
|
||||
|
Reference in New Issue
Block a user