X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgcore.h;h=d38007d4cfc889a29d26f7f4e4d9de8e779f5ec9;hb=234c306803e0b3c423b3935562a029f3bad04482;hp=fc168d3e2ee19812a6e3084c7b7fc1d4f8fea860;hpb=0156b21832b684643a30b598bf2ce5acae533768;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gcore.h b/gdb/gcore.h index fc168d3e2e..d38007d4cf 100644 --- a/gdb/gcore.h +++ b/gdb/gcore.h @@ -1,6 +1,6 @@ /* Support for reading/writing gcore files. - Copyright (C) 2009, 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 (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 */