Why gdb cannot find ../sysdeps/unix/sysv/linux/ifaddrs.c
问题 I have libc6 & libc6-dbg installed. (gdb) b reak freeifaddrs (gdb) run Breakpoint 1, __freeifaddrs (ifa=0xa822e0) at ../sysdeps/unix/sysv/linux/ifaddrs.c:840 840 ../sysdeps/unix/sysv/linux/ifaddrs.c: No such file or directory. (gdb) list 835 in ../sysdeps/unix/sysv/linux/ifaddrs.c (gdb) disassemble Dump of assembler code for function __freeifaddrs: => 0x00007ffff7912fd0 <+0>: jmpq 0x7ffff780f8a8 End of assembler dump. (gdb) where #0 __freeifaddrs (ifa=0xa822e0) at ../sysdeps/unix/sysv/linux