diff options
Diffstat (limited to 'gdb/x86-tdep.c')
-rw-r--r-- | gdb/x86-tdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/x86-tdep.c b/gdb/x86-tdep.c index 6a73f21..176d038 100644 --- a/gdb/x86-tdep.c +++ b/gdb/x86-tdep.c @@ -21,13 +21,12 @@ #include "x86-tdep.h" #include "symtab.h" - /* Check whether NAME is included in NAMES[LO] (inclusive) to NAMES[HI] (exclusive). */ static bool -x86_is_thunk_register_name (const char *name, const char * const *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 +39,7 @@ x86_is_thunk_register_name (const char *name, const char * const *names, /* See x86-tdep.h. */ bool -x86_in_indirect_branch_thunk (CORE_ADDR pc, const char * const *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); |