aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2019-07-09 21:20:16 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2019-07-09 21:20:16 -0400
commite2d0f9803e3054b05c2de716f3c928e510009436 (patch)
tree3d7a8094816599836e55c3f6b3d6ad2526e190da /gdb/breakpoint.h
parenteb6ad40f244ea6dedca1440b0ce3d89c1ecdac0c (diff)
downloadgdb-e2d0f9803e3054b05c2de716f3c928e510009436.zip
gdb-e2d0f9803e3054b05c2de716f3c928e510009436.tar.gz
gdb-e2d0f9803e3054b05c2de716f3c928e510009436.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index e25acfa..40834ef 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -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. */