X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fgcore.h;h=9b85e46b60127fcb990ec000a6149850aaa39ee1;hb=5233f39b8b999f2675fb9493149e878c281e1d60;hp=fa642112eaa8932a1c46e508c3cc28bab16ab353;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.h b/gdb/gcore.h index fa642112ea..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,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 */