This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbstub initial code, v8 && ptrace


On 09/06, Oleg Nesterov wrote:
>
> On 09/04, Oleg Nesterov wrote:
> >
> > 	- implement continue with signal.
>
> There is something wrong. I tried to debug the ptraced task via ugdb,
> and the result is not good. I am not surprised ugdb confuses ptrace,
> but I didn't expect that ptrace can break ugdb.
>
> I am still trying to understand what is wrong, it should be something
> simple but somehow I can't explain the problem so far...

OK, I am stupid. Indeed, say, "return UTRACE_STOP | UTRACE_SIGNAL_IGN"
from under "case UTRACE_SIGNAL_REPORT" changes utrace_report->result,
and confuses other tracers.

Probably we can ignore ptrace, but this also means ugdb conflicts
with itself and should be fixed.

Oleg.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]