I would like to know how it is possible to know the current system architecture in GDB and store this information into a variable for later evaluation.
Something like:
set variable $x=`shell uname -m`
I would like to know how it is possible to know the current system architecture in GDB and store this information into a variable for later evaluation.
Something like:
set variable $x=`shell uname -m`