From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23484 invoked by alias); 21 Nov 2001 15:54:04 -0000 Mailing-List: contact cgen-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.cygnus.com Received: (qmail 23442 invoked from network); 21 Nov 2001 15:54:00 -0000 From: "Stephen Done" To: "Frank Ch. Eigler" Cc: Subject: RE: Using CGEN Disassembler Date: Mon, 05 Nov 2001 17:03:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <20011121104612.A30770@redhat.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2001-q4/txt/msg00016.txt.bz2 Thanks Frank, You're right ! I was barking up the wrong tree completely. Typing M32R and disassembler into google brings up 100s of matches for CGEN (and you !), and nothing for objdump. Thanks for the info, I'll go away and get those binutils. Cheers Steve > -----Original Message----- > From: Frank Ch. Eigler [mailto:fche@redhat.com] > Sent: 21 November 2001 15:46 > To: Stephen Done > Cc: cgen@sources.redhat.com > Subject: Re: Using CGEN Disassembler > > > Hi - > > On Wed, Nov 21, 2001 at 02:45:27PM -0000, Stephen Done wrote: > : I would like to use CGEN to disassemble some code for the > Mitsubishi M32R > : processor. > : [...] > : All I need is the command to take a binary file and convert it > to assembler. > : I've done as much RTFM'ing as I can, and I'm not getting anywhere. > > Thanks for looking into it before asking the question! > > Why do you think you need to deal with cgen directly for this task? > Are you aware that if you compile a m32r cross toolchain (or at least > binutils), you get an objdump program that can disassemble stuff for you? > > cvs [...] co binutils > /[src]/configure --target=m32r-elf --prefix=[installtree] > make all install > [installtree]/bin/m32r-elf-objdump -d program.elf > > - FChE > From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stephen Done" To: "Frank Ch. Eigler" Cc: Subject: RE: Using CGEN Disassembler Date: Wed, 21 Nov 2001 07:54:00 -0000 Message-ID: References: <20011121104612.A30770@redhat.com> X-SW-Source: 2001-q4/msg00041.html Message-ID: <20011121075400.-g69xL1H8WRB0iJZIMCDdLfLvcG8CgK22smS95GE99A@z> Thanks Frank, You're right ! I was barking up the wrong tree completely. Typing M32R and disassembler into google brings up 100s of matches for CGEN (and you !), and nothing for objdump. Thanks for the info, I'll go away and get those binutils. Cheers Steve > -----Original Message----- > From: Frank Ch. Eigler [ mailto:fche@redhat.com ] > Sent: 21 November 2001 15:46 > To: Stephen Done > Cc: cgen@sources.redhat.com > Subject: Re: Using CGEN Disassembler > > > Hi - > > On Wed, Nov 21, 2001 at 02:45:27PM -0000, Stephen Done wrote: > : I would like to use CGEN to disassemble some code for the > Mitsubishi M32R > : processor. > : [...] > : All I need is the command to take a binary file and convert it > to assembler. > : I've done as much RTFM'ing as I can, and I'm not getting anywhere. > > Thanks for looking into it before asking the question! > > Why do you think you need to deal with cgen directly for this task? > Are you aware that if you compile a m32r cross toolchain (or at least > binutils), you get an objdump program that can disassemble stuff for you? > > cvs [...] co binutils > /[src]/configure --target=m32r-elf --prefix=[installtree] > make all install > [installtree]/bin/m32r-elf-objdump -d program.elf > > - FChE >