This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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: duplicated source file names


On Thu, 2003-08-14 at 00:08, John Williams wrote:

> However, when debugging this in insight, it only seems to be able to 
> "recognise" one instance of a particular filename.  So, even though I 
> type in the name of a function in the function drop down 
> "ext2_read_super", which exists in fs/ext2/super.c, Insight displays the 
> file /fs/super.c.

This is a pretty well-known issue for me... I still have nightmares
about it. The problem is not really insight, as I recall. Here's how to
check:

Try a couple of things. Open a console window and enter the commands:

- "list ext2_read_super": Does it return the correct source?
- "info func ext2_read_super": Right info?
- "tk gdbtk_loc ext_read_super": Right info?

Send results to the list. I'm pretty sure that gdb is failing on this,
but it has been a while, and maybe they fixed it and Insight is behind
the times.

BTW, gdb/insight 5.0 is WAY old... Even if it is a gdb problem, I doubt
you're going to get much help with a release that several years old.

Keith



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