Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200911
b: refs/heads/master
c: bf23690
h: refs/heads/master
i:
  200909: ac421fb
  200907: 96e6551
  200903: 75848c4
  200895: de71a8a
v: v3
  • Loading branch information
Sam Ravnborg authored and Benjamin Herrenschmidt committed Jul 8, 2010
1 parent 66d886a commit e682469
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2be05481f6125254c45b78f334d4dd09c701c82
refs/heads/master: bf23690b89b731468478c21eb07bbb645cc66ead
32 changes: 14 additions & 18 deletions trunk/arch/powerpc/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@
* 2 of the License, or (at your option) any later version.
*/

#ifdef __KERNEL__
#include <linux/types.h>
#else
#include <stdint.h>
#endif

#ifndef __ASSEMBLY__

Expand Down Expand Up @@ -364,13 +360,13 @@ static inline unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs,
#ifndef __ASSEMBLY__

struct ppc_debug_info {
uint32_t version; /* Only version 1 exists to date */
uint32_t num_instruction_bps;
uint32_t num_data_bps;
uint32_t num_condition_regs;
uint32_t data_bp_alignment;
uint32_t sizeof_condition; /* size of the DVC register */
uint64_t features;
__u32 version; /* Only version 1 exists to date */
__u32 num_instruction_bps;
__u32 num_data_bps;
__u32 num_condition_regs;
__u32 data_bp_alignment;
__u32 sizeof_condition; /* size of the DVC register */
__u64 features;
};

#endif /* __ASSEMBLY__ */
Expand All @@ -386,13 +382,13 @@ struct ppc_debug_info {
#ifndef __ASSEMBLY__

struct ppc_hw_breakpoint {
uint32_t version; /* currently, version must be 1 */
uint32_t trigger_type; /* only some combinations allowed */
uint32_t addr_mode; /* address match mode */
uint32_t condition_mode; /* break/watchpoint condition flags */
uint64_t addr; /* break/watchpoint address */
uint64_t addr2; /* range end or mask */
uint64_t condition_value; /* contents of the DVC register */
__u32 version; /* currently, version must be 1 */
__u32 trigger_type; /* only some combinations allowed */
__u32 addr_mode; /* address match mode */
__u32 condition_mode; /* break/watchpoint condition flags */
__u64 addr; /* break/watchpoint address */
__u64 addr2; /* range end or mask */
__u64 condition_value; /* contents of the DVC register */
};

#endif /* __ASSEMBLY__ */
Expand Down

0 comments on commit e682469

Please sign in to comment.