From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25639 invoked by alias); 15 Jun 2008 04:02:57 -0000 Received: (qmail 25617 invoked by uid 22791); 15 Jun 2008 04:02:56 -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; Sun, 15 Jun 2008 04:02:35 +0000 Received: from [209.86.224.45] (helo=elwamui-polski.atl.sa.earthlink.net) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1K7jRn-0006de-Gd; Sun, 15 Jun 2008 00:02:31 -0400 Received: from 66.245.58.253 by webmail.pas.earthlink.net with HTTP; Sun, 15 Jun 2008 00:02:30 -0400 Message-ID: <21100545.1213502551414.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Date: Sun, 15 Jun 2008 04:02: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: ae972db06a188bef94f5150ab1c16ac08868399773331e30c019375f8ee18f8af3aff68e290e3350350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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/msg00148.txt.bz2 Hi, I just tried to use a 'load' command: (gdb) load /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/DriverManager/SQLDriverConnectW.c `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. You can't do that when your target is `multi-thread' What does this mean? I just used KDdevelop to create a project... and simply trying: (gdb) break /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/DriverManager/SQLDriverConnect.c:616 No source file named /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/DriverManager/SQLDriverConnect.c. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 2 (/home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/DriverManager/SQLDriverConnect.c:616) pending. However the file exists and I have a reading permission... Thank you. -----Original Message----- >From: Michael Snyder >Sent: Jun 11, 2008 2:44 PM >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? > >Right. > >