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... > So far I have not had a single crash. > What were you doing at the time of your crashes? I remember a few crashes while I was experimenting with the Insight settings, especially when I didn't yet know the problem with the spaces. But now that I know how to avoid this bug, nearly everything works like it should (no comparison to that crappy C-Spy)! The only thing that doesn't work at the moment is "Finish". It just runs and runs without a break, and when I press "stop" Insight says "no response from target". Another question concerning Insight: what do I do when I have recompiled the program and want to reload it? Do I have to open the file again and reconnect to the target, or is there another possibility? Thanks Andreas -- WWW: http://andreas-s.net ICQ: 83580609
