mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-27 22:10:32 +00:00
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.
This commit is contained in:
parent
5b81956883
commit
4bd7b4271e
@ -1,5 +1,8 @@
|
||||
2005-06-12 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
|
||||
Consitify regnames.
|
||||
|
||||
* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
|
||||
(alpha_heuristic_frame_prev_register): Change type of last
|
||||
argument to `gdb_byte *'.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user