public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [Fwd: AW: [ECOS] disassemble binary arm-code]
@ 2001-08-14  7:05 Jonathan Larmour
  2001-08-14  7:10 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Larmour @ 2001-08-14  7:05 UTC (permalink / raw)
  To: eCos discussion

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1414 bytes --]

 


To : "'Jonathan Larmour'" <jlarmour at redhat dot com>
Subject : AW: [ECOS] disassemble binary arm-code
From : Edelmann Thomas <Thomas dot Edelmann at nbgm dot siemens dot de>
Date : Tue, 14 Aug 2001 16:00:57 +0200

yes, it's really a pure binary. ;-)

how should this work? the binary has no symbolinformation.

arm-elf-objcopy tells me "File Format not recognized"

bye,
Thomas


> -----Ursprüngliche Nachricht-----
> Von: Jonathan Larmour [ mailto:jlarmour@redhat.com ]
> Gesendet: Dienstag, 14. August 2001 15:51
> An: Andrew Lunn
> Cc: Edelmann Thomas; 'ecos-discuss@sourceware.cygnus.com'
> Betreff: Re: [ECOS] disassemble binary arm-code
> 
> 
> Andrew Lunn wrote:
> > 
> > On Tue, Aug 14, 2001 at 09:22:04AM +0200, Edelmann Thomas wrote:
> > > Hi.
> > >
> > > I have an arm code binary file. (208 bytes)
> > >
> > > Is it possible to disassemble the file??? How???
> > 
> > arm-elf-objdump --disassemble-all myfile
> > 
> > This assumes its an elf file produced by gcc. I think the 
> compile ARM
> > sell use some other format.
> 
> Indeed. If it really is a pure binary file, you could use 
> arm-elf-objcopy
> to convert it to an ELF file. Can't remember the exact 
> options off-hand,
> but it's trivial to look up.
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 
> (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || 
> Opinions==mine
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] [Fwd: AW: [ECOS] disassemble binary arm-code]
  2001-08-14  7:05 [ECOS] [Fwd: AW: [ECOS] disassemble binary arm-code] Jonathan Larmour
@ 2001-08-14  7:10 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2001-08-14  7:10 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: eCos discussion

> how should this work? the binary has no symbolinformation.

Why does it need symbol information? The CPU does not need any to
decode the assembly language!
 
> arm-elf-objcopy tells me "File Format not recognized"

Try the -I option. RTFM.

        Andrew 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-14  7:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-14  7:05 [ECOS] [Fwd: AW: [ECOS] disassemble binary arm-code] Jonathan Larmour
2001-08-14  7:10 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).