我英语不好,对此我很抱歉。现在,有一个关于我何时使用 GDB 调试 samba 的问题。
# gdb /usr/local/samba/sbin/smbd
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program: /usr/local/samba/sbin/smbd
Program exited normally.
(gdb) info program
正在调试的程序没有运行。那么,我应该如何使用 GDB 调试 samba?
ps:Samba 3.0.5 的版本 我从源代码安装samba。