[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] gdbserver: _fork: Change fn to accept cpu i
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 2/4] gdbserver: _fork: Change fn to accept cpu instead of env |
Date: |
Fri, 05 Jun 2015 23:44:39 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite:
> All callsites to this function navigate the cpu->env_ptr only for the
> function to take the env ptr back to the original cpu ptr. Change the
> function to just pass in the CPU pointer instead. Removes a core code
> usage of ENV_GET_CPU (in gdbstub.c).
>
> Cc: Riku Voipio <address@hidden>
> Signed-off-by: Peter Crosthwaite <address@hidden>
> ---
> bsd-user/main.c | 2 +-
> gdbstub.c | 3 +--
> include/exec/gdbstub.h | 2 +-
> linux-user/main.c | 2 +-
> 4 files changed, 4 insertions(+), 5 deletions(-)
Great,
Reviewed-by: Andreas Färber <address@hidden>
Thanks,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG Nürnberg)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 2/4] gdbserver: _fork: Change fn to accept cpu instead of env,
Andreas Färber <=