OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [gdb/] [xtensa-xtregs.c] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* Table mapping between kernel xtregset and GDB register cache.
2
   Copyright 2007, 2008, 2009, 2010 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
  int   gdb_regnum;
22
  int   gdb_offset;
23
  int   ptrace_cp_offset;
24
  int   ptrace_offset;
25
  int   size;
26
  int   coproc;
27
  int   dbnum;
28
  char* name
29
;} xtensa_regtable_t;
30
 
31
#define XTENSA_ELF_XTREG_SIZE   4
32
 
33
const xtensa_regtable_t  xtensa_regmap_table[] = {
34
  /* gnum,gofs,cpofs,ofs,siz,cp, dbnum,  name */
35
  {   44, 176,   0,   0,  4, -1, 0x020c, "scompare1" },
36
  { 0 }
37
};
38
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.