1
0

x86: move get_segment_eip() to step.c

get_segment_eip has similarities to convert_rip_to_linear(),
and is used in a similar context.  Move get_segment_eip to
step.c to allow easier consolidation.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Harvey Harrison
2008-01-30 13:33:00 +01:00
committed by Ingo Molnar
parent 3d97775a80
commit 1379a5ce3f
4 changed files with 83 additions and 154 deletions

View File

@@ -184,6 +184,8 @@ convert_rip_to_linear(struct task_struct *child, struct pt_regs *regs);
#ifdef __KERNEL__
unsigned long get_segment_eip(struct pt_regs *regs, unsigned long *eip_limit);
/*
* These are defined as per linux/ptrace.h, which see.
*/