my ARM port is making progress. Basic kprobes are running (pre_handler, s=
step, post_handler, fault_handler). What I have to do is the fixup of sin=
Sparc64 is a machine without hardware signle step support as ARM. Is it c=
that you cannot single step an instruction which changes the program coun=
Small example below shows the original code with an instruction which mov=
control to the kprobe_handler. The kprobe_handler single steps the copy. =
ORIG_DO just do something then BKPT is hit and control goes back to kprob=
post_handler is called and everything is fine. But if ORIG_DO branches to
somewhere kprobes have no possibilty to recognize that and the post_handl=
never called, correct?
DO code stored in p->insn
BKPT-> moves control to the kprobe_handler->ORIG_DO (->possibly branches =
DO call post_handler an do fixup <----BKPT=20
The only solution I see is to set a BKPT after ORIG_DO and at the branch =
But perhaps I am missing something.
Software Engineer Embedded Systems
Mixed Mode GmbH
Lochhamer Schlag 17 D-82166 Gr=E4felfing/M=FCnchen
Tel. +49-89-89868.0 Fax +49-89-89868.222
Mixed Mode - Your Partner for Systems Engineering!