aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.h
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-02-24 10:58:15 +0000
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-05-21 17:49:17 +0200
commitb13feb94aa4eba5f3eea3cb47cbf0a2eed8683fb (patch)
tree0c4369ece7b81bf3efa1cf3a69f6f3a3114c3f36 /gdb/sparc-tdep.h
parentb4fd25c939a2dcf09c98c53c61ee17fc792e5be6 (diff)
downloadgdb-b13feb94aa4eba5f3eea3cb47cbf0a2eed8683fb.zip
gdb-b13feb94aa4eba5f3eea3cb47cbf0a2eed8683fb.tar.gz
gdb-b13feb94aa4eba5f3eea3cb47cbf0a2eed8683fb.tar.bz2
SPARC: Replace regset_alloc() invocations by static regset structures.
Diffstat (limited to 'gdb/sparc-tdep.h')
-rw-r--r--gdb/sparc-tdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h
index 12c8ef7..13f0bb2 100644
--- a/gdb/sparc-tdep.h
+++ b/gdb/sparc-tdep.h
@@ -58,9 +58,9 @@ struct gdbarch_tdep
int npc_regnum;
/* Register sets. */
- struct regset *gregset;
+ const struct regset *gregset;
size_t sizeof_gregset;
- struct regset *fpregset;
+ const struct regset *fpregset;
size_t sizeof_fpregset;
/* Offset of saved PC in jmp_buf. */