[pushed] Make bpstat_what::is_longjmp a bool
Commit Message
gdb/ChangeLog:
* breakpoint.h (struct bpstat_what) <is_longjmp>: Change type to
bool.
(bpstat_what): Use false instead of 0.
---
gdb/ChangeLog | 6 ++++++
gdb/breakpoint.c | 2 +-
gdb/breakpoint.h | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
@@ -1,3 +1,9 @@
+2019-07-09 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * breakpoint.h (struct bpstat_what) <is_longjmp>: Change type to
+ bool.
+ (bpstat_what): Use false instead of 0.
+
2019-07-09 Pedro Alves <palves@redhat.com>
* break-catch-throw.c (is_exception_catchpoint): New.
@@ -5491,7 +5491,7 @@ bpstat_what (bpstat bs_head)
retval.main_action = BPSTAT_WHAT_KEEP_CHECKING;
retval.call_dummy = STOP_NONE;
- retval.is_longjmp = 0;
+ retval.is_longjmp = false;
for (bs = bs_head; bs != NULL; bs = bs->next)
{
@@ -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. */