This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <drow@false.org>
> >Sent: Jun 16, 2008 9:41 AM
> >To: Igor Korot <ikorot@earthlink.net>
> >Cc: Fahd Abidi <fabidi@ultsol.com>, Michael Snyder <msnyder@specifix.com>, 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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]