gdb can break on __init function ?

Jun Sun (jsun@mvista.com)
Wed, 12 Apr 2000 14:03:43 -0700


I am using gdb/kdb to debug kernel through a serial line. It mostly
works. However I notice that I cannot break on any functions declared
as "__init". If I remove that declaration, everything is fine.

Does anybody know if I am doing something wrong, or if there is some
trick which let me get around, or if that is simply the fact I have to
live with?

I am using gdb on i386/linux host, debugging linux on MIPS - if that
matters.

Thanks.

Jun

-
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/