Content originally posted in LPCWare by MikeSimmonds on Fri Feb 08 16:15:24 MST 2013
[FONT=Tahoma][SIZE=1]The debugger is [I]not[/I] stopping at the initial breakpoint!
excerpt from one of the console logs:
"210,337 22-break-insert --thread-group i1 -t Reset"
so gdb is apparently setting a breakpoint.
1st Aside:
What is the difference (if any) in the stop at text box of the debug configuration of:
label such as MyFunc
label with a star such as *MyFunc
address such as 0x80
address with a star *0x80
As the startup function is (always with my projects) assembler, and
thinking the debugger is confused about the arm/thumb (it's a Cortex M3 part -- 1778)
issue (but shouldn't it know that cortex is [I]never[/I] arm?) I thought to try the actual address
i.e 0x80.
I got the error popup as shown.
1) apparently I haven't defined the 'function' ([I]twice[/I]).
2) [B]SO WHAT![/B] 'Nanny' should be pensioned off and sent to live in Eastbourne.
If I want a breakpoint at an arbitrary address, I should jolly well get one!
If I don't know what I am doing, I'll soon enough find out.
If I used the 'star' alternative I think the debbuger's Nanny went away (can't quite rermember).
Back to the nub of the matter, how can I get the debugger to stop at a function label for assembler start up
(and other) code?
The function is defined as (a) global, (b) thumb func, (c) as attribute '%function'
what more should a sane man be expected to do?
Oh, and also (in this particular case) 'Reset' is the target of vector 1.
One last piece of info (in case it makes a difference); The code is already programmed to flash
(at 0x0 in this case) and the debug configuration set to [I]not[/I] load.
Bewildered, Mike
[/SIZE][/FONT]