• Chris Metcalf's avatar
    arch/tile: bug fix: exec'ed task thought it was still single-stepping · 04f7a3f1
    Chris Metcalf authored
    To handle single-step, tile mmap's a page of memory in the process
    space for each thread and uses it to construct a version of the
    instruction that we want to single step.  If the process exec's,
    though, we lose that mapping, and the kernel needs to be aware that
    it will need to recreate it if the exec'ed process than tries to
    single-step as well.
    
    Also correct some int32_t to s32 for better kernel style.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
    04f7a3f1
single_step.c 20.8 KB