From 6395b62847e581acc3e8fa179444b824d17b3d68 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sun, 6 Feb 2022 22:41:58 -0500 Subject: gdb: remove BLOCK_ENTRY_PC macro Replace with equivalent method. Change-Id: I0e033095e7358799930775e61028b48246971a7d --- gdb/compile/compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/compile/compile.c') diff --git a/gdb/compile/compile.c b/gdb/compile/compile.c index 5cbb341..1c3a618 100644 --- a/gdb/compile/compile.c +++ b/gdb/compile/compile.c @@ -487,10 +487,10 @@ get_expr_block_and_pc (CORE_ADDR *pc) block = BLOCKVECTOR_BLOCK (cursal.symtab->compunit ()->blockvector (), STATIC_BLOCK); if (block != NULL) - *pc = BLOCK_ENTRY_PC (block); + *pc = block->entry_pc (); } else - *pc = BLOCK_ENTRY_PC (block); + *pc = block->entry_pc (); return block; } -- cgit v1.1