diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-11-05 04:52:39 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-11-17 20:03:05 +0000 |
commit | 413366203156a0483d06a97b3f02b64ba6a215cc (patch) | |
tree | 878c8c37a12cf14f063863b4e192ef8fc3bab764 /gdb/top.c | |
parent | 9c742269ec8507d924d7a0c815155ca5aa21467a (diff) | |
download | gdb-413366203156a0483d06a97b3f02b64ba6a215cc.zip gdb-413366203156a0483d06a97b3f02b64ba6a215cc.tar.gz gdb-413366203156a0483d06a97b3f02b64ba6a215cc.tar.bz2 |
gdb: pass address_space to target dcache functions
A simple refactor to make the reference to current_program_space bubble
up one level. No behavior changes expected.
Change-Id: I237cf2f45ae73c35bcb433ce40e3c03cef6b87e2
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ prepare_execute_command () it. For the duration of the command, though, use the dcache to help things like backtrace. */ if (non_stop) - target_dcache_invalidate (); + target_dcache_invalidate (current_program_space->aspace); return scoped_value_mark (); } |