aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.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/jit.c
parent82c5090c61ed2a4a6cd37e575ae66323e0a837f7 (diff)
downloadbinutils-ddc6677b170be399dfcc7d81325870ff022ba875.zip
binutils-ddc6677b170be399dfcc7d81325870ff022ba875.tar.gz
binutils-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/jit.c')
-rw-r--r--gdb/jit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index eb2e8ad..a93813b 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -493,7 +493,7 @@ jit_symtab_line_mapping_add_impl (struct gdb_symbol_callbacks *cb,
{
stab->linetable->item[i].set_raw_pc ((CORE_ADDR) map[i].pc);
stab->linetable->item[i].line = map[i].line;
- stab->linetable->item[i].is_stmt = 1;
+ stab->linetable->item[i].is_stmt = true;
}
}