Redirecting/storing output of shell into GDB variable?

Viewed 3990

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`
1 Answers
Related