Hi Joel... On Tue, Jan 19, 2010 at 4:11 PM, Joel Fernandes <agnel.joel@xxxxxxxxx> wrote: > However when I try to list the code of a function in the module, it > complaints that it does not have line number information: > > (gdb) list ext2_ioctl > No line number known for ext2_ioctl. > The object file contains line number information as verified by: > # readelf -wL /root/ext2.ko > > But why doesn't gdb load it when I do an 'add-symbol-file' ? What am I doing > wrong here? I guess, kgdb stub in the target's end doesn't implement complete DWARF reading....specificly address to line numbers translation. To confirm again, try to use "objdump -d <your object file>" locally and check whether you see line numbers or not. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ