lkml.org 
[lkml]   [1999]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: debugging using kcore
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.067 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site