summaryrefslogtreecommitdiff
path: root/gdb/x86-64-linux-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/x86-64-linux-nat.c')
-rw-r--r--gdb/x86-64-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/x86-64-linux-nat.c b/gdb/x86-64-linux-nat.c
index 7749b415114..7e6417b1cc9 100644
--- a/gdb/x86-64-linux-nat.c
+++ b/gdb/x86-64-linux-nat.c
@@ -26,6 +26,7 @@
#include "gdbcore.h"
#include "regcache.h"
#include "gdb_assert.h"
+#include "gdb_string.h"
#include "x86-64-tdep.h"
#include <sys/ptrace.h>
@@ -42,7 +43,7 @@ static int x86_64_regmap[] = {
RSI, RDI, RBP, RSP,
R8, R9, R10, R11,
R12, R13, R14, R15,
- RIP, EFLAGS,
+ RIP, EFLAGS, CS, SS,
DS, ES, FS, GS
};