From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LfCH8-0002bI-Hk for garchives@archives.gentoo.org; Thu, 05 Mar 2009 12:02:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA0F3E01E4; Thu, 5 Mar 2009 12:02:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B4ED4E01E4 for ; Thu, 5 Mar 2009 12:02:05 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 463CE6477F for ; Thu, 5 Mar 2009 12:02:05 +0000 (UTC) Received: from jkt by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1LfCH6-0004bc-Pr for gentoo-commits@lists.gentoo.org; Thu, 05 Mar 2009 12:02:04 +0000 From: "Jan Kundrat (jkt)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, jkt@gentoo.org Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/en: bugzilla-howto.xml X-VCS-Repository: gentoo X-VCS-Files: bugzilla-howto.xml X-VCS-Directories: xml/htdocs/doc/en X-VCS-Committer: jkt X-VCS-Committer-Name: Jan Kundrat Content-Type: text/plain; charset=utf8 Message-Id: Sender: Jan Kundrat Date: Thu, 05 Mar 2009 12:02:04 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 46e602a4-0283-4b25-9444-71cc567efb52 X-Archives-Hash: c5ec20676212f87cd00083a3ba9819f6 jkt 09/03/05 12:02:04 Modified: bugzilla-howto.xml Log: - we use -ggdb, not -ggdb3 - specifying -g -ggdb is redundant Revision Changes Path 1.15 xml/htdocs/doc/en/bugzilla-howto.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugz= illa-howto.xml?rev=3D1.15&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugz= illa-howto.xml?rev=3D1.15&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/bugz= illa-howto.xml?r1=3D1.14&r2=3D1.15 Index: bugzilla-howto.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- bugzilla-howto.xml 26 Jan 2009 07:34:41 -0000 1.14 +++ bugzilla-howto.xml 5 Mar 2009 12:02:04 -0000 1.15 @@ -1,6 +1,6 @@ - + =20 Gentoo Bug Reporting Guide @@ -20,8 +20,8 @@ =20 -1.12 -2009-01-25 +1.13 +2009-03-05 =20 Introduction @@ -125,14 +125,14 @@ Just for reference, bad_code is the program we'll be debugging wi= th gdb later on. As you can see, the program without debugging symbo= ls is 3140 bytes, while the program with them is 6374 bytes. That's close to d= ouble -the size! Two more things can be done for debugging. The first is adding= ggdb3 -to your CFLAGS and CXXFLAGS. This flag adds more debugging information t= han is -generally included. We'll see what that means later on. This is how -/etc/make.conf might look with the newly added flags= . +the size! Two more things can be done for debugging. The first is adding +ggdb to your CFLAGS and CXXFLAGS. This flag adds more debugging +information than is generally included. We'll see what that means later = on. This +is how /etc/make.conf might look with the newly adde= d flags.

=20
-CFLAGS=3D"-O1 -pipe -g -ggdb"
+CFLAGS=3D"-O1 -pipe -ggdb"
 CXXFLAGS=3D"${CFLAGS}"
 
=20 @@ -285,7 +285,7 @@ enabled:

=20 -
+
 (gdb) bt
 #0  0xb7e4bdc0 in strcpy () from /lib/libc.so.6
 #1  0x0804838c in run_it (input=3D0x0) at bad_code.c:7