[PATCH v2] Fix PR18360 - internal error when using "interrupt -a"

Yao Qi qiyaoltc@gmail.com
Tue Apr 4 10:25:00 GMT 2017


Yao Qi <qiyaoltc@gmail.com> writes:

> Hi Pedro,
> the new test fails on aarch64-linux and s390x-linux.  In gdb.log of
> aarch64-linux, I
> can see that stop event is printed but signal received reason
> (Thread XX "interrupt-while" stopped) is not printed some time.
>
> Thread 16 "interrupt-while" stopped.^M
> infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M
> 0x00000000004007a8 in infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M
> 0x00000000004007a4 in infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M
> ^M
> Thread 10 "interrupt-while" stopped.^M
> infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M
> 0x00000000004007a4 in infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M
> 0x00000000004007a4 in infinite_loop () at
> /home/qiyao/gnu/build-aarch64/gdb/testsuite/../../../binutils-gdb/gdb/testsuite/gdb.threads/interrupt-while-step-over.c:37^M
> 37            dummy++; /* set breakpoint here */^M

An update here, I can access two aarch64 boxes.  The fail is on 3.13.0
kernel (gcc114), but there isn't a fail on 4.10.0-rc3.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list