diff options
Diffstat (limited to 'gdb/i386-windows-tdep.c')
-rw-r--r-- | gdb/i386-windows-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-windows-tdep.c b/gdb/i386-windows-tdep.c index 9eec6e2..eda77a3 100644 --- a/gdb/i386-windows-tdep.c +++ b/gdb/i386-windows-tdep.c @@ -116,7 +116,7 @@ i386_windows_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct type *type = check_typedef (value_type (function)); if (type->code () == TYPE_CODE_PTR) - type = check_typedef (TYPE_TARGET_TYPE (type)); + type = check_typedef (type->target_type ()); /* read_subroutine_type sets for non-static member functions the artificial flag of the first parameter ('this' pointer). */ |