I want to debug a process with gdb into Linux system, but the problem is that process pings
/dev/watchdog so when I tried to debug it, it stop the process for longer than the watchdog interval so the system is rebooting.
One solution is to patch the binary so it will not use
/dev/watchdog and than reboot the system so the "new" binary will run.
But sometime I can't do this solution because I don't want to reboot the system. And I don't control on system's startup script(that activate the watchdog)
Is there another solution?