Re: Executable built in Debog or relase mode
From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 04/07/04
- Previous message: Naren: "Re: Executable built in Debog or relase mode"
- In reply to: Naren: "Re: Executable built in Debog or relase mode"
- Next in thread: Naren: "Re: Executable built in Debog or relase mode"
- Reply: Naren: "Re: Executable built in Debog or relase mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 06 Apr 2004 22:43:44 -0700
naren_on_net@hotmail.com (Naren) writes:
A: Because it makes the message harder to read.
Q: Why should I not top-post?
Please do not top-post.
> I use Solaris and HPUX. I would like to know for these OS.
On Solaris:
If the output from 'elfdump -c a.out | grep stabstr' is similar
to this:
Section Header[26]: sh_name: .stabstr
the exe has debug info in STABS format.
If the output from 'elfdump -c a.out | grep debug' is similar
to this:
Section Header[19]: sh_name: .debug_line
Section Header[20]: sh_name: .debug_info
Section Header[21]: sh_name: .debug_abbrev
Section Header[22]: sh_name: .debug_pubnames
Section Header[23]: sh_name: .debug_varnames
the exe has debug info in DWARF format.
On HP-UX 11i for PA-RISC in 64-bit and for IA64 in 32 and 64-bit,
you have a debug exe if the ouput from 'elfdump -c a.out | grep
debug' is similar to:
1276 .debug_gntt
1288 .debug_lntt
1300 .debug_slt
1311 .debug_vt
284 .debug_header
298 .debug_gntt
310 .debug_lntt
322 .debug_slt
333 .debug_vt
Finally, on HP-UX 11i for PA-RISC 32-bit exe has debug info if
'odump -subspaces a.out | egrep "SLT|GNTT|LNTT"' results in output
like this:
18 2 00 ....0...... 0 00007030 000188 00006e58 000188 4 0 0 $GNTT$
19 2 00 ....0...... 0 000071b8 004428 00006fe0 004428 4 0 0 $LNTT$
20 2 00 ....0...... 0 0000b5e0 000288 0000b408 000288 4 0 0 $SLT$
Cheers,
-- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.
- Previous message: Naren: "Re: Executable built in Debog or relase mode"
- In reply to: Naren: "Re: Executable built in Debog or relase mode"
- Next in thread: Naren: "Re: Executable built in Debog or relase mode"
- Reply: Naren: "Re: Executable built in Debog or relase mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|