This is the mail archive of the
mailing list for the GDB project.
Re: baffling assembly-level weirdness
On Mon, Jan 26, 2009 at 4:38 PM, Pierre Muller <firstname.lastname@example.org> wrote:
> maybe you are more used to intel disassembler
> this is att disassembler
> mov 0x805e3c0,%edx
> means put the content of address 0x805e3c0 into register edx
> putting the constant 0x805e3c0 into edx
> would be written as
> mov $0x805e3c0,%edx
> if I am not mistaken.
doh. It's hard to apologize for such a stupid mistake, so I won't try
but, thanks to all those who answered.
> If you are more used to intel assembly
> you can use
> 'set disassembly-flavor intel'
thanks for the hint,
Mathieu Lacage <email@example.com>