www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, |
<http://sourceware.cygnus.com/ml/#faqs> | |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | Tue, 24 Aug 1999 18:50:00 +0300 |
From: | Paul Sokolovsky <paul-ml AT is DOT lg DOT ua> |
X-Mailer: | The Bat! (v1.32) S/N 34D3AC61 |
Reply-To: | Paul Sokolovsky <paul-ml AT is DOT lg DOT ua> |
X-Priority: | 3 (Normal) |
Message-ID: | <8784.990824@is.lg.ua> |
To: | Rotter Klaus <Klaus DOT Rotter AT erl9 DOT siemens DOT de> |
CC: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Debug info, was: Re: AW: It's compiled and works |
In-reply-To: | <1B6FF887D79FD2119FDB00805FBED48B01C129B2@erlm511a.erl9.siemens.de> |
References: | <1B6FF887D79FD2119FDB00805FBED48B01C129B2 AT erlm511a DOT erl9 DOT siemens DOT de> |
Mime-Version: | 1.0 |
Hello Rotter, Rotter Klaus <Klaus DOT Rotter AT erl9 DOT siemens DOT de> wrote: RK> -rwxr-xr-x 1 15362 everyone 297837 Aug 24 12:51 fptr-g.exe RK> -rwxr-xr-x 1 15362 everyone 296229 Aug 24 12:52 fptr-u.exe RK> -rwxr-xr-x 1 15362 everyone 3072 Aug 24 12:48 fptr.exe RK> fptr-g.exe is compiled with '-g', and fptr-u.exe is just "gcc fptr.c -o fptr-u.exe" RK> fptr.exe is the stripped binary. Maybe without '-g' there is just the debug RK> info of the support libraries included, and with '-g' there is also debug info RK> for the program itself. Right so. Other thing is that gcc (or, more specifically, ld) by default produces COFF symbols in executable, unless you specify -s. COFF symbols are nice thing for everyone who will have your program crashed. Then one may remember crash address, lookup in debugger which function lives by that address and send you sane bugreport ;-) COFF symbols have acceptable size, rarely doubling file size. RK> -- RK> Klaus Rotter, Siemens AG, ATD TD 6 EPG, Postfach 3249, 91020 Erlangen Best regards, Paul mailto:paul-ml AT is DOT lg DOT ua -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |