X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgcore.h;h=d38007d4cfc889a29d26f7f4e4d9de8e779f5ec9;hb=b61121178ec07f9da1242e439fe1a23a314ad30e;hp=0f67a1e34e02255a7546c85a327f7b943331d743;hpb=85e1311a3cf4df0eafe2886a29fc753054b71e37;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.h b/gdb/gcore.h index 0f67a1e34e..d38007d4cf 100644 --- a/gdb/gcore.h +++ b/gdb/gcore.h @@ -1,6 +1,6 @@ /* Support for reading/writing gcore files. - Copyright (C) 2009-2013 Free Software Foundation, Inc. + Copyright (C) 2009-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -20,8 +20,13 @@ #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, + find_memory_region_ftype func, + void *obfd); #endif /* GCORE_H */