Blackfin: fix single stepping over system calls
On Blackfin systems, the hardware single step exception triggers before
the system call exception, so we need to save this info to process it
later on. Otherwise, single stepping in userspace misses a few insns
right after the system call.
This is based a bit on the SuperH code added in commit 4b505db9c4
.
Reported-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Цей коміт міститься в:
@@ -642,6 +642,8 @@ ENTRY(_system_call)
|
||||
r7 = [p2+TI_FLAGS];
|
||||
CC = BITTST(r7,TIF_SYSCALL_TRACE);
|
||||
if CC JUMP _sys_trace;
|
||||
CC = BITTST(r7,TIF_SINGLESTEP);
|
||||
if CC JUMP _sys_trace;
|
||||
|
||||
/* Execute the appropriate system call */
|
||||
|
||||
|
Посилання в новій задачі
Заблокувати користувача