X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgcore.h;h=9b85e46b60127fcb990ec000a6149850aaa39ee1;hb=441af85bd9c68dbc0c2a1dbe23bf07c6cb3c3f5d;hp=7a6271b61ba696c3eca2dea2f5e26f5be1096fe8;hpb=b427c1bc161e6e0dcbce0c27b385b3ecb9c47552;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.h b/gdb/gcore.h index 7a6271b61b..9b85e46b60 100644 --- a/gdb/gcore.h +++ b/gdb/gcore.h @@ -1,6 +1,6 @@ /* Support for reading/writing gcore files. - Copyright (C) 2009-2014 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,