aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/x86-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat/x86-linux.c')
-rw-r--r--gdb/nat/x86-linux.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/nat/x86-linux.c b/gdb/nat/x86-linux.c
index a2bd368..e783156 100644
--- a/gdb/nat/x86-linux.c
+++ b/gdb/nat/x86-linux.c
@@ -19,6 +19,7 @@
#include "common-defs.h"
#include "x86-linux.h"
+#include "x86-linux-dregs.h"
/* Per-thread arch-specific data we want to keep. */
@@ -55,3 +56,19 @@ lwp_debug_registers_changed (struct lwp_info *lwp)
return info->debug_registers_changed;
}
+
+/* See nat/x86-linux.h. */
+
+void
+x86_linux_new_thread (struct lwp_info *lwp)
+{
+ lwp_set_debug_registers_changed (lwp, 1);
+}
+
+/* See nat/x86-linux.h. */
+
+void
+x86_linux_prepare_to_resume (struct lwp_info *lwp)
+{
+ x86_linux_update_debug_registers (lwp);
+}