I am executing a command to deliberately kill the
TMOUT variable so that my sessions won't die on me since I am not going to install EPEL just to install the
screen command.
The command is:
Code: Select all
sudo gdb -ex 'call unbind_variable("TMOUT")' --pid=$$ --batch
This works perfectly on RHEL and CentOS 7, but on CentOS 8 I get feedback, an error:
Code: Select all
0x00007fca9f609aab in waitpid () from /lib64/libc.so.6
'unbind_variable' has unknown return type; cast the call to its declared return type
[Inferior 1 (process 86840) detached]
Does anybody know how to fix this for RHEL/CentOS 8? On RHEL/CentOS 7 I simply run the command and it is successful.