From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7720 invoked by alias); 16 Jun 2008 17:38:35 -0000 Received: (qmail 7712 invoked by uid 22791); 16 Jun 2008 17:38:35 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jun 2008 17:38:17 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 011DB3BFF1; Mon, 16 Jun 2008 10:38:15 -0700 (PDT) Subject: Re: What do I need to look at the source while debugging? From: Michael Snyder To: Igor Korot Cc: Daniel Jacobowitz , Fahd Abidi , gdb@sourceware.org In-Reply-To: <28117988.1213636606282.JavaMail.root@elwamui-little.atl.sa.earthlink.net> References: <28117988.1213636606282.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Content-Type: text/plain Date: Mon, 16 Jun 2008 17:38:00 -0000 Message-Id: <1213637895.3601.943.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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/msg00163.txt.bz2 On Mon, 2008-06-16 at 10:16 -0700, Igor Korot wrote: > Hi, Daniel, > > -----Original Message----- > >From: Daniel Jacobowitz > >Sent: Jun 16, 2008 9:41 AM > >To: Igor Korot > >Cc: Fahd Abidi , Michael Snyder , gdb@sourceware.org > >Subject: Re: What do I need to look at the source while debugging? > > > >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. > > Yes, I'm using native debugging, ie locally. Igor, I generally don't like it when other people tell me "rtfm", but it sounds a little like you haven't read the documentation very carefully, and that that might be a reasonable next step for you.