mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
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:
@ -1,3 +1,8 @@
|
||||
2021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* target.c (target_is_non_stop_p): Return bool.
|
||||
* target.h (target_is_non_stop_p): Return bool.
|
||||
|
||||
2021-02-04 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* record-full.c (record_full_async_inferior_event_handler):
|
||||
|
@ -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
|
||||
|
@ -1873,7 +1873,7 @@ extern enum auto_boolean target_non_stop_enabled;
|
||||
/* Is the target in non-stop mode? Some targets control the inferior
|
||||
in non-stop mode even with "set non-stop off". Always true if "set
|
||||
non-stop" is on. */
|
||||
extern int target_is_non_stop_p (void);
|
||||
extern bool target_is_non_stop_p ();
|
||||
|
||||
/* Return true if at least one inferior has a non-stop target. */
|
||||
extern bool exists_non_stop_target ();
|
||||
|
Reference in New Issue
Block a user