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: gdb at sourceware dot org
- Date: Wed, 11 Jun 2008 21:34:06 -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>
Michael,
-----Original Message-----
>From: Michael Snyder <msnyder@specifix.com>
>Sent: Jun 11, 2008 11:44 AM
>To: Igor Korot <ikorot@earthlink.net>
>Cc: gdb@sourceware.org
>Subject: Re: What do I need to look at the source while debugging?
>
>On Wed, 2008-06-11 at 10:53 -0700, Igor Korot wrote:
>
>> >If not, you can override gdb's source file search path by using the
>> >"dir" command (see "help dir")
>>
>> You mean like this:
>>
>> gdb myprogram
>> gdb> dir /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers
>>
>> right?
I tried that.
The gdb says exactly the same thing.
Now, when I try just run the program under KDevelop + gdb (i.e. hit F9 in KDevelop), go to the
call I am looking for and hit F11 (step in), I receive following message:
"Debugger reported following error.
Warning: Cannot insert breakpoint 0. Error accessing memory address
0xnnnnnnnn. Input/output error.
"
Any suggestions?
I can freely step through the wxGTK code, as it is compiled by hand...
Thank you.
>
>Right.
>
>