This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos 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]

Insight error. and how to remove the "memory" of Insight. More detail.


Hi all:
    While I try to debug the program in Insight. When I select another file
for viewing the error comes out in the following dialog:

GDB Error
Error: bad text index "4"
   OK    Stack Track


( After I click the "Stack Track")
bad text index "4"
    while executing
"$win tag add $tag $linenum.0 $stop"
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextWin::insertBreakTag" body line 31)
    invoked from within
"insertBreakTag $win $linenum $tag_type"
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextWin::do_bp" body line 90)
    invoked from within
"do_bp $twin $action $linenum $type $bpnum $enabled $thread 0"
    ("SOURCE" arm line 3)
    invoked from within
"switch $current(mode) {
    SOURCE {
      if {[string compare $file $current(filename)] == 0 && $linenum != {}}
{
	do_bp $twin $action $linenum $type..."
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextWin::bp" body line 4)
    invoked from within
"bp create $bpnum $addr $line $file $type $enabled"
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextWin::display_breaks" body line 30)
    invoked from within
"display_breaks"
    (object "::.srcwin0.srcwin.container.pane2.childsite.con" method
"::SrcTextWin::location" body line 69)
    invoked from within
"$twin location $tag $name $funcname $line $addr $pc_addr $lib"
    (object "::.srcwin0.srcwin" method "::SrcWin::location" body line 60)
    invoked from within
"location BROWSE_TAG [list $val "" $full 0 0 0 {}]"
    (object "::.srcwin0.srcwin" method "::SrcWin::_name" body line 26)
    invoked from within
"::.srcwin0.srcwin _name .srcwin0.srcwin.container.pane1.childsite.con.name
ks5000_ether.c"
    (in namespace inscope "::SrcWin" script line 1)
    invoked from within
"namespace inscope ::SrcWin {::.srcwin0.srcwin _name}
.srcwin0.srcwin.container.pane1.childsite.con.name ks5000_ether.c"
    ("after" script)errorCode is NONE



I am on ARM E7T with Samsung KS3C4510 Ethernet device driver, LWIP package.
the error occurs when I switch to ks5000_ether.c file for viewing.
BTW I have set the break point in this file, even I remove the break point
it stop at where it is used to be a break point everytime  launch the
Insight again.  How can I remove the "memory" of the Insight? ( I have
already rebuilt the Insight 5.2)

Thanks a lot.

james


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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