aboutsummaryrefslogtreecommitdiff
path: root/gdb/xtensa-xtregs.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-10-29 13:01:19 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-10-29 13:02:29 -0400
commit7ca51576b94fb59a41050957d5ee822d21711abc (patch)
tree1e8ef80866a5fd9ddcdf71962e978c0272387eca /gdb/xtensa-xtregs.c
parentc1342859dc02fd57e013ef544037a9ead4f23f60 (diff)
downloadgdb-7ca51576b94fb59a41050957d5ee822d21711abc.zip
gdb-7ca51576b94fb59a41050957d5ee822d21711abc.tar.gz
gdb-7ca51576b94fb59a41050957d5ee822d21711abc.tar.bz2
xtensa-xtregs: Fix formatting issues
Fix a few formatting issues in that file. gdb/ChangeLog: * xtensa-xtregs.c: Fix formatting issues.
Diffstat (limited to 'gdb/xtensa-xtregs.c')
-rw-r--r--gdb/xtensa-xtregs.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/gdb/xtensa-xtregs.c b/gdb/xtensa-xtregs.c
index 0d2808d..8507aa2 100644
--- a/gdb/xtensa-xtregs.c
+++ b/gdb/xtensa-xtregs.c
@@ -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;
-
-#define XTENSA_ELF_XTREG_SIZE 4
-
-const xtensa_regtable_t xtensa_regmap_table[] = {
+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
+
+const xtensa_regtable_t xtensa_regmap_table[] =
+{
/* gnum,gofs,cpofs,ofs,siz,cp, dbnum, name */
{ 44, 176, 0, 0, 4, -1, 0x020c, "scompare1" },
{ 0 }
};
-