GDB (API)
|
00001 /* Table mapping between kernel xtregset and GDB register cache. 00002 Copyright (C) 2007-2013 Free Software Foundation, Inc. 00003 00004 This file is part of GDB. 00005 00006 This program is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU General Public License as 00008 published by the Free Software Foundation; either version 3 of the 00009 License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00018 00019 00020 typedef struct { 00021 int gdb_regnum; 00022 int gdb_offset; 00023 int ptrace_cp_offset; 00024 int ptrace_offset; 00025 int size; 00026 int coproc; 00027 int dbnum; 00028 char* name 00029 ;} xtensa_regtable_t; 00030 00031 #define XTENSA_ELF_XTREG_SIZE 4 00032 00033 const xtensa_regtable_t xtensa_regmap_table[] = { 00034 /* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */ 00035 { 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" }, 00036 { 0 } 00037 }; 00038