From 413366203156a0483d06a97b3f02b64ba6a215cc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sun, 5 Nov 2023 04:52:39 +0000 Subject: 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 --- gdb/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/top.c') 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 (); } -- cgit v1.1