umoven_or_printaddr: do not fetch data if not in verbose mode
After this change, umoven_or_printaddr and its callers, including printnum_* and printpair_*, will not fetch data in !verbose mode. * util.c (umoven_or_printaddr): Do not call umoven if !verbose.
This commit is contained in:
parent
850ba4b1e9
commit
61b7989a01
2
util.c
2
util.c
@ -1102,7 +1102,7 @@ umoven_or_printaddr(struct tcb *tcp, const long addr, const unsigned int len,
|
||||
tprints("NULL");
|
||||
return -1;
|
||||
}
|
||||
if ((exiting(tcp) && syserror(tcp)) ||
|
||||
if (!verbose(tcp) || (exiting(tcp) && syserror(tcp)) ||
|
||||
umoven(tcp, addr, len, our_addr) < 0) {
|
||||
tprintf("%#lx", addr);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user