xtensa-xtregs: Fix formatting issues
Fix a few formatting issues in that file. gdb/ChangeLog: * xtensa-xtregs.c: Fix formatting issues.
This commit is contained in:
parent
c1342859dc
commit
7ca51576b9
|
@ -1,3 +1,7 @@
|
||||||
|
2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* xtensa-xtregs.c: Fix formatting issues.
|
||||||
|
|
||||||
2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
|
2017-10-29 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* xtensa-xtregs.c (xtensa_regtable_t) <name>: Constify.
|
* xtensa-xtregs.c (xtensa_regtable_t) <name>: Constify.
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct
|
||||||
|
{
|
||||||
int gdb_regnum;
|
int gdb_regnum;
|
||||||
int gdb_offset;
|
int gdb_offset;
|
||||||
int ptrace_cp_offset;
|
int ptrace_cp_offset;
|
||||||
|
@ -25,14 +26,14 @@ typedef struct {
|
||||||
int size;
|
int size;
|
||||||
int coproc;
|
int coproc;
|
||||||
int dbnum;
|
int dbnum;
|
||||||
const char* name
|
const char *name;
|
||||||
;} xtensa_regtable_t;
|
} 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 */
|
/* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */
|
||||||
{ 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" },
|
{ 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue