public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Insight and KGDB
       [not found] <F8wAz8AWiZAtGYkNUTv0000066a@hotmail.com>
@ 2002-10-21  7:59 ` Keith Seitz
  0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2002-10-21  7:59 UTC (permalink / raw)
  To: weiming liu; +Cc: insight

[Moved to list -- others may be interested to know what you're up to]

On Mon, 21 Oct 2002, weiming liu wrote:

>      Insight is a great tool for kernel debug. I tried to integrate 
> kgdb(kgdb.sourceforge.net) and Insight( on MS win2000) to debug a linux 
> kernel file system. Connection and breakpoint are ok. But source mode of 
> source window doesn't work. It's automatically changed into assembly mode.  
> I open vmlinux with file/open menu. What's wrong ? Could you give me a hand 
> to address this issue?

Insight will automatically switch to assembly mode when it cannot find the 
source files for a given module. The first step is to determine if your 
image has debug info and whether gdb can find/parse that info.

We'll need much more info about the executable you're attempting to debug. 
I presume your stopped in a C function? If so, what does gdb say about 
this function? ("info func FUNCTION_NAME")

If you're NOT stopped at a function but in an assembler source file, what 
does gdb say about it? (try "list ASM_FILE:1")

Keith


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-21 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <F8wAz8AWiZAtGYkNUTv0000066a@hotmail.com>
2002-10-21  7:59 ` Insight and KGDB Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).