target-i386: Make check_hw_breakpoints static
The function is now only used from within a single file. Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
ba4b5c65a9
commit
dd941cdcfe
@ -79,7 +79,7 @@ void hw_breakpoint_remove(CPUX86State *env, int index)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update)
|
static bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update)
|
||||||
{
|
{
|
||||||
target_ulong dr6;
|
target_ulong dr6;
|
||||||
int reg;
|
int reg;
|
||||||
|
@ -1154,7 +1154,6 @@ static inline int hw_breakpoint_len(unsigned long dr7, int index)
|
|||||||
|
|
||||||
void hw_breakpoint_insert(CPUX86State *env, int index);
|
void hw_breakpoint_insert(CPUX86State *env, int index);
|
||||||
void hw_breakpoint_remove(CPUX86State *env, int index);
|
void hw_breakpoint_remove(CPUX86State *env, int index);
|
||||||
bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update);
|
|
||||||
void breakpoint_handler(CPUState *cs);
|
void breakpoint_handler(CPUState *cs);
|
||||||
|
|
||||||
/* will be suppressed */
|
/* will be suppressed */
|
||||||
|
Loading…
Reference in New Issue
Block a user