gdb: make target_is_non_stop_p return bool

gdb/ChangeLog:

	* target.c (target_is_non_stop_p): Return bool.
	* target.h (target_is_non_stop_p): Return bool.

Change-Id: Icdb37ffe917798e59b822976794d4b1b7aafd709
This commit is contained in:
Simon Marchi
2021-02-04 15:45:20 -05:00
parent 3eccb1c8bf
commit 6ff267e186
3 changed files with 8 additions and 3 deletions

View File

@ -3729,8 +3729,8 @@ target_always_non_stop_p (void)
/* See target.h. */
int
target_is_non_stop_p (void)
bool
target_is_non_stop_p ()
{
return (non_stop
|| target_non_stop_enabled == AUTO_BOOLEAN_TRUE