Index: gdb/nacl-tdep.c |
diff --git a/gdb/nacl-tdep.c b/gdb/nacl-tdep.c |
index da118e471eed20618ce9abfbd06d1045f91ffc68..0032c20cfaf8820096c69fbac3302f2081cb0100 100644 |
--- a/gdb/nacl-tdep.c |
+++ b/gdb/nacl-tdep.c |
@@ -69,6 +69,7 @@ i386_nacl_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); |
linux_init_abi (info, gdbarch); |
i386_elf_init_abi (info, gdbarch); |
+ i386_linux_init_gregset (tdep); |
tdep->tdesc = tdesc_i386_linux; |
set_solib_svr4_fetch_link_map_offsets (gdbarch, |
svr4_ilp32_fetch_link_map_offsets); |
@@ -190,6 +191,7 @@ amd64_nacl_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) |
linux_init_abi (info, gdbarch); |
amd64_init_abi (info, gdbarch); |
+ amd64_linux_init_gregset (tdep); |
tdep->tdesc = tdesc_amd64_linux; |
set_solib_svr4_fetch_link_map_offsets (gdbarch, |
amd64_nacl_fetch_link_map_offsets); |