From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23151 invoked by alias); 10 Sep 2007 09:49:05 -0000 Received: (qmail 23132 invoked by uid 22791); 10 Sep 2007 09:49:04 -0000 X-Spam-Check-By: sourceware.org Received: from mms3.broadcom.com (HELO MMS3.broadcom.com) (216.31.210.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 10 Sep 2007 09:49:00 +0000 Received: from [10.10.64.154] by MMS3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.1)); Mon, 10 Sep 2007 02:48:48 -0700 X-Server-Uuid: 20144BB6-FB76-4F11-80B6-E6B2900CA0D7 Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id 6010D2AF; Mon, 10 Sep 2007 02:48:48 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id 4BB282AE; Mon, 10 Sep 2007 02:48:48 -0700 (PDT) Received: from mail-irva-12.broadcom.com (mail-irva-12.broadcom.com [10.10.64.146]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id FQW47900; Mon, 10 Sep 2007 02:48:47 -0700 (PDT) Received: from NT-IRVA-0752.brcm.ad.broadcom.com ( nt-irva-0752.brcm.ad.broadcom.com [10.8.194.67]) by mail-irva-12.broadcom.com (Postfix) with ESMTP id 93CBC69CA4; Mon, 10 Sep 2007 02:48:47 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: RE: Fwd: Decompiler program Date: Mon, 10 Sep 2007 15:49:00 -0000 Message-ID: In-Reply-To: <1a47b9f10709070637i2bdb4f7aw48d37680fcf4b809@mail.gmail.com> References: <1a47b9f10709061414m3344094m1f9da016cf1f765c@mail.gmail.com> <1a47b9f10709061417t6a8778bboe741ecbe31c2b0eb@mail.gmail.com> <1a47b9f10709061418h4b60ed07od05d07718e4809b5@mail.gmail.com> <46E0732F.7060309@adacore.com> <1a47b9f10709070637i2bdb4f7aw48d37680fcf4b809@mail.gmail.com> From: "Robert Norton" To: "Prasanna .S" , gdb@sourceware.org X-WSS-ID: 6AFBCC8A6B01389544-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: 2007-09/txt/msg00097.txt.bz2 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Prasanna .S > Sent: 07 September 2007 14:37 > To: gdb@sourceware.org > Subject: Re: Fwd: Decompiler program > More precisely can you trace through instruction by instruction > emitted by objdump, > by a objdump/gdb lib combination? Have you tried the 'disassemble' (also x/i
) command in gdb? It provides disassembly of the current function or of a given range of addresses. Perhaps this, combined with the nexti / stepi commands, will allow you to trace execution at assembly level? Turning this into HLL code using decompilation techniques (via a 'decompile' command) would be an interesting feature. My apologies if I have misundertsood what you are asking for. Robert