From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12897 invoked by alias); 17 Oct 2009 15:50:00 -0000 Received: (qmail 12880 invoked by uid 22791); 17 Oct 2009 15:49:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Oct 2009 15:49:54 +0000 Received: from wpaz33.hot.corp.google.com (wpaz33.hot.corp.google.com [172.24.198.97]) by smtp-out.google.com with ESMTP id n9HFnpj4003400 for ; Sat, 17 Oct 2009 16:49:51 +0100 Received: from gxk3 (gxk3.prod.google.com [10.202.11.3]) by wpaz33.hot.corp.google.com with ESMTP id n9HFnnTJ007559 for ; Sat, 17 Oct 2009 08:49:49 -0700 Received: by gxk3 with SMTP id 3so590237gxk.15 for ; Sat, 17 Oct 2009 08:49:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.111.12 with SMTP id o12mr2923138anm.51.1255794588885; Sat, 17 Oct 2009 08:49:48 -0700 (PDT) In-Reply-To: <83zl7qh163.fsf@gnu.org> References: <20091002004954.8966C76B2B@ppluzhnikov.mtv.corp.google.com> <8ac60eac0910080916i5a2eb49an5f21f3b5c7fb96ef@mail.gmail.com> <20091008162350.GA8625@caradoc.them.org> <8ac60eac0910080952p46f15693x6ed339473db0139d@mail.gmail.com> <8ac60eac0910161607k55fee22cs379c5b7635d7b6a@mail.gmail.com> <8ac60eac0910161611u7056433m8912ce9ac5a83134@mail.gmail.com> <83zl7qh163.fsf@gnu.org> Date: Sat, 17 Oct 2009 15:50:00 -0000 Message-ID: <8ac60eac0910170849p45d24187o449011fc0aa21fc7@mail.gmail.com> Subject: Re: [RFC][patch] Allow to disassemble line. From: Paul Pluzhnikov To: Eli Zaretskii Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00388.txt.bz2 On Sat, Oct 17, 2009 at 1:31 AM, Eli Zaretskii wrote: >> Date: Fri, 16 Oct 2009 16:11:27 -0700 >> From: Paul Pluzhnikov >> >> (top) set disassemble-next-line on >> (top) ni >> 0x000000000054d225 =A0 =A0 =A0510 =A0 =A0 =A0 =A0 =A0 val =3D func (func= _args); >> =A0 0x000000000054d221 : =A048 8b 7d d0 =A0 =A0mov =A0 = =A0-0x30(%rbp),%rdi >> * 0x000000000054d225 : =A048 8b 45 d8 =A0 =A0mov =A0 = =A0-0x28(%rbp),%rax >> =A0 0x000000000054d229 : =A0ff d0 =A0callq =A0*%rax >> =A0 0x000000000054d22b : =A089 45 fc =A0 =A0 =A0 mov = =A0 =A0%eax,-0x4(%rbp) >> (top) ni >> 0x000000000054d229 =A0 =A0 =A0510 =A0 =A0 =A0 =A0 =A0 val =3D func (func= _args); >> =A0 0x000000000054d221 : =A048 8b 7d d0 =A0 =A0mov =A0 = =A0-0x30(%rbp),%rdi >> =A0 0x000000000054d225 : =A048 8b 45 d8 =A0 =A0mov =A0 = =A0-0x28(%rbp),%rax >> * 0x000000000054d229 : =A0ff d0 =A0callq =A0*%rax >> =A0 0x000000000054d22b : =A089 45 fc =A0 =A0 =A0 mov = =A0 =A0%eax,-0x4(%rbp) > > The asterisk in both cases is on the same mnemonics, "callq =A0*%rax". It's the "leading asterisk" that is the marker here, and it moves from 0x000000000054d225 to 0x000000000054d229. Instruction itself (which is "callq *%rax") is constant, just like it should be. Or did I misunderstand your question? Thanks, --=20 Paul Pluzhnikov