diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-28 10:59:38 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:02 -0400 |
commit | 4b8791e10e574d3279e6783b58556893b0c92853 (patch) | |
tree | e348e10e55388797f1bb53f3b6ae5cc990f1d223 /gdb/python/py-block.c | |
parent | dfb138f9344ca671e7e16fffe36779d38d18c490 (diff) | |
download | binutils-gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.gz |
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods.
Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
Diffstat (limited to 'gdb/python/py-block.c')
-rw-r--r-- | gdb/python/py-block.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-block.c b/gdb/python/py-block.c index cf543c79484..aa8f3df7af9 100644 --- a/gdb/python/py-block.c +++ b/gdb/python/py-block.c @@ -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 * |