X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgcore.h;h=9b85e46b60127fcb990ec000a6149850aaa39ee1;hb=301a9420d947da145884261ac31a7a52438c2894;hp=91107e0bcceb395aa2fdea028ad6c5d776ebe716;hpb=618f726fcb851883a0094aa7fa17003889b7189f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.h b/gdb/gcore.h index 91107e0bcc..9b85e46b60 100644 --- a/gdb/gcore.h +++ b/gdb/gcore.h @@ -1,6 +1,6 @@ /* Support for reading/writing gcore files. - Copyright (C) 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2009-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -20,7 +20,9 @@ #if !defined (GCORE_H) #define GCORE_H 1 -extern bfd *create_gcore_bfd (const char *filename); +#include "gdb_bfd.h" + +extern gdb_bfd_ref_ptr create_gcore_bfd (const char *filename); extern void write_gcore_file (bfd *obfd); extern bfd *load_corefile (char *filename, int from_tty); extern int objfile_find_memory_regions (struct target_ops *self,