プログラムをリモートでデバッグしたい。しかし問題は、私のプログラムがシグナルを使用していることです。ローカル マシンでは、次のコマンドを使用してシグナルを処理します。
handle SIG64 nostop noprint
しかし、 gdbserver を使用してリモートでデバッグする場合、シグナルの処理方法がわかりません。これが私がやっていることです:
remote$ gdbserver :2345 hello_world
Process hello_world created; pid = 2509
Listening on port 2345
local$ gdb -q hello_world
Reading symbols from /home/user/hello_world...done.
(gdb) target remote 192.168.0.11:2345
Remote debugging using 192.168.0.11:2345
0x002f3850 in ?? () from /lib/ld-linux.so.2
(gdb) continue
どんな助けでも大歓迎です。
ありがとう&BR、ユヴィ