gdb peda 插件安装:Error in sourced command file: Undefined command: "from".

起因

通过官网安装Gdb的PEDA插件 https://github.com/longld/peda 后执行gdb 命令没有执行插件。
排查发现进入gbd后有报错:

Error in sourced command file: Undefined command: "from".

处理方法

重新安装gdb即可

sudo apt install gdb

参考:https://github.com/longld/peda/issues/138

原文地址:https://www.cnblogs.com/zjhblogs/p/15624920.html