From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: gdb gud won't show source code Date: Fri, 20 Feb 2009 08:32:00 +0100 Message-ID: <4DCDFDD1-BC01-44EE-8EC3-68689A1FF34D@Web.DE> References: <63b89039-2f44-45a0-875c-de5e54c44617@g1g2000pra.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235115178 9991 80.91.229.12 (20 Feb 2009 07:32:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2009 07:32:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: viona Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 08:34:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LaPtl-0006PC-Pd for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 08:34:14 +0100 Original-Received: from localhost ([127.0.0.1]:50092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaPsO-0008Rq-V3 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Feb 2009 02:32:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LaPs3-0008Rb-Cf for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 02:32:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LaPry-0008R0-RP for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 02:32:25 -0500 Original-Received: from [199.232.76.173] (port=41499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaPry-0008Qx-LM for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 02:32:22 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:54773) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LaPry-0000ih-93 for help-gnu-emacs@gnu.org; Fri, 20 Feb 2009 02:32:22 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 216F8F85B2D4; Fri, 20 Feb 2009 08:32:08 +0100 (CET) Original-Received: from [91.35.233.103] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #277) id 1LaPrj-0001zl-00; Fri, 20 Feb 2009 08:32:08 +0100 In-Reply-To: <63b89039-2f44-45a0-875c-de5e54c44617@g1g2000pra.googlegroups.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/SNcE0IgAxsoUuBNj08mldeJTUdrBKdwnQAJLD ncL/BWCoyS5Vy0dcxRzilyeEGdO/y18pIQP68f1oZzpcxFyeQy 3juYNpfBQk39QQmm74Yg== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62221 Archived-At: Am 20.02.2009 um 06:41 schrieb viona: > I am not sure whether it's supposed behaviour, cause in all tutorials > I've found there are examples with a.out. The name a.out plays no role. Once gdb has started to run the =20 programme to debug, its sources become available. It helps gdb to =20 have a .gdbinit file in the directory with the binary to debug. Here =20 you can record whether the sources are in a different directory. And =20 more things, for example breakpoints. -- Greetings Pete One person with a belief is a social power equal to ninety-nine who =20 have only interests. =96 John Stuart Mill