/* * Common low level (register) ptrace helpers * * Copyright 2004-2011 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef __ASM_GENERIC_PTRACE_H__ #define __ASM_GENERIC_PTRACE_H__ #ifndef __ASSEMBLY__ /* Helpers for working with the instruction pointer */ #ifndef GET_IP #define GET_IP(regs) ((regs)->pc) #endif #ifndef SET_IP #define SET_IP(regs, val) (GET_IP(regs) = (val)) #endif
static inline unsigned long instruction_pointer(struct pt_regs *regs) { return GET_IP(regs); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 23 | 100.00% | 1 | 100.00% |
Total | 23 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
mike frysinger | mike frysinger | 234 | 100.00% | 1 | 100.00% |
Total | 234 | 100.00% | 1 | 100.00% |