【发布时间】:2021-04-05 04:27:41
【问题描述】:
当我单步执行代码行时出现 python 异常。我想要的是进入或跳过,但是当我输入 (gdb) step 并且 bang 抛出异常时,我得到了这个异常。我用-g 标志编译了代码。抛出这个异常
Python Exception
安装错误:gdb._execute_unwinders 函数丢失:
Thread 3 "s1.o" hit Breakpoint 2, get_payload_to_send (Python Exception
Installation error: gdb._execute_unwinders function is missing: p=0x55555555a2c0, pay=0x7ffff75bfe78) 在 ServerHi1.c:679 警告:源文件比可执行文件更新。
679 字符 c[20]; (gdb) 步骤
Python Exception
安装错误:gdb._execute_unwinders 函数丢失:
Python Exception
安装错误:gdb._execute_unwinders 函数是 缺失:
Python Exception
安装错误:gdb._execute_unwinders 函数丢失:
Python Exception
安装错误:gdb._execute_unwinders 函数丢失:
__inet_addr (Python Exception
安装错误:gdb._execute_unwinders 函数丢失: cp=0x55555555a6d2 "192.168.10.25") 在 inet_addr.c:210 210 inet_addr.c: 没有这样的文件或目录。
(gdb)
我想要的是进入/跨过单行。 C语言编码
gdb 版本:GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
【问题讨论】:
-
这听起来像你 gdb 安装坏了。
gdb._execute_unwinders应该在share/gdb/python/gdb/__init__.py中。 -
如何修复安装?