diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2013-03-07 22:03:10 +0400 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-05-01 04:40:25 +0400 |
commit | 7777746c40876834c1527689336e43c8381b1921 (patch) | |
tree | b3257768e29db418ab9292a4e9a27c56e1e88fed /arch/hexagon/include/uapi/asm/ptrace.h | |
parent | f8722a4d5243e779d6795e2d775c9114c44a6c26 (diff) | |
download | linux-7777746c40876834c1527689336e43c8381b1921.tar.xz |
Hexagon: add support for single-stepping (v4+)
Hardware single-step is only available on v4 and later
architectures.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/uapi/asm/ptrace.h')
-rw-r--r-- | arch/hexagon/include/uapi/asm/ptrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/hexagon/include/uapi/asm/ptrace.h b/arch/hexagon/include/uapi/asm/ptrace.h index 1ffce0c6ee07..065e5b32313f 100644 --- a/arch/hexagon/include/uapi/asm/ptrace.h +++ b/arch/hexagon/include/uapi/asm/ptrace.h @@ -36,4 +36,9 @@ extern const char *regs_query_register_name(unsigned int offset); ((struct pt_regs *) \ ((unsigned long)current_thread_info() + THREAD_SIZE) - 1) +#if CONFIG_HEXAGON_ARCH_VERSION >= 4 +#define arch_has_single_step() (1) +#endif + + #endif |