Please forgive my ignorant question. I'm very new to this. I've built a Linux kernel from a source tree cloned from Linus's tree with a tag of v3.18.1 , which was from the middle of last month. I've installed it by building a Deb package and deploying it from the development machine to a test machine, and "uname" tells me that I'm running that kernel.
I've configured kgdb, and I see it connect at boot. (I specified kgdbwait.) I've also disable kernel-mode ASLR with "nokaslr" as a kernel parameter. I built the kernel with KGDB support turned on. Specifically, I've chosen: CONFIG_SERIAL_KGDB_NMI=y CONFIG_HAVE_ARCH_KGDB=y CONFIG_KGDB=y CONFIG_KGDB_SERIAL_CONSOLE=y # CONFIG_KGDB_TESTS is not set CONFIG_KGDB_LOW_LEVEL_TRAP=y CONFIG_KGDB_KDB=y CONFIG_KDB_KEYBOARD=y CONFIG_KDB_CONTINUE_CATASTROPHIC=0 I've started gdb by pointing it at the vmlinux image that I built, the same one which is installed on the test machine. And when it connects, I don't see any symbol resolution. Any attempt to do something which requires symbols acts as if they don't exist. Here's an example: (gdb) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 0xffffffff9e120bd4 in ?? () (gdb) cont Continuing. [Inferior 1 (Remote target) exited with code 01] (gdb) cont The program is not being run. (gdb) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 0xffffffff85120bd4 in ?? () (gdb) bt #0 0xffffffff85120bd4 in ?? () #1 0xffff88002350fe38 in ?? () #2 0xffffffff85121d0e in ?? () #3 0x0000000000000000 in ?? () Can somebody point me at a FAQ, or otherwise help me figure out how to get symbol resolution working? Thanks, Jake Oshins ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport