我想知道如何知道GDB中的当前系统架构并将此信息存储到变量中以供以后评估.
就像是:
set variable $x=`shell uname -m`
shell gdb
gdb ×1
shell ×1