From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17347 invoked by alias); 12 Jun 2008 04:34:34 -0000 Received: (qmail 17339 invoked by uid 22791); 12 Jun 2008 04:34:33 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-scoter.atl.sa.earthlink.net (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Jun 2008 04:34:09 +0000 Received: from [209.86.224.47] (helo=elwamui-rubis.atl.sa.earthlink.net) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1K6eVi-0003g5-Tq; Thu, 12 Jun 2008 00:34:06 -0400 Received: from 76.246.53.186 by webmail.pas.earthlink.net with HTTP; Thu, 12 Jun 2008 00:34:06 -0400 Message-ID: <28475522.1213245246917.JavaMail.root@elwamui-rubis.atl.sa.earthlink.net> Date: Thu, 12 Jun 2008 04:34:00 -0000 From: Igor Korot Reply-To: Igor Korot To: Michael Snyder Subject: Re: What do I need to look at the source while debugging? Cc: gdb@sourceware.org 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: ae972db06a188bef94f5150ab1c16ac08868399773331e30b9484433924d66593459bbedb3fafece350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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/msg00109.txt.bz2 Michael, -----Original Message----- >From: Michael Snyder >Sent: Jun 11, 2008 11:44 AM >To: Igor Korot >Cc: gdb@sourceware.org >Subject: Re: What do I need to look at the source while debugging? > >On Wed, 2008-06-11 at 10:53 -0700, Igor Korot wrote: > >> >If not, you can override gdb's source file search path by using the >> >"dir" command (see "help dir") >> >> You mean like this: >> >> gdb myprogram >> gdb> dir /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers >> >> right? I tried that. The gdb says exactly the same thing. Now, when I try just run the program under KDevelop + gdb (i.e. hit F9 in KDevelop), go to the call I am looking for and hit F11 (step in), I receive following message: "Debugger reported following error. Warning: Cannot insert breakpoint 0. Error accessing memory address 0xnnnnnnnn. Input/output error. " Any suggestions? I can freely step through the wxGTK code, as it is compiled by hand... Thank you. > >Right. > >