From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29682 invoked by alias); 16 Jun 2008 16:41:30 -0000 Received: (qmail 29674 invoked by uid 22791); 16 Jun 2008 16:41:29 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jun 2008 16:41:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 253F79840F; Mon, 16 Jun 2008 16:41:08 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D1B829840B; Mon, 16 Jun 2008 16:41:07 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K8HlT-0006vC-4n; Mon, 16 Jun 2008 12:41:07 -0400 Date: Mon, 16 Jun 2008 16:41:00 -0000 From: Daniel Jacobowitz To: Igor Korot Cc: Fahd Abidi , Michael Snyder , gdb@sourceware.org Subject: Re: What do I need to look at the source while debugging? Message-ID: <20080616164107.GA26545@caradoc.them.org> Mail-Followup-To: Igor Korot , Fahd Abidi , Michael Snyder , gdb@sourceware.org References: <14479600.1213632371027.JavaMail.root@elwamui-little.atl.sa.earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14479600.1213632371027.JavaMail.root@elwamui-little.atl.sa.earthlink.net> User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00161.txt.bz2 On Mon, Jun 16, 2008 at 09:06:10AM -0700, Igor Korot wrote: > >You will need to attach this gdb session to a gdbserver to begin the > >debugging. So start your application with the following commands: > > > >linux# gdbserver SQLDriverConnectW.o > > > >I forget the exact command to give to gdbserver to specify what port you > >will use to connect. Next from gdb connect to the gdbserver: > > > >(gdb) target remote ****your connection settings**** FYI, this is for remote debugging. Igor, I believe you're using native debugging, so this does not apply. It sounds like your problem is specific to the Gentoo build system. Have you considered trying a Gentoo list? Maybe someone there will recognize it. -- Daniel Jacobowitz CodeSourcery