diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-14 09:34:53 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-15 15:07:07 -0700 |
commit | b2227e67b4bdee65b1240f725dd2ea214178d984 (patch) | |
tree | 7dbe02ca21d39eb917fcbf74771113914a4e1fd6 /gdb/ppc-linux-nat.c | |
parent | 141cd158423a5ee248245fb2075fd2e5a580cff2 (diff) | |
download | gdb-b2227e67b4bdee65b1240f725dd2ea214178d984.zip gdb-b2227e67b4bdee65b1240f725dd2ea214178d984.tar.gz gdb-b2227e67b4bdee65b1240f725dd2ea214178d984.tar.bz2 |
Change value::m_modifiable to bool
This changes value::m_modifiable to be a bool and updates the various
uses.
Reviewed-By: Bruno Larsen <blarsen@redhat.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 32c0177..494e9bf 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 (v->lval () == not_lval || v->deprecated_modifiable () == 0) + if (v->lval () == not_lval || !v->deprecated_modifiable ()) continue; else if (v->lval () == lval_memory) { |