aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/read-gdb-index.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/read-gdb-index.h')
-rw-r--r--gdb/dwarf2/read-gdb-index.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/dwarf2/read-gdb-index.h b/gdb/dwarf2/read-gdb-index.h
index 906e3bd..5107d63 100644
--- a/gdb/dwarf2/read-gdb-index.h
+++ b/gdb/dwarf2/read-gdb-index.h
@@ -1,6 +1,6 @@
/* Reading code for .gdb_index
- Copyright (C) 2023-2024 Free Software Foundation, Inc.
+ Copyright (C) 2023-2025 Free Software Foundation, Inc.
This file is part of GDB.
@@ -37,9 +37,10 @@ typedef gdb::function_view
get_gdb_index_contents_dwz_ftype;
/* Read .gdb_index. If everything went ok, initialize the "quick"
- elements of all the CUs and return 1. Otherwise, return 0. */
+ elements of all the CUs and return true. Otherwise, return
+ false. */
-int dwarf2_read_gdb_index
+bool dwarf2_read_gdb_index
(dwarf2_per_objfile *per_objfile,
get_gdb_index_contents_ftype get_gdb_index_contents,
get_gdb_index_contents_dwz_ftype get_gdb_index_contents_dwz);