diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 10:17:10 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | 4b53ca88831137e94a6882f224d755a2d32ab8ef (patch) | |
tree | d4a4f240db65c78ba1729fa68c01abe082b01114 /gdb/ppc-linux-nat.c | |
parent | 76675c4d0bc454ed1ae369f98ad848754d0e81a0 (diff) | |
download | gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.zip gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.tar.gz gdb-4b53ca88831137e94a6882f224d755a2d32ab8ef.tar.bz2 |
Turn deprecated_value_modifiable into method
This changes deprecated_value_modifiable to be a method of value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r-- | gdb/ppc-linux-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index cb83272..a796364 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -2455,7 +2455,7 @@ ppc_linux_nat_target::num_memory_accesses (const std::vector<value_ref_ptr> struct value *v = iter.get (); /* Constants and values from the history are fine. */ - if (VALUE_LVAL (v) == not_lval || deprecated_value_modifiable (v) == 0) + if (VALUE_LVAL (v) == not_lval || v->->deprecated_modifiable () == 0) continue; else if (VALUE_LVAL (v) == lval_memory) { |