This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
RE: Using CGEN Disassembler
- From: "Stephen Done" <stephen dot done at cw dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: <cgen at sources dot redhat dot com>
- Date: Wed, 21 Nov 2001 15:53:52 -0000
- Subject: RE: Using CGEN Disassembler
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
>