aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-02 15:58:59 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-02 15:58:59 +0000
commite9ff708b9b63638bd9dfa404bc8ab403c1dc7402 (patch)
treec6672518e7a9d0938eb307164d8ccce5a2e526d6 /gdb/i386-tdep.h
parentd4715e41adbde61d0492f7f5e28c47cf655d24e1 (diff)
downloadgdb-e9ff708b9b63638bd9dfa404bc8ab403c1dc7402.zip
gdb-e9ff708b9b63638bd9dfa404bc8ab403c1dc7402.tar.gz
gdb-e9ff708b9b63638bd9dfa404bc8ab403c1dc7402.tar.bz2
2004-03-02 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM, I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM. Remove trailing comma and redundant assignment of I386_ST0_REGNUM. * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the 32-bit segment registers.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r--gdb/i386-tdep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index f164e9d..9cb8765 100644
--- a/gdb/i386-tdep.h
+++ b/gdb/i386-tdep.h
@@ -166,7 +166,11 @@ enum i386_regnum
I386_EFLAGS_REGNUM, /* %eflags */
I386_CS_REGNUM, /* %cs */
I386_SS_REGNUM, /* %ss */
- I386_ST0_REGNUM = 16, /* %st(0) */
+ I386_DS_REGNUM, /* %ds */
+ I386_ES_REGNUM, /* %es */
+ I386_FS_REGNUM, /* %fs */
+ I386_GS_REGNUM, /* %gs */
+ I386_ST0_REGNUM /* %st(0) */
};
#define I386_NUM_GREGS 16