xref: /dragonfly/contrib/gdb-7/gdb/gcore.h (revision ef5ccd6c)
1cf7f2e2dSJohn Marino /* Support for reading/writing gcore files.
2cf7f2e2dSJohn Marino 
3*ef5ccd6cSJohn Marino    Copyright (C) 2009-2013 Free Software Foundation, Inc.
4cf7f2e2dSJohn Marino 
5cf7f2e2dSJohn Marino    This file is part of GDB.
6cf7f2e2dSJohn Marino 
7cf7f2e2dSJohn Marino    This program is free software; you can redistribute it and/or modify
8cf7f2e2dSJohn Marino    it under the terms of the GNU General Public License as published by
9cf7f2e2dSJohn Marino    the Free Software Foundation; either version 3 of the License, or
10cf7f2e2dSJohn Marino    (at your option) any later version.
11cf7f2e2dSJohn Marino 
12cf7f2e2dSJohn Marino    This program is distributed in the hope that it will be useful,
13cf7f2e2dSJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
14cf7f2e2dSJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15cf7f2e2dSJohn Marino    GNU General Public License for more details.
16cf7f2e2dSJohn Marino 
17cf7f2e2dSJohn Marino    You should have received a copy of the GNU General Public License
18cf7f2e2dSJohn Marino    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19cf7f2e2dSJohn Marino 
20cf7f2e2dSJohn Marino #if !defined (GCORE_H)
21cf7f2e2dSJohn Marino #define GCORE_H 1
22cf7f2e2dSJohn Marino 
23cf7f2e2dSJohn Marino extern bfd *create_gcore_bfd (char *filename);
24cf7f2e2dSJohn Marino extern void write_gcore_file (bfd *obfd);
25cf7f2e2dSJohn Marino extern bfd *load_corefile (char *filename, int from_tty);
26cf7f2e2dSJohn Marino 
27cf7f2e2dSJohn Marino #endif /* GCORE_H */
28