2003-10-31 20:19:51 +01:00
|
|
|
/* Very simple "bfd" target, for GDB, the GNU debugger.
|
|
|
|
|
2013-01-01 07:33:28 +01:00
|
|
|
Copyright (C) 2003-2013 Free Software Foundation, Inc.
|
2003-10-31 20:19:51 +01:00
|
|
|
|
|
|
|
This file is part of GDB.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-08-23 20:08:50 +02:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2003-10-31 20:19:51 +01:00
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2007-08-23 20:08:50 +02:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2003-10-31 20:19:51 +01:00
|
|
|
|
|
|
|
#ifndef BFD_TARGET_H
|
|
|
|
#define BFD_TARGET_H
|
|
|
|
|
|
|
|
struct bfd;
|
|
|
|
struct target_ops;
|
|
|
|
|
2012-07-23 17:25:12 +02:00
|
|
|
/* Given an existing BFD, re-open it as a "struct target_ops". This
|
|
|
|
acquires a new reference to the BFD. This reference will be
|
|
|
|
released when the target is closed. */
|
2003-10-31 20:19:51 +01:00
|
|
|
struct target_ops *target_bfd_reopen (struct bfd *bfd);
|
|
|
|
|
|
|
|
#endif
|