This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: What do I need to look at the source while debugging?
- From: Michael Snyder <msnyder at specifix dot com>
- To: Igor Korot <ikorot at earthlink dot net>
- Cc: Daniel Jacobowitz <drow at false dot org>, Fahd Abidi <fabidi at ultsol dot com>, gdb at sourceware dot org
- Date: Mon, 16 Jun 2008 10:38:15 -0700
- Subject: Re: What do I need to look at the source while debugging?
- References: <28117988.1213636606282.JavaMail.root@elwamui-little.atl.sa.earthlink.net>
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.