aboutsummaryrefslogtreecommitdiff
path: root/gdb/record-btrace.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-07 18:26:06 -0700
committerTom Tromey <tom@tromey.com>2023-03-11 08:48:29 -0700
commitddc6677b170be399dfcc7d81325870ff022ba875 (patch)
tree1152a15de8b893033b69ee48da454a25c58a3f1a /gdb/record-btrace.c
parent82c5090c61ed2a4a6cd37e575ae66323e0a837f7 (diff)
downloadgdb-ddc6677b170be399dfcc7d81325870ff022ba875.zip
gdb-ddc6677b170be399dfcc7d81325870ff022ba875.tar.gz
gdb-ddc6677b170be399dfcc7d81325870ff022ba875.tar.bz2
Change linetable_entry::is_stmt to bool
This changes linetable_entry::is_stmt to type bool, rather than unsigned. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/record-btrace.c')
-rw-r--r--gdb/record-btrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/record-btrace.c b/gdb/record-btrace.c
index 5b6e33f..3e71c6c 100644
--- a/gdb/record-btrace.c
+++ b/gdb/record-btrace.c
@@ -738,7 +738,7 @@ btrace_find_line_range (CORE_ADDR pc)
change was made I was unsure how to test this so chose to go with
maintaining the existing experience. */
if ((lines[i].raw_pc () == pc) && (lines[i].line != 0)
- && (lines[i].is_stmt == 1))
+ && lines[i].is_stmt)
range = btrace_line_range_add (range, lines[i].line);
}