• Chris Metcalf's avatar
    arch/tile: make ptrace() work properly for TILE-Gx COMPAT mode · ce7f2a39
    Chris Metcalf authored
    Previously, we tried to pass 64-bit arguments through the
    "COMPAT" mode 32-bit syscall API, which turned out not to work
    well.  Now we just use straight 32-bit arguments in COMPAT mode,
    thus requiring individual registers to be read/written with
    two syscalls.  Of course this is uncommon, since usually all
    the registers are read or written at once.
    
    The restructuring applies to all the tile platforms, but is
    plausibly better than the original code in any case.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
    ce7f2a39
ptrace.c 4.99 KB