On 10/12/2011 12:41 PM, Tim Bird wrote:
> I've tried to use single-stepping ('ss' command) on ARM
> from KDB, without success.
>
> Has anyone done this - is it currently supported on ARM?

It is only supported via patches that are not in the mainline kernel the same 
is also true of the MIPS architecture.

The last consideration I had taken a look at was to consider using the kprobes 
for single stepping, assuming kprobes work ok on ARM, vs using emulation of 
single stepping with breakpoints.

The other possibility for newer arm hardward (v7 and up) is to use the 
hw_breakpoint API and plumb it into kdb/kgdb via the arch/arm/kernel/kgdb.c.  
It is probably time to take another look at this now since it was merged to the 
mainline in the last year.

Jason.

------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to