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: Igor Korot <ikorot at earthlink dot net>
- To: Michael Snyder <msnyder at specifix dot com>
- 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 11:42:17 -0700 (GMT-07:00)
- Subject: Re: What do I need to look at the source while debugging?
- Reply-to: Igor Korot <ikorot at earthlink dot net>
Hi, Michael,
-----Original Message-----
>From: Michael Snyder <msnyder@specifix.com>
>Sent: Jun 16, 2008 10:38 AM
>To: Igor Korot <ikorot@earthlink.net>
>Cc: Daniel Jacobowitz <drow@false.org>, Fahd Abidi <fabidi@ultsol.com>, 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 <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.
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.
>
>
>