This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tdep/19279] New: x86: sizeof($cs) and other segment registers returns 4 instead of 2
- From: "b7.10110111 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 21 Nov 2015 10:20:46 +0000
- Subject: [Bug tdep/19279] New: x86: sizeof($cs) and other segment registers returns 4 instead of 2
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19279
Bug ID: 19279
Summary: x86: sizeof($cs) and other segment registers returns 4
instead of 2
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: tdep
Assignee: unassigned at sourceware dot org
Reporter: b7.10110111 at gmail dot com
Target Milestone: ---
To reproduce, just run
gdb -q -ex 'p sizeof($cs)' -ex 'q'
and see the result being "$1 = 4" instead of expected "$1 = 2", which you'd get
if you replaced "cs" with e.g. "ax" (also a 16-bit register).
--
You are receiving this mail because:
You are on the CC list for the bug.