From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20741 invoked by alias); 16 Jun 2008 18:42:49 -0000 Received: (qmail 20726 invoked by uid 22791); 16 Jun 2008 18:42:47 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-dupuy.atl.sa.earthlink.net (HELO elasmtp-dupuy.atl.sa.earthlink.net) (209.86.89.62) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jun 2008 18:42:26 +0000 Received: from [209.86.224.39] (helo=elwamui-little.atl.sa.earthlink.net) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1K8Jej-0003BD-Lx; Mon, 16 Jun 2008 14:42:17 -0400 Received: from 66.121.73.254 by webmail.pas.earthlink.net with HTTP; Mon, 16 Jun 2008 14:42:17 -0400 Message-ID: <32775440.1213641737563.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Date: Mon, 16 Jun 2008 18:42: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: Daniel Jacobowitz , Fahd Abidi , 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: ae972db06a188bef94f5150ab1c16ac08868399773331e3012d6696bcc2edeec3366075969bcd696350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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/msg00164.txt.bz2 Hi, Michael, -----Original Message----- >From: Michael Snyder >Sent: Jun 16, 2008 10:38 AM >To: Igor Korot >Cc: Daniel Jacobowitz , Fahd Abidi , gdb@sourceware.org >Subject: Re: What do I need to look at the source while debugging? > >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. I'm sorry, I guess I hit the "Send" button too fast. And yes, I'm not very familiar with the gdb, I'm just using it locally to debug my program. But I guess I should'nt said that comment, and you' re absolutely correct. Thank you and I am not offended at all. > > >