19 Mar, 2011

1 commit

  • Emulate single stepping in KGDB on MN10300 by way of temporary breakpoint
    insertion. These breakpoints are never actually seen by KGDB, and will overlay
    KGDB's own breakpoints.

    The breakpoints are removed by switch_to() and reinstalled on switching back so
    that if preemption occurs, the preempting task doesn't hit them (though it will
    still hit KGDB's regular breakpoints). If KGDB is reentered for any reason,
    then the single step breakpoint is completely erased and must be set again by
    the debugger.

    We take advantage of the fact that KGDB will effectively halt all other CPUs
    whilst this CPU is single-stepping to avoid SMP problems.

    If the single-stepping task is preempted and killed without KGDB being
    reinvoked, then the breakpoint(s) will be cleared and KGDB will be jumped back
    into.

    Signed-off-by: David Howells

    David Howells
     

28 Oct, 2010

2 commits


09 Feb, 2008

1 commit

  • Add architecture support for the MN10300/AM33 CPUs produced by MEI to the
    kernel.

    This patch also adds board support for the ASB2303 with the ASB2308 daughter
    board, and the ASB2305. The only processor supported is the MN103E010, which
    is an AM33v2 core plus on-chip devices.

    [akpm@linux-foundation.org: nuke cvs control strings]
    Signed-off-by: Masakazu Urade
    Signed-off-by: Koichi Yasutake
    Signed-off-by: David Howells
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells