[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120426.032528.2066041048224573812.davem@davemloft.net>
Date: Thu, 26 Apr 2012 03:25:28 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: schwidefsky@...ibm.com
Cc: viro@...IV.linux.org.uk, oleg@...hat.com,
torvalds@...ux-foundation.org, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org, linux@....linux.org.uk,
tj@...nel.org, arnd@...db.de, roland@...k.frob.com
Subject: Re: [RFC] TIF_NOTIFY_RESUME, arch/*/*/*signal*.c and all such
From: Martin Schwidefsky <schwidefsky@...ibm.com>
Date: Thu, 26 Apr 2012 09:15:19 +0200
> You need to be careful with inferior calls there. gdb likes to play games
> with the registers inside the get_signal_to_deliver call, it wants to be
> able to jump out of an interrupted system call, do its inferior call in
> the debugee and then return to the interrupted system call.
> You would have to to read, modify & restore the NEED_RESTART flag in gdb
> over an inferior call.
Right and this is what orig_ax and friends are used for on x86.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists