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>
|
||||
|
||||
* xtensa-xtregs.c (xtensa_regtable_t) <name>: Constify.
|
||||
|
@ -17,22 +17,23 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
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 }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user