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

Richard Braun <[email protected]>
Newsgroups gmane.os.hurd.bugs,gmane.comp.gdb.devel
Message-ID <[email protected]>
On Wed, Jul 17, 2013 at 02:11:58PM +0800, Yue Lu wrote:
> When I get the exception message, I set the EIP to the next instruction
> (for instance 0x12345678), after resume it, I call get_thread_state(), and
> found the EIP is still  0x12345678. The inferior never running anymore.

I don't think it has anything to do with the instruction cache. Use the
thread_info() call to determine what the suspend count is, it may have
been incremented implicitely.

-- 
Richard Braun
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.