Hello,
I'm using CodeWarrior 10.1.1 for the P1010RDB and break points won't set. The two following errors are as follows:
1: Breakpoint when stopping at main under debug settings.
Error stopping at main.
Reason: Target request failed: Failed to set breakpoint.
Continue?
2: Info under the Breakpoints tab when setting one manually.
File was not found in symbolics information., Unresolved breakpoint
These seem to have occured when tranisitoning to static libraries instead of shared libraries. Any help in getting it to work is appreciated. Thanks.
Nick
已解决! 转到解答。
Turns out that "Omit all symbol information (-s)" was enabled as a linker option for the executable. Found this out by noticing the ELF file was missing the symbols.
Problem solved.
Where is this setting for S12ZVC?
I cannt find it in described position and I have the same problem that I cannot set breakpoints at all positions. At some yes, but not at all, at those where I cannt its reporting the same thing.
Sorry for the delay maf...
This is how I solved my problem, so I hope it works for you. You must enable all symbol information for the main program and static libraries that you link to (this might be the default setting anyway). This is done by clicking on properties of the project, then going to Build->Settings->Tool Settings->PowerPC Linux Linker->General. Make sure "Omit all symbol information" is unchecked.
The symbols are used to debug the code. Without symbols, its just a raw file of instructions and data (look up ELF files for the details, as it is a bit more complicated). The debugger relies on the symbols in the file to step through and debug code.