From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18002 invoked by alias); 17 Oct 2009 08:33:46 -0000 Received: (qmail 17993 invoked by uid 22791); 17 Oct 2009 08:33:45 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Oct 2009 08:33:39 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KRN00C00GYJLI00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Sat, 17 Oct 2009 10:33:20 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.117.47]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KRN00CAGH3I8R10@a-mtaout21.012.net.il>; Sat, 17 Oct 2009 10:33:19 +0200 (IST) Date: Sat, 17 Oct 2009 08:33:00 -0000 From: Eli Zaretskii Subject: Re: [RFC][patch] Allow to disassemble line. In-reply-to: <8ac60eac0910161611u7056433m8912ce9ac5a83134@mail.gmail.com> To: Paul Pluzhnikov Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <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> 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/msg00387.txt.bz2 > Date: Fri, 16 Oct 2009 16:11:27 -0700 > From: Paul Pluzhnikov > > (top) set disassemble-next-line on > (top) ni > 0x000000000054d225 510 val = func (func_args); > 0x000000000054d221 : 48 8b 7d d0 mov -0x30(%rbp),%rdi > * 0x000000000054d225 : 48 8b 45 d8 mov -0x28(%rbp),%rax > 0x000000000054d229 : ff d0 callq *%rax > 0x000000000054d22b : 89 45 fc mov %eax,-0x4(%rbp) > (top) ni > 0x000000000054d229 510 val = func (func_args); > 0x000000000054d221 : 48 8b 7d d0 mov -0x30(%rbp),%rdi > 0x000000000054d225 : 48 8b 45 d8 mov -0x28(%rbp),%rax > * 0x000000000054d229 : ff d0 callq *%rax > 0x000000000054d22b : 89 45 fc mov %eax,-0x4(%rbp) The asterisk in both cases is on the same mnemonics, "callq *%rax". Is that a bug or a "feature"?