bibo,mao 90f9d70a58 [IA64] enable singlestep on system call
As is pointed out in
http://www.gelato.org/community/view_linear.php?id=1_1036&from=authors&value=Ian%20Wienand#1_1039,
if single step on break instruction, the break fault has higher
priority than the single-step trap. When the break fault handler
is entered, it advances the IP by 1 instruction so break instruction
single-stepping is skipped, actually it is next instruction which
is single stepped.

This patch modifies this, it adds TIF_SINGLESTEP bit for thread
flags, and generate a fake sigtrap when single stepping break
instruction. Test case in attachment can verify this. Any comments
is welcome.

Signed-off-by: bibo, mao <bibo.mao@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-02-05 13:49:29 -08:00
..
2006-10-17 14:55:45 -07:00
2006-12-08 08:28:45 -08:00
2005-04-16 15:20:36 -07:00
2007-01-04 12:18:19 -05:00
2006-07-31 13:28:40 -07:00
2005-04-16 15:20:36 -07:00
2006-06-21 14:31:07 -07:00
2005-04-16 15:20:36 -07:00