This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: baffling assembly-level weirdness


On Mon, Jan 26, 2009 at 4:38 PM, Pierre Muller <muller@ics.u-strasbg.fr> 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
-- 
Mathieu Lacage <mathieu.lacage@gmail.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]