From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27424 invoked by alias); 26 Jan 2009 17:35:41 -0000 Received: (qmail 27415 invoked by uid 22791); 26 Jan 2009 17:35:41 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.173) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Jan 2009 17:35:36 +0000 Received: by wf-out-1314.google.com with SMTP id 28so5938378wfc.24 for ; Mon, 26 Jan 2009 09:35:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.143.2.20 with SMTP id e20mr2383167wfi.269.1232991335184; Mon, 26 Jan 2009 09:35:35 -0800 (PST) In-Reply-To: <005d01c97fcc$2353f310$69fbd930$@u-strasbg.fr> References: <74fef6df0901260724p188c5507x2cfa3a4283f6fd41@mail.gmail.com> <005d01c97fcc$2353f310$69fbd930$@u-strasbg.fr> Date: Mon, 26 Jan 2009 17:35:00 -0000 Message-ID: <74fef6df0901260935n2754421cic62fbc290b5d5781@mail.gmail.com> Subject: Re: baffling assembly-level weirdness From: Mathieu Lacage To: Pierre Muller Cc: gdb@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-01/txt/msg00174.txt.bz2 On Mon, Jan 26, 2009 at 4:38 PM, Pierre Muller 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