1/* Haiku native-dependent definitions.
2
3   Copyright 2005 Ingo Weinhold <bonefish@cs.tu-berlin.de>.
4
5   This file is part of GDB.
6
7   This program is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 2 of the License, or
10   (at your option) any later version.
11
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with this program; if not, write to the Free Software
19   Foundation, Inc., 59 Temple Place - Suite 330,
20   Boston, MA 02111-1307, USA.  */
21
22#ifndef HAIKU_NAT_H
23#define HAIKU_NAT_H
24
25#include <debugger.h>
26
27/* Required by haiku-nat.c, implemented in <arch>-haiku-nat.c. */
28
29void haiku_supply_registers(int reg, const debug_cpu_state *cpuState);
30void haiku_collect_registers(int reg, debug_cpu_state *cpuState);
31
32
33struct haiku_image_info;
34
35/* Function used by solib-haiku.c to iterate through the list of images of
36   the inferior.
37   TODO: This must go, since it works only in a native debugger. We can
38   probably tunnel these data through the xfer_memory() function.
39*/
40struct haiku_image_info *haiku_get_next_image_info(int lastID);
41
42#endif	/* HAIKU_NAT_H */
43