[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GDB



On Tue, May 19, 1998 at 11:52:24PM +0300, shaul wrote:
> > On Sun, 17 May 1998, Pete Poff wrote:
> > 
> > > I'm using the "-g" flag.  But gdb will tell me what code is causing the
> > > crash right?
> > > 
> > > Thanks,
> > > 
> > 
> > It will depend.  If the binary is stripped, you might not get much
> > information out of it.
> 
> What is a stripped binary ? What are the other possibilties ?
> 
from "man strip"
       GNU strip discards all symbols from the object files
       objfile.  The list of object files may include archives.
       At least one object file must be given.

       strip modifies the files named in its argument, rather
       than writing modified copies under different names.

so a stipped binary is one without any clothes on...er
I mean one without any symbols in it :)
(which is why it wont give much info if you run gdb on it)
of course you usually get the most info if it is compiled with debugging
symbols on...which would then be silly to strip it :)
-Steve
-- 
** Stephen Carpenter ** ** ** ** ** ** ** ** ** ** ** ** sjc@delphi.com **
"We do everything by custom, even belive by it; our very axioms, let us
 boast of free-thinking as we may, are oftenest simply such beliefs 
 as we have never questioned"
--Thomas Carlyle 

Attachment: pgpMY6p6CfjXK.pgp
Description: PGP signature


Reply to: