This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]