| Index: gdb/amd64-windows-tdep.c
|
| diff --git a/gdb/amd64-windows-tdep.c b/gdb/amd64-windows-tdep.c
|
| index 29fd71a5badd54cfc3b3547a68997155ac7ffb52..41e0efa4e76d34b5b7c94729f22ed910d13531ea 100644
|
| --- a/gdb/amd64-windows-tdep.c
|
| +++ b/gdb/amd64-windows-tdep.c
|
| @@ -23,6 +23,7 @@
|
| #include "gdbtypes.h"
|
| #include "gdbcore.h"
|
| #include "regcache.h"
|
| +#include "windows-tdep.h"
|
|
|
| /* The registers used to pass integer arguments during a function call. */
|
| static int amd64_windows_dummy_call_integer_regs[] =
|
| @@ -73,7 +74,7 @@ amd64_windows_classify (struct type *type, enum amd64_reg_class class[2])
|
| /* Implement the "return_value" gdbarch method for amd64-windows. */
|
|
|
| static enum return_value_convention
|
| -amd64_windows_return_value (struct gdbarch *gdbarch, struct type *func_type,
|
| +amd64_windows_return_value (struct gdbarch *gdbarch, struct value *function,
|
| struct type *type, struct regcache *regcache,
|
| gdb_byte *readbuf, const gdb_byte *writebuf)
|
| {
|
| @@ -174,9 +175,15 @@ amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
| set_gdbarch_return_value (gdbarch, amd64_windows_return_value);
|
| set_gdbarch_skip_main_prologue (gdbarch, amd64_skip_main_prologue);
|
|
|
| + set_gdbarch_iterate_over_objfiles_in_search_order
|
| + (gdbarch, windows_iterate_over_objfiles_in_search_order);
|
| +
|
| set_solib_ops (gdbarch, &solib_target_so_ops);
|
| }
|
|
|
| +/* -Wmissing-prototypes */
|
| +extern initialize_file_ftype _initialize_amd64_windows_tdep;
|
| +
|
| void
|
| _initialize_amd64_windows_tdep (void)
|
| {
|
|
|