mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user