> Andreas Schwarz wrote:
> 
> >Steve Underwood wrote:
> >  
> >
> >>Andreas Schwarz wrote:
> >>    
> >>
> >>>Friday, November 22, 2002, 3:15:25 PM, you wrote:
> >>>      
> >>>
> >>>>>Unfortunately I couldn't see the c-source files in Insight. The only
> way to
> >>>>>see the C-source is to use the MIXED mode of the source window. So
> I'm only
> >>>>>able to debug on assembly instruction level. Is there a way to get
> debugging
> >>>>>on C-source level to work? Am I missing something? I also tried to
> replace
> >>>>>the -g option with -ggdb. But no changes.
> >>>>>
> >>>>>          
> >>>>>
> >>>>Its a bug when Insight is built on Windows for the MSP430. It works
> fine 
> >>>>on Linux, but does odd things on Windows. Insight built without MSp430
> 
> >>>>support doesn't have this problem. I only realised this problem
> existed 
> >>>>today - sheer coincidence you posted this! Now I need to fix it!
> >>>>        
> >>>>
> >>>I don't have that problem with Insight, but there are a few other
> >>>small problems (like unreproducable crashes). It doesn't (yet?)
> >>>run very smooth on windows.
> >>>Would it help to port the msp430-patch to a more recent version of GDB?
> >>>5.1.1 is quite old, maybe there have been a few improvements.
> >>>
> >>>      
> >>>
> >>Are you sure, Andreas? When I run the Insight package from your site on 
> >>either XP or Me I get this problem.
> >>    
> >>
> >
> >Yes, I'm sure. As soon as I open my elf-file, the C source is
> >displayed. Are you sure the path of your file doesn't contain any
> >spaces? If you move it to c:\ it should work. Took me a few hours to
> >find out...
> >
> Well, based on what you said I tried again. If my binary is in c:\ then 
> things work. If it is in *any* sub-directory it fails. It doesn't matter 
> if the subdirectory contains spaces or not. I tried it in c:\msp430, for 
> example, and insight does not behave correctly. Putting the binary in 
> the root directory is a nuisance, but at least it gets things working 
> until a proper fix is found.

I can confirm the problem with having the binary in a subdir, than no
c-source shows up in Insight. Could it be, that there is a problem with the
backslash handling? When I ported my makefile from nmake to make I also got some
strange results because of using backslashes instead of slashes? 

I also have another question about Insight. Is there a possibility to do a
reset o the debugging program within Insight without having to download the
program again?

Regards,
Roman

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


Reply via email to