summaryrefslogtreecommitdiff
path: root/bfd/elfcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r--bfd/elfcore.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elfcore.h b/bfd/elfcore.h
index 168c81ae21..81980c0fec 100644
--- a/bfd/elfcore.h
+++ b/bfd/elfcore.h
@@ -31,6 +31,12 @@ elf_core_file_failing_signal (bfd *abfd)
return elf_tdata (abfd)->core_signal;
}
+int
+elf_core_file_pid (bfd *abfd)
+{
+ return elf_tdata (abfd)->core_pid;
+}
+
bfd_boolean
elf_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
{