lkml.org 
[lkml]   [1999]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: info scope doesn't work for modules...
Date
On Fri, 12 Nov 1999 16:30:51 +0000 (GMT), 
Tigran Aivazian <tigran@sco.COM> wrote:
>I compiled everything (kernel and modules) with -g, used the latest
>/proc/kcore (see patch http://www.ocston.org/~tigran/patches/kcore),
>used "add-symbol-file /lib/modules/2.3.27/fs/bfs.o addr", where addr is
>the address of text (found via ksymoops -s map < /dev/null) and tried to
>use "info scope bfs_read_super" and .... it didn't work. It works fine for
>functions statically linked into the kernel but not for modules. Any idea
>why?

WHich version of gdb are you using? gdb 4.16 is confused by .o files
compiled with -g. AFAICT, the problem is fixed in gdb 4.17. When you
say "it didn't work", what are the symptoms?


-
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:55    [W:0.028 / U:1.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site