aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-mdebug-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 10:59:38 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:02 -0400
commit4b8791e10e574d3279e6783b58556893b0c92853 (patch)
treee348e10e55388797f1bb53f3b6ae5cc990f1d223 /gdb/alpha-mdebug-tdep.c
parentdfb138f9344ca671e7e16fffe36779d38d18c490 (diff)
downloadgdb-4b8791e10e574d3279e6783b58556893b0c92853.zip
gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.gz
gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.bz2
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
Diffstat (limited to 'gdb/alpha-mdebug-tdep.c')
-rw-r--r--gdb/alpha-mdebug-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index a8b4bcb..10169c7 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -102,7 +102,7 @@ find_proc_desc (CORE_ADDR pc)
CORE_ADDR startaddr;
find_pc_partial_function (pc, &sh_name, &startaddr, NULL);
- if (startaddr > BLOCK_START (b))
+ if (startaddr > b->start ())
/* This is the "pathological" case referred to in a comment in
print_frame_info. It might be better to move this check into
symbol reading. */