2004-05-23 01:21:36 +08:00
|
|
|
/* BSD Kernel Data Access Library (libkvm) interface.
|
|
|
|
|
2013-01-01 14:33:28 +08:00
|
|
|
Copyright (C) 2004-2013 Free Software Foundation, Inc.
|
2004-05-23 01:21:36 +08: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-24 02:08:50 +08:00
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
2004-05-23 01:21:36 +08: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-24 02:08:50 +08:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2004-05-23 01:21:36 +08:00
|
|
|
|
|
|
|
#ifndef BSD_KVM_H
|
|
|
|
#define BSD_KVM_H
|
|
|
|
|
|
|
|
struct pcb;
|
|
|
|
struct regcache;
|
|
|
|
|
|
|
|
/* Add the libkvm interface to the list of all possible targets and
|
|
|
|
register CUPPLY_PCB as the architecture-specific process control
|
|
|
|
block interpreter. */
|
|
|
|
|
|
|
|
extern void
|
|
|
|
bsd_kvm_add_target (int (*supply_pcb)(struct regcache *, struct pcb *));
|
|
|
|
|
|
|
|
#endif /* bsd-kvm.h */
|