gdb: x86: fix x32 builds with inline asm
authorMike Frysinger <vapier@gentoo.org>
Tue, 8 Jan 2013 19:38:51 +0000 (19:38 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 8 Jan 2013 19:38:51 +0000 (19:38 +0000)
commitbdad4180179ebc7c1be31c0bf03769358a7b01bc
tree5c9d8c5e2c6e280a03ad6086efbb3528d415417b
parenta3251895a6c76c3f3a1e8535ea776b9029263253
gdb: x86: fix x32 builds with inline asm

We need to cast the pointer up to 64bits so that the push works on x32
targets.  For 64bit targets, this makes no difference.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
gdb/ChangeLog
gdb/common/linux-ptrace.c