Hi... :)

On Sat, Jul 21, 2012 at 10:46 PM, Ranjan Sinha <[email protected]> wrote:
> Now, using gdb, if I add a break point in any function that is called
> by netlink server thread in user mode, the break point is never hit
> and the kernel log is flooded with messages like
> -------------------------8<------------------------------------------------8<-------------------------------------
>     Somebody woke us up before we got a reply. Time left 3499
>
>     Somebody woke us up before we got a reply. Time left 3499
>
>     Somebody woke us up before we got a reply. Time left 3499
>
>     Somebody woke us up before we got a reply. Time left 3499
>
>     ..
>
>     ..
>
>     Somebody woke us up before we got a reply. Time left 3498
> -------------------------8<------------------------------------------------8<-------------------------------------

I got a feeling that somehow gdb trap one or more signal received/sent
by/to your application. Maybe you need to ignore that by setting it in
your gdb (it's the same when you debug UML kernel using gdb).
Unfortunately i forgot the exact command to do it.

Another possibility is that, you're not "attaching" to right thread.
Are you sure you have switched to the target thread?

All above are strictly my speculation.....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to