# gdbserver --debug :50000 /usr/bin/wifimgr my_waitpid (1080, 0x0) my_waitpid (1080, 0x0): status(137f), 1080 my_waitpid (1080, 0x0) my_waitpid (1080, 0x0): status(1057f), 1080 my_waitpid (1081, 0x0) my_waitpid (1081, 0x0): status(137f), 1081 my_waitpid (1081, 0x0) my_waitpid (1081, 0x0): status(9), 1081 my_waitpid (1080, 0x0) my_waitpid (1080, 0x0): status(117f), 1080 my_waitpid (1080, 0x0) my_waitpid (1080, 0x0): status(9), 1080 new_argv[0] = "/usr/bin/wifimgr" Process /usr/bin/wifimgr created; pid = 1082 linux_wait: [Process 1082] linux_wait_for_lwp: my_waitpid (-1, 0x40000000) blocking sigchld_handler my_waitpid (-1, 0x1): status(57f), 1082 Got an event from 1082 (57f) pc is 0x48001030 stop pc is 0x48001030 linux_wait_for_lwp: pc is 0x48001030 Hit a non-gdbserver trap event. wait_for_sigstop: LWP 1082 already stopped Checking whether LWP 1082 needs to move out of the jump pad...no linux_wait ret = LWP 1082.1082, 1, 5 Listening on port 50000 handling possible accept event Remote debugging from host 192.168.1.1 linux_async (0), previous=0 linux_async (0), previous=0 hwait_for_sigstop: LWP 1082 already stopped Checking whether LWP 1082 needs to move out of the jump pad...no Writing resume reply for LWP 1082.1082:1 hTrying host libthread_db library: libthread_db.so.1. Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1. td_ta_new(): application not linked with libthread thread_db_load_search returning 0 hTrying host libthread_db library: libthread_db.so.1. Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1. td_ta_new(): application not linked with libthread thread_db_load_search returning 0 hWriting 0 to 0x10000d74 hWriting 7d821008 to 0x10000d74 Writing 7d821008 to 0x10004428 hNeed step over [LWP 1082]? No pc is 0x48001030 Need step over [LWP 1082]? No, no breakpoint found at 0x48001030 Resuming, no pending status or step over needed resuming LWP 1082 pc is 0x48001030 Resuming lwp 1082 (continue, signal 0, stop not expected) resuming from pc 0x48001030 linux_wait: [] linux_wait_for_lwp: my_waitpid (-1, 0x40000000) blocking sigchld_handler my_waitpid (-1, 0x1): status(57f), 1082 Got an event from 1082 (57f) pc is 0x10000d74 stop pc is 0x10000d74 linux_wait_for_lwp: pc is 0x10000d74 Hit a non-gdbserver trap event. wait_for_sigstop: LWP 1082 already stopped Checking whether LWP 1082 needs to move out of the jump pad...no linux_wait ret = LWP 1082.1082, 1, 5 Writing resume reply for LWP 1082.1082:1 Trying host libthread_db library: libthread_db.so.1. Host libthread_db.so.1 resolved to: /lib/libthread_db.so.1. td_ta_new(): application not linked with libthread thread_db_load_search returning 0 hWriting 7c290b78 to 0x10000d74 Writing 38000000 to 0x10004428 Need step over [LWP 1082]? No pc is 0x10000d74 Need step over [LWP 1082]? No, no breakpoint found at 0x10000d74 Resuming, no pending status or step over needed resuming LWP 1082 pc is 0x10000d74 Resuming lwp 1082 (step, signal 0, stop not expected) resuming from pc 0x10000d74 linux_wait: [] linux_wait_for_lwp: sigchld_handler LWP 1082.1082 my_waitpid (1082, 0x40000000) my_waitpid (1082, 0x1): status(57f), 1082 Got an event from 1082 (57f) pc is 0x10000d78 stop pc is 0x10000d78 linux_wait_for_lwp: pc is 0x10000d78 GDB wanted to single-step, reporting event. Hit a non-gdbserver trap event. wait_for_sigstop: LWP 1082 already stopped linux_wait ret = LWP 1082.1082, 1, 5 Writing resume reply for LWP 1082.1082:1 hWriting 7d821008 to 0x10000d74 Writing 7d821008 to 0x10004428 Need step over [LWP 1082]? No pc is 0x10000d78 Need step over [LWP 1082]? No, no breakpoint found at 0x10000d78 Resuming, no pending status or step over needed resuming LWP 1082 pc is 0x10000d78 Resuming lwp 1082 (continue, signal 0, stop not expected) resuming from pc 0x10000d78 linux_wait: [] linux_wait_for_lwp: my_waitpid (-1, 0x40000000) blocking sigchld_handler my_waitpid (-1, 0x1): status(57f), 1082 Got an event from 1082 (57f) pc is 0x10004428 stop pc is 0x10004428 linux_wait_for_lwp: pc is 0x10004428 Hit a non-gdbserver trap event. wait_for_sigstop: LWP 1082 already stopped Checking whether LWP 1082 needs to move out of the jump pad...no linux_wait ret = LWP 1082.1082, 1, 5 Writing resume reply for LWP 1082.1082:1 Writing 7c290b78 to 0x10000d74 Writing 38000000 to 0x10004428 h