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