aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-02-06 22:41:58 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commit6395b62847e581acc3e8fa179444b824d17b3d68 (patch)
treee6ac20292c6824c192a09d04ce34cc6d3c0800f0 /gdb/value.c
parent086d03c91ec1487ed3cc96554d29b2120dd37b5b (diff)
downloadgdb-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/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 08cccf7..022fca9 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -3184,7 +3184,7 @@ value_fn_field (struct value **arg1p, struct fn_field *f,
VALUE_LVAL (v) = lval_memory;
if (sym)
{
- set_value_address (v, BLOCK_ENTRY_PC (sym->value_block ()));
+ set_value_address (v, sym->value_block ()->entry_pc ());
}
else
{