Messages in this thread | | | Subject | Re: debugging using kcore | From | Andi Kleen <> | Date | 28 Sep 1999 14:06:22 +0200 |
| |
drouin@stna.dgac.fr (Antoine DROUIN) writes:
> 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 ?
Probably the later. /proc/kcore is an old a.out format core dump, and most newer gdbs have problems with a.out. There are patches floating around for a /proc/kcore_elf.
-Andi -- This is like TV. I don't like TV.
- 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/
| |