Don't mark the process as exited when detaching
authorLaurent Morichetti <laurent.morichetti@amd.com>
Wed, 22 Apr 2020 22:14:10 +0000 (15:14 -0700)
committerLaurent Morichetti <laurent.morichetti@amd.com>
Wed, 6 May 2020 20:50:56 +0000 (13:50 -0700)
commit96dd14e987fe807ca37233c82c390ff9b64215d1
treecbabd7b3dc0951719a4f9c7ff7675b4689dfef2e
parent4c064e0d7c5ab1296332f566d84c9e840c64e914
Don't mark the process as exited when detaching

rocm_target_inferior_exit is shared between target::mourn_inferior
(the process has exited) and to target::detach (the process is still
running). Move the call to amd_dgapi_process_detach to the target
function instead of the inferior_exit callback.

Change-Id: I323eb5ae609e3097feab81a9bb9721df2a675acb
gdb/rocm-tdep.c
This page took 0.023585 seconds and 4 git commands to generate.