aboutsummaryrefslogtreecommitdiff
path: root/gdb/build-id.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/build-id.h')
-rw-r--r--gdb/build-id.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/build-id.h b/gdb/build-id.h
index ddd2645..548ea5e 100644
--- a/gdb/build-id.h
+++ b/gdb/build-id.h
@@ -20,6 +20,10 @@
#ifndef BUILD_ID_H
#define BUILD_ID_H
+/* Locate NT_GNU_BUILD_ID from ABFD and return its content. */
+
+extern const struct elf_build_id *build_id_bfd_get (bfd *abfd);
+
/* Return true if ABFD has NT_GNU_BUILD_ID matching the CHECK value.
Otherwise, issue a warning and return false. */