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/ax-gdb.c | |
parent | 086d03c91ec1487ed3cc96554d29b2120dd37b5b (diff) | |
download | fsf-binutils-gdb-6395b62847e581acc3e8fa179444b824d17b3d68.zip fsf-binutils-gdb-6395b62847e581acc3e8fa179444b824d17b3d68.tar.gz fsf-binutils-gdb-6395b62847e581acc3e8fa179444b824d17b3d68.tar.bz2 |
gdb: remove BLOCK_ENTRY_PC macro
Replace with equivalent method.
Change-Id: I0e033095e7358799930775e61028b48246971a7d
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index e2e311f..f8ea8ad 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -571,7 +571,7 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var) break; case LOC_BLOCK: - ax_const_l (ax, BLOCK_ENTRY_PC (var->value_block ())); + ax_const_l (ax, var->value_block ()->entry_pc ()); value->kind = axs_rvalue; break; |