Make bpstat_what::is_longjmp a bool

gdb/ChangeLog:

	* breakpoint.h (struct bpstat_what) <is_longjmp>: Change type to
	bool.
	(bpstat_what): Use false instead of 0.
This commit is contained in:
Simon Marchi
2019-07-09 21:20:16 -04:00
parent eb6ad40f24
commit e2d0f9803e
3 changed files with 8 additions and 2 deletions

View File

@@ -1048,7 +1048,7 @@ struct bpstat_what
/* Used for BPSTAT_WHAT_SET_LONGJMP_RESUME and
BPSTAT_WHAT_CLEAR_LONGJMP_RESUME. True if we are handling a
longjmp, false if we are handling an exception. */
int is_longjmp;
bool is_longjmp;
};
/* Tell what to do about this bpstat. */