[lkml]   [2008]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: KGDB fails to pass selft tests on x86-64 (v2.6.26)
    Francis Moreau wrote:
    > On Thu, Jul 24, 2008 at 3:24 PM, Francis Moreau <> wrote:
    >> I wanted to give kgdb a try on a v2.6.26 kernel. My cpu is an
    >> x86-64.
    >> So the first thing I did is to enable kgdb support and also the
    >> kgdb self tests:
    >> CONFIG_KGDB=y
    >> # CONFIG_KGDB_TESTS_ON_BOOT is not set
    >> Once compiled I booted this kernel through qemu and got the following:
    > and unfortunately it seems this issue is related to qemu: if I did boot the
    > kernel without qemu and the self tests passed...

    It is because the qemu you are using does not support hardware
    breakpoints. The tests will warn, but the kernel will continue to boot
    and tell you that hw breakpoint support doesn't work on your simulated

    Also, if you plan to use software breakpoints, please make sure to turn
    off CONFIG_DEBUG_RODATA, else they will not work. This is a regression
    which will is on my list of things to take a look at, as time permits.


     \ /
      Last update: 2008-07-24 16:33    [W:0.020 / U:63.228 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site