www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/01/29/04:01:35

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Simone Navari <simnav AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question about traceback with no debug info
Date: Tue, 29 Jan 2008 00:45:56 -0800 (PST)
Organization: http://groups.google.com
Lines: 20
Message-ID: <6a087811-43c3-43bd-a7e1-2e801dae6ec0@1g2000hsl.googlegroups.com>
References: <be948131-d3b5-4c97-816c-356d21294f24 AT d4g2000prg DOT googlegroups DOT com>
<479E4D21 DOT 17893 DOT 11CE4684 AT gerritvn DOT gpvno DOT co DOT za>
NNTP-Posting-Host: 88.40.73.114
Mime-Version: 1.0
X-Trace: posting.google.com 1201596356 6976 127.0.0.1 (29 Jan 2008 08:45:56 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 29 Jan 2008 08:45:56 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: 1g2000hsl.googlegroups.com; posting-host=88.40.73.114;
posting-account=pGBLcQoAAABdJD_A7XoJZtz6f_ckUH3k
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11)
Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 28 Gen, 20:46, "Gerrit van Niekerk" <gerri DOT  DOT  DOT  AT gpvno DOT co DOT za> wrote:
> On 28 Jan 2008 at 7:43, sim DOT  DOT  DOT  AT gmail DOT com wrote:
>
> > Having the source code used to compile a software with no debugging
> > information in the executable, is it possible to know the position in
> > source where a SIGSEGV signal is raised, only using the call frame
> > traceback ? If yes... how ?
>
> Yes, but you will have to compile the source code with symbolic
> debugging (-g). Then you can run symify giving the image with symbols
> as an argument even if the stripped image was run when the SIGSEGV
> happened.

It doesn't work correctly ! I've tryed to crash the same software
linked with and without stripping flag, then calling symify with the
not stripped executable filename, I got different results and
obviously the correct is the one linked without -s flag !
Thank you anyway.

Simone Navari.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019