I have problem in setting break point in the source level. I click on a C statement but nothing happens. I can load the *.c and the line is correctly turn gray for valid C statement. Single step in C is OK. Weird point is that I got "Show disassembly at xxxx" when I right click the line. Anyway, I can see the red dot on source line if I set break point on coresponding assembly. I suspect that the linkage between source and asm is ok. The code is compiled using a older version of GNU which support DWARF2.0. My linker script has same debug DWARF section as c:\keil\ samples. Any idea is highly appreciated.
Maybe you need to tell the Debugger the folders of your source files. See: http://www.keil.com/support/docs/2310.htm
I've already setup the search path. When I toggle "disassembly window", UV can display the source file to me with correct path shown in the window caption. but I just cannot put break point on to it. When I switch to assembly and set a break point, I can see a red break point on source window if I switch back. But then I have no way to disable it by double clicking. I need to go the assembly to disable it. Weird.
Does this also happen with the current GNU release that is available from http://www.keil.com? Reinhard
Also which uVision version are you using in the moment? I need the version number of the SARM.DLL printed in the Help - About dialog.
The GNU attached in the CDROM work fine and this trigger me to compare the linker script, DWARF setting between mine and the CDROM but in vain. My SARM.dll is V1.24f