From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 903 invoked by alias); 11 Jun 2008 16:26:33 -0000 Received: (qmail 893 invoked by uid 22791); 11 Jun 2008 16:26:32 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-spurfowl.atl.sa.earthlink.net (HELO elasmtp-spurfowl.atl.sa.earthlink.net) (209.86.89.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 16:26:10 +0000 Received: from [209.86.224.39] (helo=elwamui-little.atl.sa.earthlink.net) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1K6T9E-00060S-EC for gdb@sourceware.org; Wed, 11 Jun 2008 12:26:08 -0400 Received: from 66.121.73.254 by webmail.pas.earthlink.net with HTTP; Wed, 11 Jun 2008 12:26:07 -0400 Message-ID: <4779653.1213201568391.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Date: Wed, 11 Jun 2008 16:26:00 -0000 From: Igor Korot Reply-To: Igor Korot To: gdb@sourceware.org Subject: What do I need to look at the source while debugging? Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: ae972db06a188bef94f5150ab1c16ac08868399773331e309f9d55d94a4850c2ef882c0c115df63f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00094.txt.bz2 Hi, ALL, First a question: Is there anybody that using Gentoo + Portage? And now to the problem: I have a Gentoo box installed. On it I have a GNOME with KDevelop, wxGTK, unixODBC and gdb. GNOME, KDevelop and gdb installed through Portage. wxGTK is hand compiled and installed. I installed unixODBC-2.2.12 using following: 'PORTAGE_TMPDIR=/home/igor FEATURES="noclean keepwork" emerge unixODBC' Then I change permissions on the /home/igor/portage/dev-db directory to make it accessible to my user 'igor'. Next, I started KDevelop, open the file /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers/SQLConfigDataSource.c (it did open fine). I put a breakopint in that function, and started my program. At this point I received following message: no file named /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers/SQLConfigDataSource.c. No my questions are: 1. What else is required in order to follow through the source code? 2. Do I have to run the program from the unixODBC source directory? 3. Maybe I just need to change a permissions/ownership of the source tree of unixODBC files? Thank you.