diff options
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index f567a55..09fc52c 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -317,7 +317,8 @@ legacy_pc_in_sigtramp (CORE_ADDR pc, char *name) int legacy_convert_register_p (int regnum, struct type *type) { - return DEPRECATED_REGISTER_CONVERTIBLE (regnum); + return (DEPRECATED_REGISTER_CONVERTIBLE_P () + && DEPRECATED_REGISTER_CONVERTIBLE (regnum)); } void |