This is the mail archive of the insight@sourceware.cygnus.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]

Problems viewing source code withing Insight GDB




Dear Insight,

I recently got Insight GDB working with a remote m68k-coff target using a serial
link and the GDB Remote Protocol.
GREAT!!
I can now debug programs within the 68340 processor using a modified
m68k-debugging stub.
However the "assembly" and "mixed" views seem to work correctly, when I try to
view in 'SOURCE' or 'SRC+ASM' mode, I get the following error:

Error: pane2 is not an avtive pane name.

Stack trace for error:
=================
pane2 is not an active pane name.
    while executing
"error "$pane1 is not an active pane name.""
    (object "::.srcwin0.srcwin.container.pane1.childsite.con.p" method
"::cyg::PanedWindow::replace" body line 4)
    invoked from within
"$itk_interior.p replace $oldpane $pane"
    (object "::.srcwin0.srcwin.container.pane1.childsite.con" method
"::SrcTextWin::LoadFromCache" body line 17)
    invoked from within
"LoadFromCache $w $name "" $lib"
    (object "::.srcwin0.srcwin.container.pane1.childsite.con" method
"::SrcTextWin::LoadFile" body line 7)
    invoked from within
"LoadFile $w $filename $lib $mtime"
    (object "::.srcwin0.srcwin.container.pane1.childsite.con" method
"::SrcTextWin::FillSource" body line 12)
    invoked from within
"FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib"
    ("SOURCE" arm line 2)
    invoked from within
"switch $current(mode) {
    SOURCE {
      FillSource t $tagname $filename $funcname $line $addr $pc_addr $lib
    }
    ASSEMBLY {
      FillAssembly..."
    (object "::.srcwin0.srcwin.container.pane1.childsite.con" method
"::SrcTextWin::location" body line 26)
    invoked from within
"$twin location $tag $name $funcname $line $addr $pc_addr $lib"
    (object "::.srcwin0.srcwin" method "::SrcWin::location" body line 52)
    invoked from within
"location BROWSE_TAG $result"
    (object "::.srcwin0.srcwin" method "::SrcWin::goto_func" body line 19)
    invoked from within
"::.srcwin0.srcwin goto_func .srcwin0.srcwin.container.pane3.childsite.con.func
main"
    (in namespace inscope "::SrcWin" script line 1)
    invoked from within
"namespace inscope ::SrcWin {::.srcwin0.srcwin goto_func}
.srcwin0.srcwin.container.pane3.childsite.con.func main"
    ("after" script)errorCode is NONE

=====================

I looked into some TCL/TK script (like "scrtextwin") but I'm not really into the
 TCL/TK language so i did not manage to find a bug in it.

Hoping that you can help me solving this problem,
Kind regars,

Paul Heijmann,
OMRON ETC
The Netherlands.





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