[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How does __setup() work?
I'm trying to track down why ide_setup() doesn't seem to be called on
my system. I'm using KGDB to put breakpoints in ide_setup(), but they
never get hit. I see that ide_setup is defined as:
int __init ide_setup (char *s)
{
...
and there is also a line:
__setup("", ide_setup);
What do these macros do? How can I get KGDB to break in ide_setup()?
Thanks,
Dave
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/