aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/x86-tdep.c')
-rw-r--r--gdb/x86-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/x86-tdep.c b/gdb/x86-tdep.c
index 5f03cfe..8b1ea34 100644
--- a/gdb/x86-tdep.c
+++ b/gdb/x86-tdep.c
@@ -26,8 +26,8 @@
(exclusive). */
static bool
-x86_is_thunk_register_name (const char *name, const char **names, int lo,
- int hi)
+x86_is_thunk_register_name (const char *name, const char * const *names,
+ int lo, int hi)
{
int reg;
for (reg = lo; reg < hi; ++reg)
@@ -40,7 +40,7 @@ x86_is_thunk_register_name (const char *name, const char **names, int lo,
/* See x86-tdep.h. */
bool
-x86_in_indirect_branch_thunk (CORE_ADDR pc, const char **register_names,
+x86_in_indirect_branch_thunk (CORE_ADDR pc, const char * const *register_names,
int lo, int hi)
{
struct bound_minimal_symbol bmfun = lookup_minimal_symbol_by_pc (pc);