I am debugging an executable/process A (using gdb), which
after sometime forks and execs process B. Now I want to break at main of process B. How can that be achieved? Thanks. Regards, Vishal. P.S.: This is not related to kernel though but I am posting
it here in the anticipation of answer from veterans.
|