I am getting python exception when I step the line of code. What I want is to step into or step over but I am getting this exception when I type (gdb) step and bang throws exception. I compiled the code with -g flag. throwing this exception
Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing:
Thread 3 "s1.o" hit Breakpoint 2, get_payload_to_send (Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing: p=0x55555555a2c0, pay=0x7ffff75bfe78) at ServerHi1.c:679 warning: Source file is more recent than executable.
679 char c[20]; (gdb) step
Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing:
Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing:
Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing:
Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing:
__inet_addr (Python Exception <class 'NameError'> Installation error: gdb._execute_unwinders function is missing: cp=0x55555555a6d2 "192.168.10.25") at inet_addr.c:210 210 inet_addr.c: No such file or directory.
(gdb)
What I want is step into/ step over single line. Coding in C
gdb version: GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
gdb._execute_unwindersshould be inshare/gdb/python/gdb/__init__.py.