(PRINT_REGISTER_HOOK): Fix typo, add parens around macro arg.

This commit is contained in:
David Edelsohn 1993-07-11 19:31:49 +00:00
parent a688a1866c
commit 8df6afe63b
1 changed files with 3 additions and 3 deletions

View File

@ -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); \
} \