* linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 21 Oct 2004 04:10:48 +0000 (04:10 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 21 Oct 2004 04:10:48 +0000 (04:10 +0000)
        (ARCH_SET_FS): Likewise.
        (ARCH_GET_FS): Likewise.
        (ARCH_GET_GS): Likewise.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-64-low.c

index 96df7e507ee769e1c0b42a5eb4454bbf6cb2cbc4..834391633ea4a5ec591e8681f67260162b551ccd 100644 (file)
@@ -1,3 +1,10 @@
+2004-10-20  Joel Brobecker  <brobecker@gnat.com>
+
+       * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
+       (ARCH_SET_FS): Likewise.
+       (ARCH_GET_FS): Likewise.
+       (ARCH_GET_GS): Likewise.
+
 2004-10-16  Daniel Jacobowitz  <dan@debian.org>
 
        * linux-i386-low.c (ps_get_thread_area): New.
index 45f00b0c880a3556199f2e9fa7f4f26954898038..fa7440dbd2afca531cd150c52a648bec7dc1e5ed 100644 (file)
 #define PTRACE_ARCH_PRCTL      30
 #endif
 
+/* The following definitions come from prctl.h, but may be absent
+   for certain configurations.  */
+#ifndef ARCH_GET_FS
+#define ARCH_SET_GS 0x1001
+#define ARCH_SET_FS 0x1002
+#define ARCH_GET_FS 0x1003
+#define ARCH_GET_GS 0x1004
+#endif
+
 static int x86_64_regmap[] = {
   RAX * 8, RBX * 8, RCX * 8, RDX * 8,
   RSI * 8, RDI * 8, RBP * 8, RSP * 8,
This page took 0.044349 seconds and 4 git commands to generate.