Index: gdb/nacl-tdep.c |
diff --git a/gdb/nacl-tdep.c b/gdb/nacl-tdep.c |
index f33af438dcbbac6701553a6b09c5d2754c47e16a..fe485b13b35f67c8461824bf90d8bea93a12dacd 100644 |
--- a/gdb/nacl-tdep.c |
+++ b/gdb/nacl-tdep.c |
@@ -31,6 +31,7 @@ |
#include "breakpoint.h" |
#include "target.h" |
#include "elf-bfd.h" |
+#include "inferior.h" |
static enum gdb_osabi |
nacl_osabi_sniffer (bfd *abfd) |
@@ -51,6 +52,7 @@ nacl_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target); |
set_solib_svr4_map_so_name (gdbarch, nacl_manifest_find); |
set_gdbarch_process_record (gdbarch, i386_process_record); |
+ set_gdbarch_call_dummy_location(gdbarch, AT_ENTRY_POINT); |
} |
static void |