diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-09 06:55:48 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:20 -0700 |
commit | 736355f2e186a6a5275cac26d9486a5cc28f755c (patch) | |
tree | 5a528ef4fc5572a7f05b366624faa4905bde41b1 /gdb/infcall.c | |
parent | 6f9c9d71c2420e9bc6825cef59a922f5fb863e1a (diff) | |
download | fsf-binutils-gdb-736355f2e186a6a5275cac26d9486a5cc28f755c.zip fsf-binutils-gdb-736355f2e186a6a5275cac26d9486a5cc28f755c.tar.gz fsf-binutils-gdb-736355f2e186a6a5275cac26d9486a5cc28f755c.tar.bz2 |
Remove deprecated_lval_hack
This removes deprecated_lval_hack and the VALUE_LVAL macro, replacing
all uses with a call to value::lval.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 81a073d..9ed17bf 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -343,7 +343,7 @@ find_function_addr (struct value *function, int found_descriptor = 0; funaddr = 0; /* pacify "gcc -Werror" */ - if (VALUE_LVAL (function) == lval_memory) + if (function->lval () == lval_memory) { CORE_ADDR nfunaddr; |