X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fxtensa-xtregs.c;h=effaf0c87791fbfe7f1cd161e856b2ea16fe4663;hb=953cff563058831ab0bf863c7655d23b5e6a5989;hp=0d2808df09127379977377dc8d1d7ec65d0ad218;hpb=c1342859dc02fd57e013ef544037a9ead4f23f60;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/xtensa-xtregs.c b/gdb/xtensa-xtregs.c index 0d2808df09..effaf0c877 100644 --- a/gdb/xtensa-xtregs.c +++ b/gdb/xtensa-xtregs.c @@ -1,5 +1,5 @@ /* Table mapping between kernel xtregset and GDB register cache. - Copyright (C) 2007-2017 Free Software Foundation, Inc. + Copyright (C) 2007-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -17,22 +17,23 @@ along with this program. If not, see . */ -typedef struct { - int gdb_regnum; - int gdb_offset; - int ptrace_cp_offset; - int ptrace_offset; - int size; - int coproc; - int dbnum; - const char* name -;} xtensa_regtable_t; +typedef struct +{ + int gdb_regnum; + int gdb_offset; + int ptrace_cp_offset; + int ptrace_offset; + int size; + int coproc; + int dbnum; + const char *name; +} xtensa_regtable_t; -#define XTENSA_ELF_XTREG_SIZE 4 +#define XTENSA_ELF_XTREG_SIZE 4 -const xtensa_regtable_t xtensa_regmap_table[] = { +const xtensa_regtable_t xtensa_regmap_table[] = +{ /* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */ { 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" }, { 0 } }; -