Hello
I ve just installed the kgdb kernel debugger
It seems to be very powerfull, but ...i have some problems getting
module symbols
I hope someone can help me
I run the 2.0.34 kernel version and i use the kdebug_1.8
I compiled the kernel with the -g options
When I launched the kgdb, i can access to kernel data(jiffies for
example..)
But how can access to my modules symbols?
for ex
here is a dummy module code
...
struct _my_dummy_struct *this_dummy_struct
init_module()
{
this_dummy_struct=kmalloc(...)
}
This Dummy module is compiled with the -g flag
When the module is loaded, it appears in the module_list structure
>p *module_list
>$1 ={next=0x.....,ref=0x0, symtab=0x60c018,
>name = 0x6f4338 "Dummy",size=0x25,addr=0x3038000......}
but
>p this_dummy_struct
>No symbol "this_dummy_struct" in current context is replied
What can i do?
And when i lauched kgdb i see these messages
>loading /lib/modules/2.0.34/misc/kdebug.o
>warning: no loadable sections found in added symbol-file /kdebug.o.bss
>warning: lowest section in /kdebug.o.data is .data at 0x0
>/tmp/kgdb.328:17: Error in sourced command file:
>/kdebug.o.rodata:No such file or directory.
What do you think about this
In advance thank for your answer
Ciao
Fabien
Sophia Antipolis
France
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]