From 4b8791e10e574d3279e6783b58556893b0c92853 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Fri, 28 Jan 2022 10:59:38 -0500 Subject: gdb: remove BLOCK_{START,END} macros Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310 --- gdb/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/frame.c') diff --git a/gdb/frame.c b/gdb/frame.c index 5e3c02e..ae45e22 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -2432,7 +2432,7 @@ inside_main_func (frame_info *this_frame) const struct block *block = bs.symbol->value_block (); gdb_assert (block != nullptr); - sym_addr = BLOCK_START (block); + sym_addr = block->start (); } else sym_addr = msymbol.value_address (); -- cgit v1.1