Skip to content

Commit

Permalink
accel/hvf: Un-inline hvf_arch_supports_guest_debug()
Browse files Browse the repository at this point in the history
See previous commit and commit 9de9fa5 ("Avoid using inlined
functions with external linkage") for rationale.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240313184954.42513-3-philmd@linaro.org>
  • Loading branch information
philmd committed Apr 2, 2024
1 parent 0b796f3 commit d6fd5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion target/arm/hvf/hvf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ void hvf_arch_update_guest_debug(CPUState *cpu)
hvf_arch_set_traps();
}

inline bool hvf_arch_supports_guest_debug(void)
bool hvf_arch_supports_guest_debug(void)
{
return true;
}
2 changes: 1 addition & 1 deletion target/i386/hvf/hvf.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ void hvf_arch_update_guest_debug(CPUState *cpu)
{
}

inline bool hvf_arch_supports_guest_debug(void)
bool hvf_arch_supports_guest_debug(void)
{
return false;
}

0 comments on commit d6fd5d8

Please sign in to comment.