From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
by nuthatch.gentoo.org with esmtp (Exim 4.43)
id 1Dt0Eu-0007Cs-AB
for garchives@archives.gentoo.org; Thu, 14 Jul 2005 09:42:44 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6E9gXSB021607;
Thu, 14 Jul 2005 09:42:33 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30])
by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6E9gWTj002375
for ; Thu, 14 Jul 2005 09:42:32 GMT
Message-Id: <200507140942.j6E9gWTj002375@robin.gentoo.org>
Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org)
by smtp.gentoo.org with smtp (Exim 4.43)
id 1Dt0Em-0002Kp-3g
for gentoo-doc-cvs@lists.gentoo.org; Thu, 14 Jul 2005 09:42:36 +0000
Received: by lark.gentoo.org (sSMTP sendmail emulation); Thu, 14 Jul 2005 09:42:27 +0000
From: "Sven Vermeulen"
Date: Thu, 14 Jul 2005 09:42:27 +0000
To: gentoo-doc-cvs@lists.gentoo.org
Subject: [gentoo-doc-cvs] cvs commit: debugging-howto.xml
Precedence: bulk
List-Post:
List-Help:
List-Unsubscribe:
List-Subscribe:
List-Id: Gentoo Linux mail
X-BeenThere: gentoo-doc-cvs@gentoo.org
Reply-to: docs-team@lists.gentoo.org
X-Archives-Salt: 32edfd52-9f62-49c9-a851-8498fb21b43b
X-Archives-Hash: a25771d494cb6ab6c28f860584e7e90b
swift 05/07/14 09:42:27
Modified: xml/htdocs/doc/en/draft debugging-howto.xml
Log:
Coding Style
Revision Changes Path
1.3 +27 -26 xml/htdocs/doc/en/draft/debugging-howto.xml
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/draft/debugging-howto.xml?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/draft/debugging-howto.xml?rev=1.3&content-type=text/plain&cvsroot=gentoo
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/draft/debugging-howto.xml.diff?r1=1.2&r2=1.3&cvsroot=gentoo
Index: debugging-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/draft/debugging-howto.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- debugging-howto.xml 13 Jul 2005 18:58:31 -0000 1.2
+++ debugging-howto.xml 14 Jul 2005 09:42:27 -0000 1.3
@@ -1,6 +1,6 @@
-
+
Gentoo Linux Debugging Guide
@@ -138,8 +138,8 @@
-Lastly, you can also add debug to the package's USE flags. This can be done with the
-package.use file.
+Lastly, you can also add debug to the package's USE flags. This can be done
+with the package.use file.
@@ -245,8 +245,8 @@
run_it(), and somewhere in run_it() lies the strcpy() at fault. Things such as
this help developers narrow down problems. There are a few exceptions to the
output. First off is forgetting to enable debug symbols with
-FEATURES="nostrip". With debug symbols stripped, the output looks something
-like this:
+FEATURES="nostrip". With debug symbols stripped, the output looks
+something like this:
@@ -311,13 +311,14 @@
-As you can see, -ggdb3 adds about 13178 more bytes to the file size over the one
-with debugging symbols. However, as shown above, this increase in file size can
-be worth it if presenting debug information to developers. The backtrace can be
-saved to a file by copying and pasting from the terminal (if it's a non-x based
-terminal, you can use gpm. To keep this doc simple, I recommend you read up on
-the documentation for gpm to see how to copy and paste with it). Now that we're
-done with gdb, we can quit.
+As you can see, -ggdb3 adds about 13178 more bytes to the file size
+over the one with debugging symbols. However, as shown above, this increase
+in file size can be worth it if presenting debug information to developers.
+The backtrace can be saved to a file by copying and pasting from the
+terminal (if it's a non-x based terminal, you can use gpm. To keep this
+doc simple, I recommend you read up on the documentation for gpm to see
+how to copy and paste with it). Now that we're done with gdb, we
+can quit.
@@ -327,11 +328,11 @@
-This ends the walk-through of gdb. Using gdb, we hope that you will
-be able to use it to create better bug reports. However, there are other types
-of errors that can cause a program to fail during run time. One of the other
-ways is through improper file access. We can find those using a nifty little
-tool called strace.
+This ends the walk-through of gdb. Using gdb, we hope that you
+will be able to use it to create better bug reports. However, there are other
+types of errors that can cause a program to fail during run time. One of the
+other ways is through improper file access. We can find those using a nifty
+little tool called strace.