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?


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.
>
>


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