aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-05-17 12:26:44 +0000
committerHui Zhu <teawater@gmail.com>2009-05-17 12:26:44 +0000
commita6b808b408f304ead418bdf4ebae5b3cea7cf191 (patch)
tree5f85ea2ba6bffecdc92735d3a8ff40f6ae479cd3 /gdb/i386-linux-tdep.c
parent Always report varobj as changed when in_scope attribute changes. (diff)
downloadbinutils-gdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.tar.gz
binutils-gdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.tar.bz2
binutils-gdb-a6b808b408f304ead418bdf4ebae5b3cea7cf191.zip
* i386-tdep.c (i386_process_record): Make it extern.
(i386_gdbarch_init): Don't call set_gdbarch_process_record here. * i386-tdep.c (i386_process_record): Declare. * i386-linux-tdep.c (i386_linux_init_abi): Call set_gdbarch_process_record.
Diffstat (limited to 'gdb/i386-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 1f8e42dff25..0f7820d9412 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -613,6 +613,8 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tdep->sc_reg_offset = i386_linux_sc_reg_offset;
tdep->sc_num_regs = ARRAY_SIZE (i386_linux_sc_reg_offset);
+ set_gdbarch_process_record (gdbarch, i386_process_record);
+
/* Initialize the i386_linux_record_tdep. */
i386_linux_record_tdep.size__old_kernel_stat =
I386_LINUX_RECORD_SIZE__old_kernel_stat;