Messages in this thread | | | From | Antoine DROUIN <> | Subject | debugging using kcore | Date | Mon, 27 Sep 1999 18:07:57 +0200 |
| |
Hi,
We're running linux 2.2.12 and have some trouble using gdb with kcore on the running kernel.
We built kernel with -g option but gdb see only some symbols. In the example above we tried to see 2 symbols from printk.c but type return are strange...
2.0.32 kernel, and have no problem with kcore, so did we made a mistach or kcore is not usable in 2.2.12 ?? Or is gdb not usable with kcore ?
Thank you very much for your help.
Regards,
Antoine Drouin
----------------------------------------------------------- [root@moliere /root]# gdb /usr/src/linux/vmlinux /proc/kcore GNU gdb 4.17.0.11 with Linux support Copyright 1998 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"... Register st0 not found in core file. (gdb) ptype log_buf type = char [16384] (gdb) ptype log_start type = <data variable, no debug info> (gdb)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |