> I got all steps correctly except making gdb notice after the file_exec > happened. By the way, do I need to reset the breakpoints when attaching to > a new task (in a series of debuggings)?
You should need to, no. If gdb properly understands what's going on, it will remove and reinsert breakpoints when you attach and detach. I am not entirely sure what it does when you attach before the memory is there. I think that gdb doesn't actualy insert the breakpoints until the first cont, but I am not sure. > I made the experience that a badly placed info threads makes gdb segfault in > such situation. Yes, indeedy! Damn finicky it is. It would be nice if someone debugging gdb and finally fixed this. > Uhhhhhh. You think that my innocent _dl_printf at the beginning of > _dl_main could be the reason for that? *blink* *blink* Good thing you're so cute, or someone might have to whack you upside the head. :-) _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd