aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-12 12:57:21 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-12 12:57:21 +0000
commit4bd7b4271e8106f25316aaaeb0c2073ab08e418b (patch)
tree92b1e54f62d52e405716cc0a9808fb66f185c446 /gdb/arm-tdep.c
parent5b81956883339ad43e09d3e3a4a6f9bc54f4727c (diff)
downloadgdb-4bd7b4271e8106f25316aaaeb0c2073ab08e418b.zip
gdb-4bd7b4271e8106f25316aaaeb0c2073ab08e418b.tar.gz
gdb-4bd7b4271e8106f25316aaaeb0c2073ab08e418b.tar.bz2
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 339205e..6954789 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -2481,7 +2481,7 @@ arm_register_name (int i)
static void
set_disassembly_style (void)
{
- const char *setname, *setdesc, **regnames;
+ const char *setname, *setdesc, *const *regnames;
int numregs, j;
/* Find the style that the user wants in the opcodes table. */
@@ -2875,7 +2875,7 @@ _initialize_arm_tdep (void)
struct cmd_list_element *new_set, *new_show;
const char *setname;
const char *setdesc;
- const char **regnames;
+ const char *const *regnames;
int numregs, i, j;
static char *helptext;
char regdesc[1024], *rdptr = regdesc;