Re: Executable built in Debog or relase mode

From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 04/07/04

  • Next message: Rev Brian: "Re: Need a free UNIX SHELL"
    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.
    

  • Next message: Rev Brian: "Re: Need a free UNIX SHELL"

    Relevant Pages

    • Re: Update #1 - Initialization Failure on Running Apps...
      ... I have exactly the same problem after actually compiling the application. ... so when using the "old" exe and debug info things are ... then repair again and I'm hoping that it'll download a fresh update. ...
      (borland.public.delphi.non-technical)
    • Re: Debug info
      ... > I have a relatively large application which comprises of one EXE (quite ... > The vcl suite of packages however, cannot be re-built with debug info as we ... > than the BPL as the currently selected package in delphi and relying on the ...
      (borland.public.delphi.ide)
    • Re: Locating procedures within an EXE
      ... >and i am not sure if the Export functions work in a EXE file.. ... > simply putting it, EXE from Delphi is mostly pure CPU code., the only ... Further to this - I actually suspect that Delphi executables contain a ... debug info, of TD32 debug info), then you should have huge amounts of ...
      (comp.lang.pascal.delphi.misc)
    • Creating .exe with having debug info in itself
      ... Can anybody help me out in creating the .exe which also contains ... Though generally .pdb files are used to contain debug info, ... by .NET compiler. ...
      (microsoft.public.vc.language)