diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-02-17 14:46:56 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-02-17 14:57:06 -0500 |
commit | db20cb1197cc7c5e94a26aac370267ac69f18ab5 (patch) | |
tree | 7c1b0160bf6e42b403ebe7a8489337e7778d7217 /gdb | |
parent | 9cf88ff5ad3785885337d94059de2567922b804f (diff) | |
download | binutils-db20cb1197cc7c5e94a26aac370267ac69f18ab5.zip binutils-db20cb1197cc7c5e94a26aac370267ac69f18ab5.tar.gz binutils-db20cb1197cc7c5e94a26aac370267ac69f18ab5.tar.bz2 |
gdb/dwarf: make maybe_queue_comp_unit return bool
Change-Id: I9a6bf27b72f7efb1cc4cea5345db14969e794bdb
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 9f62d0c..347d71d 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -4688,7 +4688,7 @@ queue_comp_unit (dwarf2_per_cu_data *per_cu, indicator of whether the CU's DIEs are loaded right now, it should check that by calling `dwarf2_per_objfile::get_cu` instead. */ -static int +static bool maybe_queue_comp_unit (struct dwarf2_cu *dependent_cu, dwarf2_per_cu_data *per_cu, dwarf2_per_objfile *per_objfile, @@ -4711,7 +4711,7 @@ maybe_queue_comp_unit (struct dwarf2_cu *dependent_cu, gdb_assert (!per_objfile->symtab_set_p (per_cu)); /* The DIEs are already loaded, the caller doesn't need to do it. */ - return 0; + return false; } bool queued = false; |