From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18090 invoked by alias); 22 May 2009 21:51:22 -0000 Received: (qmail 18077 invoked by uid 22791); 22 May 2009 21:51:21 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from ugmailsc.ugent.be (HELO ugmailsc.ugent.be) (157.193.49.118) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 May 2009 21:51:12 +0000 Received: from localhost (localhost [127.0.0.1]) by ugmailsc.ugent.be (Postfix) with ESMTP id B40ED1D01DC for ; Fri, 22 May 2009 23:51:09 +0200 (CEST) Received: from ugmailsc.ugent.be ([127.0.0.1]) by localhost (ugmailsc.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4-EOUBNw2Ye for ; Fri, 22 May 2009 23:51:09 +0200 (CEST) Received: from cedar.ugent.be (cedar.ugent.be [157.193.49.14]) by ugmailsc.ugent.be (Postfix) with ESMTP id 917FD1D01DB for ; Fri, 22 May 2009 23:51:09 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0EAKu6Fkqdwc4w/2dsb2JhbACBT9FIhAsF Received: from mail.elis.ugent.be ([157.193.206.48]) by relays9.ugent.be with ESMTP; 22 May 2009 23:51:09 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 41F81918F1B; Fri, 22 May 2009 23:51:09 +0200 (CEST) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yjPyo0pWPUOE; Fri, 22 May 2009 23:51:06 +0200 (CEST) Received: from firefly.lan (10.79-245-81.adsl-dyn.isp.belgacom.be [81.245.79.10]) by mail.elis.ugent.be (Postfix) with ESMTP id 5B0C2918F19; Fri, 22 May 2009 23:51:06 +0200 (CEST) Cc: Toshi Morita , gdb@sourceware.org Message-Id: <037F3315-4355-4FAB-A12A-2FD727687353@elis.ugent.be> From: Jonas Maebe To: Joel Brobecker In-Reply-To: <20090522214418.GA24131@adacore.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Disassemble arbitrary memory with disas? Date: Fri, 22 May 2009 21:51:00 -0000 References: <987444.33167.qm@web50611.mail.re2.yahoo.com> <20090522214418.GA24131@adacore.com> 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-05/txt/msg00152.txt.bz2 On 22 May 2009, at 23:44, Joel Brobecker wrote: > I think that the "x /i" command should work. Have a look at the GDB > documentation on the "x" command, it should give you more details > about how to use the /something modifiers. Indeed. An alternative is "disassemble ". "x/10i
" is easier to type though :) Jonas