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: Target Settings box does not come up


Cool! I wondered how you ever could debug all this TCL/TK stuff...

It does give an error message:
(ManagedWin::_open) TargetSelection -exportcancel 1 -center -transient
(ManagedWin::_create) win=targetselection args=-exportcancel 1 -center
-transient
(ModalDialog::destructor)   UNPOST ::.targetselection0.targetselection
(ManagedWin::_create) object creation of TargetSelection failed: error
reading extension in GIF image
(ManagedWin::_create) error reading extension in GIF image
    while executing
"image create photo _MORE_ -file [file join $gdb_ImageDir more.gif]"
    (object "::.targetselection0.targetselection" method
"::TargetSelection::build_win" body line 125)
    invoked from within
"build_win"
    while constructing object "::.targetselection0.targetselection" in
::TargetSelection::constructor (body line 5)
    invoked from within
"TargetSelection .targetselection0.targetselection -exportcancel 1"
    ("eval" body line 1)
    invoked from within
"eval TargetSelection .targetselection0.targetselection -exportcancel 1"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 eval $class $newwin $args"


So my GIF images seem to be wrong. A small investigation shows that
about half of them will not display with native Windows applications
either. How did this happen?

When I copy the images and images2 directories from the Insight 6.1
build the target settings box comes up! However I still get the memory
error when downloading a program that downloads fine with 5.2.1:

[...]
(Download::download_it) downloading
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf
(ManagedWin::_open) Download -transient -filename
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf
(ManagedWin::_create) win=download args=-transient -filename
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf
(Download::constructor) -filename
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf
(ManagedWin::_create) object creation of Download failed: unknown option
"-fraction"
(ManagedWin::_create) unknown option "-fraction"
    (object "::.download0.download.f.meter0" method
"::itk::Archetype::itk_initialize" )
    invoked from within
"itk_initialize -steps 100 -fraction 0.0"
    ("eval" body line 1)
    invoked from within
"eval itk_initialize $args"
    while constructing object "::.download0.download.f.meter0" in
::iwidgets::Feedback::constructor (body line 32)
    invoked from within
"::iwidgets::Feedback .download0.download.f.meter0 -steps 100 -fraction
0.0"
    ("uplevel" body line 1)
    invoked from within
"uplevel ::iwidgets::Feedback $pathName $args"
    (procedure "iwidgets::feedback" line 2)
    invoked from within
"iwidgets::feedback $f.meter$i -steps $num_steps -fraction 0.0"
    while constructing object "::.download0.download" in
::Download::constructor (body line 15)
    invoked from within
"Download .download0.download -filename
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf"
    ("eval" body line 1)
    invoked from within
"eval Download .download0.download -filename
G:/Project/Profibus/Software/Slave/Serial/App/Debug_Revision_2/App.elf"
    ("uplevel" body line 1)
    invoked from within
"uplevel \#0 eval $class $newwin $args"
(Download::download_it) starting load
(Download::download_it) load returned Memory access error while loading
section .text.

(Download::download_it) Done loading
 [...]


Does this say that the -fraction option is not recognized?
What does the guru say about this?

Hans


-----Original Message-----
From: Keith Seitz [mailto:keiths@redhat.com] 
Sent: Monday, November 22, 2004 6:12 PM
To: Hans Kester
Cc: insight@sources.redhat.com
Subject: Re: Target Settings box does not come up

On Mon, 2004-11-22 at 03:53, Hans Kester wrote:
> When I start Insight and click on File->Target Settings nothing
happens.
> When I connect anyway (it probably remembered the settings from
previous
> sessions) and try to download my program it says: "DOWNLOAD FAILED:
> Memory access error while loading section .text" which is strange
since
> it does download with Insight 5.2.1.
> 
> Any idea what is wrong?

Open a console window and enter "tk ManagedWin::open DebugWin". Then try
to open the target settings dialog.

Any errors show up?

Keith


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