X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Simone Navari 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: <479E4D21 DOT 17893 DOT 11CE4684 AT gerritvn DOT gpvno DOT co DOT za> NNTP-Posting-Host: 88.40.73.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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" 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.