diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 22:41:58 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-27 22:05:03 -0400 |
commit | 6395b62847e581acc3e8fa179444b824d17b3d68 (patch) | |
tree | e6ac20292c6824c192a09d04ce34cc6d3c0800f0 /gdb/infrun.c | |
parent | 086d03c91ec1487ed3cc96554d29b2120dd37b5b (diff) | |
download | gdb-6395b62847e581acc3e8fa179444b824d17b3d68.zip gdb-6395b62847e581acc3e8fa179444b824d17b3d68.tar.gz gdb-6395b62847e581acc3e8fa179444b824d17b3d68.tar.bz2 |
gdb: remove BLOCK_ENTRY_PC macro
Replace with equivalent method.
Change-Id: I0e033095e7358799930775e61028b48246971a7d
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index e0a5bde..acefd4f 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -4687,8 +4687,8 @@ fill_in_stop_func (struct gdbarch *gdbarch, stop_func_start is NOT advanced when in a range of a non-contiguous block that does not contain the entry pc. */ if (block != nullptr - && ecs->stop_func_start <= BLOCK_ENTRY_PC (block) - && BLOCK_ENTRY_PC (block) < ecs->stop_func_end) + && ecs->stop_func_start <= block->entry_pc () + && block->entry_pc () < ecs->stop_func_end) { ecs->stop_func_start += gdbarch_deprecated_function_start_offset (gdbarch); |