GDB (xrefs)
Loading...
Searching...
No Matches
gdb
xtensa-xtregs.c
Go to the documentation of this file.
1
/* Table mapping between kernel xtregset and GDB register cache.
2
Copyright (C) 2007-2023 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
7
modify it under the terms of the GNU General Public License as
8
published by the Free Software Foundation; either version 3 of the
9
License, or (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 GNU
14
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
20
typedef
struct
21
{
22
int
gdb_regnum
;
23
int
gdb_offset
;
24
int
ptrace_cp_offset
;
25
int
ptrace_offset
;
26
int
size
;
27
int
coproc
;
28
int
dbnum
;
29
const
char
*
name
;
30
}
xtensa_regtable_t
;
31
32
#define XTENSA_ELF_XTREG_SIZE 4
33
34
const
xtensa_regtable_t
xtensa_regmap_table
[] =
35
{
36
/* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */
37
{ 44, 176, 0, 0, 4, -1, 0x020c,
"scompare1"
},
38
{ 0 }
39
};
xtensa_regtable_t
Definition
xtensa-xtregs.c:21
xtensa_regtable_t::gdb_regnum
int gdb_regnum
Definition
xtensa-xtregs.c:22
xtensa_regtable_t::ptrace_cp_offset
int ptrace_cp_offset
Definition
xtensa-xtregs.c:24
xtensa_regtable_t::dbnum
int dbnum
Definition
xtensa-xtregs.c:28
xtensa_regtable_t::coproc
int coproc
Definition
xtensa-xtregs.c:27
xtensa_regtable_t::gdb_offset
int gdb_offset
Definition
xtensa-xtregs.c:23
xtensa_regtable_t::ptrace_offset
int ptrace_offset
Definition
xtensa-xtregs.c:25
xtensa_regtable_t::name
const char * name
Definition
xtensa-xtregs.c:29
xtensa_regtable_t::size
int size
Definition
xtensa-xtregs.c:26
xtensa_regmap_table
const xtensa_regtable_t xtensa_regmap_table[]
Definition
xtensa-xtregs.c:34
Generated by
1.10.0