diff options
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r-- | gdb/amd64-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 904915e..59434e2 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -98,7 +98,7 @@ amd64_register_type (struct gdbarch *gdbarch, int regnum) if (regnum == AMD64_RIP_REGNUM) return builtin_type (gdbarch)->builtin_func_ptr; if (regnum == AMD64_EFLAGS_REGNUM) - return i386_eflags_type; + return i386_eflags_type (gdbarch); if (regnum >= AMD64_CS_REGNUM && regnum <= AMD64_GS_REGNUM) return builtin_type (gdbarch)->builtin_int32; if (regnum >= AMD64_ST0_REGNUM && regnum <= AMD64_ST0_REGNUM + 7) @@ -108,7 +108,7 @@ amd64_register_type (struct gdbarch *gdbarch, int regnum) if (regnum >= AMD64_XMM0_REGNUM && regnum <= AMD64_XMM0_REGNUM + 15) return i386_sse_type (gdbarch); if (regnum == AMD64_MXCSR_REGNUM) - return i386_mxcsr_type; + return i386_mxcsr_type (gdbarch); internal_error (__FILE__, __LINE__, _("invalid regnum")); } |