Following up from: https://lists.openwrt.org/pipermail/openwrt-devel/2013-February/018845.html
> Hello Siva, > > On 02/18/2013 05:11 AM, Sivateja Patibandla wrote: > > Hi, > > > > I'm using attitude adjustment latest stable release. And I'm trying to > > compile the kernel modules with debugging symbols enables so that I > > could load the kernel module in gdb. In the menuconfig although I > > checked "Compile the packages with debugging info", gdb is still not > > able to see the debugging symbols in the kernel module. I'm trying to > > debug ath5k.ko and mac80211.ko. My kernel image (vmlinux) is loaded fine > > in gdb with debugging symbols but not the kernel modules. Could anyone > > tell me what I'm missing? > > The option "Compile the packages with debugging info" is actually > relevant only for applications packages (not modules). For modules, the > debugging option is controlled by the configuration symbol "Compile the > kernel with debug information" which also affects the entire Linux kernel. > -- > Florian I'm also using Attitude Adjustment and can't seem to figure out how to build the kernel modules with debugging symbols. I have CONFIG_KERNEL_KALLSYMS=y and CONFIG_NO_STRIP=y but still don't have the symbols in the kernel modules, only the kernel itself. I made a Backfire build with these options and debugging symbols are in those kernel modules. Regards, Nathan _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
