[Dwarf-discuss] asmlinkage directive with debug_line ?

Jun Koi junkoi2004
Fri Oct 6 18:23:24 GMT 2006


Hi,

Anybody please tell me why asmlinkage directive in Linux kernel code
makes its content disappear from debug_line section?

I compiled Linux kernel, and found that in a file with several
asmlinkage directives (like sys_read() in fs/read_write.c), many lines
are not listed in debug_line at all. Why that happened? And in that
case, how can a debugger solve the problem of reasoning to the source
code in a syscall?

Thank you,
Jun





More information about the Dwarf-discuss mailing list