Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: The Bat! (v1.32) S/N 34D3AC61 Reply-To: Paul Sokolovsky X-Priority: 3 (Normal) Message-ID: <8784.990824@is.lg.ua> To: Rotter Klaus 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Rotter, Rotter Klaus 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