• Frederic Weisbecker's avatar
    x86: Support for instruction breakpoints · f7809daf
    Frederic Weisbecker authored
    Instruction breakpoints need to have a specific length of 0 to
    be working. Bring this support but also take care the user is not
    trying to set an unsupported length, like a range breakpoint for
    example.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Prasad <prasad@linux.vnet.ibm.com>
    Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Jason Wessel <jason.wessel@windriver.com>
    f7809daf
hw_breakpoint.c 12.1 KB