GDBserver
Main Page
Classes
Files
File List
File Members
gdbserver
nto-low.h
Go to the documentation of this file.
1
/* Internal interfaces for the QNX Neutrino specific target code for gdbserver.
2
Copyright (C) 2009-2015 Free Software Foundation, Inc.
3
4
This file is part of GDB.
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>. */
18
19
#ifndef NTO_LOW_H
20
#define NTO_LOW_H
21
22
struct
target_desc
;
23
24
enum
regset_type
25
{
26
NTO_REG_GENERAL
,
27
NTO_REG_FLOAT
,
28
NTO_REG_SYSTEM
,
29
NTO_REG_ALT
,
30
NTO_REG_END
31
};
32
33
struct
nto_target_ops
34
{
35
/* Architecture specific setup. */
36
void (*
arch_setup
) (void);
37
int
num_regs
;
38
int (*
register_offset
) (
int
gdbregno);
39
const
unsigned
char
*
breakpoint
;
40
int
breakpoint_len
;
41
};
42
43
extern
struct
nto_target_ops
the_low_target
;
44
45
/* The inferior's target description. This is a global because the
46
LynxOS ports support neither bi-arch nor multi-process. */
47
extern
const
struct
target_desc
*
nto_tdesc
;
48
49
#endif
50
regset_type
regset_type
Definition:
nto-low.h:24
the_low_target
struct nto_target_ops the_low_target
Definition:
linux-aarch64-low.c:1307
nto_target_ops::arch_setup
void(* arch_setup)(void)
Definition:
nto-low.h:36
NTO_REG_SYSTEM
Definition:
nto-low.h:28
nto_target_ops::register_offset
int(* register_offset)(int gdbregno)
Definition:
nto-low.h:38
nto_target_ops
Definition:
nto-low.h:33
NTO_REG_END
Definition:
nto-low.h:30
nto_tdesc
const struct target_desc * nto_tdesc
Definition:
nto-low.c:38
nto_target_ops::breakpoint_len
int breakpoint_len
Definition:
nto-low.h:40
nto_target_ops::breakpoint
const unsigned char * breakpoint
Definition:
nto-low.h:39
nto_target_ops::num_regs
int num_regs
Definition:
nto-low.h:37
target_desc
Definition:
tdesc.h:26
NTO_REG_GENERAL
Definition:
nto-low.h:26
NTO_REG_FLOAT
Definition:
nto-low.h:27
NTO_REG_ALT
Definition:
nto-low.h:29
Generated by
1.8.10