b10902118 wrote:

Other parts looks the same as my previous try.

I haven't test this one, but older version seems to already have problem with 
thumb breakpoint. In my manual test, soft bp caused segmentation fault on 6.15 
arm64 linux kernel (just remember qemu complained [GUP] and gpt says it is 
stack allocation issue), but ok on my old arm64 android somehow. Hard bp (on 
old android) works only in the first trigger and then stuck there. I'll trace 
this and may take a while.

I just started with the infinite loop program below and manually attached to 
it, kind of clumsy. Any suggestions are welcomed.
```c
int main() {
    volatile int a = 42;
    while (true) {
        a += 1;
    }
    return 0;
}
```


https://github.com/llvm/llvm-project/pull/152284
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to