[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to continue from a breakpoint in GNU/Hurd

From: Luis Machado
Subject: Re: how to continue from a breakpoint in GNU/Hurd
Date: Tue, 16 Jul 2013 14:25:55 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7


On 07/16/2013 02:04 PM, Yue Lu wrote:

thanks for you reply.

On Wed, Jul 17, 2013 at 12:44 AM, Luis Machado
Some general thoughts...

Can you make sure the breakpoint has been lifted from the instruction it
replaced? If the breakpoint has been lifted and it is still being hit, then
it sounds like there is some kind of instruction cache problem going on,
where we first need to flush the icache before resuming execution.

If the icache is the problem, then it sounds like something the kernel
itself needs to address.


I don't know how to flush the icache off-hand, so I used anther way to
bypass this issue. I set the eip to the next instruction's address to
bypass the breakpoint ins. But problem seems doesn't go away.

I don't think the cache invalidation is something the debugger should do. Sounds like something the kernel would do.

When you set the EIP to some other instruction (not the breakpoint one), what do you see when you instruction-step? What does the EIP show after that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]