From: David Edelsohn Date: Sun, 11 Jul 1993 19:31:49 +0000 (+0000) Subject: (PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8df6afe63ba7d7f056b75267f92cdd259ce28d6c;p=binutils-gdb.git (PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg. --- diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index b6c376d919f..c0499566061 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -568,10 +568,10 @@ extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *)); #define PRINT_REGISTER_HOOK(regno) \ if (((regno) >= FP0_REGNUM) \ && ((regno) < FP0_REGNUM + 32) \ - && (0 == (regno & 1))) { \ + && (0 == ((regno) & 1))) { \ char doublereg[8]; /* two float regs */ \ - if (!read_relative_register_raw_bytes (i , doublereg ) \ - && !read_relative_register_raw_bytes (i+1, doublereg+4)) { \ + if (!read_relative_register_raw_bytes ((regno) , doublereg ) \ + && !read_relative_register_raw_bytes ((regno)+1, doublereg+4)) { \ printf("\t"); \ print_floating (doublereg, builtin_type_double, stdout); \ } \