[MPlayer-dev-eng] [PATCH] automatic gdb attaching
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Oct 21 18:44:51 CEST 2004
Hi,
> > So, do you think it is ok to apply in its current form?
>
> I'm not entirely convinced this is going to be that useful. Not
> everybody with .developer will start fixing bugs like crazy, will
> they? I might be wrong, though.
Ok, to make things clear: I won't try to force this on anyone, if you
don't want it to be default I won't make it default.
In which case the question is where it should be disabled for whom.
When should it be disabled for compilation (i.e. not compiled in)?
When should only the crash_debug be set to zero by default (i.e.
disabled at runtime?
And just to make sure that you understand the purpose of this patch:
There are a few crashes that aren't reproducible, so unless maybe you
get core dumps (which I really hate), this patch would allow you to just
quickly type bt and remember the whereabouts of the bug and maybe
sometime later fix it (the SIGTRAP handling is just to allow debugging
hangs as well). There are some bugs that only happen to me when I
actually want to watch a video and certainly don't want to recompile
MPlayer or something like that ;-). If MPlayer doesn't crash, you
should not see anything at all of this patch.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list