Hi,

On Thu, Sep 29, 2022 at 11:34 PM arden jay <arden....@gmail.com> wrote:
>
> Hi,
>
> In ARM64, kdb "ss" always keeps the same pc. For example,
>
> Entering kdb (current=0xffff0000c0240e40, pid 188) on processor 0 due to SS
> trap @ 0xffff800010011c84
> [0]kdb> ss
>
> Entering kdb (current=0xffff0000c0240e40, pid 188) on processor 0 due to SS
> trap @ 0xffff800010011c84
>
> From the code, kgdb_arch_update_addr won't update the pc if it is not
> compiled_break. Shouldn't "ss" single step to the next instruction?
>
> Do I miss something?

No. Single step on arm64 is simply broken. See:

https://lore.kernel.org/r/20220511060521.465744-1-sumit.g...@linaro.org

The latest news is that we're waiting for Will to have time to look at
Sumit's patches and either bless them or suggest something different.

-Doug


_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to