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 Wed, 2008-06-11 at 09:26 -0700, Igor Korot wrote:
> Hi, ALL,
> First a question: Is there anybody that using Gentoo + Portage?
> 
> And now to the problem:
> 
> I have a Gentoo box installed. On it I have a GNOME with KDevelop,
> wxGTK, unixODBC and gdb. GNOME, KDevelop and gdb installed through
> Portage. wxGTK is hand compiled and installed.
> I installed unixODBC-2.2.12 using following:
> 
> 'PORTAGE_TMPDIR=/home/igor FEATURES="noclean keepwork" emerge unixODBC'
> 
> Then I change permissions on the /home/igor/portage/dev-db directory
> to make it accessible to my user 'igor'.
> Next, I started KDevelop, open the file /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers/SQLConfigDataSource.c (it did open fine).
> I put a breakopint in that function, and started my program.
> At this point I received following message:
> 
> no file named /home/igor/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/Drivers/SQLConfigDataSource.c.

Is that the correct location of your source files?

If so, could there be a directory along that path in which user 'igor'
does not have read permission?

If not, you can override gdb's source file search path by using the
"dir" command (see "help dir")

Michael



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