If you do not mind seeing the entire file, try xxd -E <filename>.  xxd is
a tool that comes with vim.

Ray Higgs
System z FCP Development
Bld. 706, B24
2455 South Road
Poughkeepsie, NY 12601
(845) 435-8666,  T/L 295-8666
[EMAIL PROTECTED]

Linux on 390 Port <[email protected]> wrote on 04/01/2008 06:31:55
PM:

> readelf -x 1 <filename> produces
>
> Hex dump of section '.text':
>   0x00000000 582080b8 1a284130 00481841 18530e24 X ...(A0.H.A.S.$
>   0x00000010 c0200000 c905d200 20000010 412001b0 . ...... ...A ..
>   0x00000020 483080c0 41408068 41500050 0e244130 [EMAIL PROTECTED]
>   0x00000030 00014120 03e858f0 80bcae30 00124780 ..A ..X....0..G.
>   0x00000040 80c247d0 804e46f0 80464620 8036b222 ..G..NF..FF .6."
>   0x00000050 00408940 00028840 001e8200 80600000 [EMAIL PROTECTED]@[EMAIL 
> PROTECTED]
>   0x00000060 000a0000 80dead00 00020001 80000000 ................
>   0x00000070 00000000 00fffff0 00020001 80000000 ................
>
> As you can see, the display is showing ASCII interpretations of the
> hex code. This is assembled as 390.
>
> Is there any way I can get the display area to show me the EBCDIC
translation?
>
>
>
> ----- Original Message ----
> From: Mark Post <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Tuesday, April 1, 2008 11:53:02 AM
> Subject: Re: readelf/objdump displays
>
> >>> On Tue, Apr 1, 2008 at  2:14 PM, in message
> <[EMAIL PROTECTED]>, Warren Taylor
> <[EMAIL PROTECTED]> wrote:
> > anyone know how to get readelf and/or objdump to show my ebcdic
eyecatchers?
> >
> > seems these guys can't recognize the ebcdic characters and its really
> > slowing me down searching the the hex code.
>
> What are the exact commands you're issuing, and what results are
youexpecting?
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to