Zero-extend address from 32-bit to 64-bit for ADDR32 prefix
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Dec 2013 22:22:30 +0000 (14:22 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Dec 2013 22:22:30 +0000 (14:22 -0800)
commite85596e021d0c4246a4ea21885c52e91583c463e
tree80b45087330044f895c71f6950008e61c66d8636
parent8ee5199a42ae43b3a9b349640b8a0e2125ede34f
Zero-extend address from 32-bit to 64-bit for ADDR32 prefix

When there is ADDR32 prefix in 64-bit mode, we should zero-extend
address from 32-bit to 64-bit.

PR gdb/16304
* i386-tdep.c (i386_record_lea_modrm_addr): Zero-extend 32-bit
address to 64-bit in 64-bit mode.
gdb/ChangeLog
gdb/i386-tdep.c