aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-11-05 04:52:39 +0000
committerSimon Marchi <simon.marchi@efficios.com>2023-11-17 20:03:05 +0000
commit413366203156a0483d06a97b3f02b64ba6a215cc (patch)
tree878c8c37a12cf14f063863b4e192ef8fc3bab764 /gdb/top.c
parent9c742269ec8507d924d7a0c815155ca5aa21467a (diff)
downloadgdb-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 5028440..d211f1b 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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 ();
}