Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2345)

Unified Diff: gdb/nacl-tdep.c

Issue 14757004: Fix nacl-gdb so that it can read ELF core dump files (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Retry upload Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/i386-linux-tdep.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « gdb/i386-linux-tdep.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698