[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/12 v11] make gdb_id() generally avialable and
From: |
HATAYAMA Daisuke |
Subject: |
Re: [Qemu-devel] [PATCH 10/12 v11] make gdb_id() generally avialable and rename it to cpu_index() |
Date: |
Tue, 27 Mar 2012 12:38:55 +0900 ( ) |
From: Wen Congyang <address@hidden>
Subject: [PATCH 10/12 v11] make gdb_id() generally avialable and rename it to
cpu_index()
Date: Mon, 26 Mar 2012 18:05:39 +0800
<cut>
>
> -static inline int gdb_id(CPUArchState *env)
> -{
> -#if defined(CONFIG_USER_ONLY) && defined(CONFIG_USE_NPTL)
> - return env->host_tid;
> -#else
> - return env->cpu_index + 1;
> -#endif
> -}
> -
<cut>
I meant in gdbstub.c:
static inline int gdb_id(CPUArchState *env)
{
return cpu_index(env);
}
Thanks.
HATAYAMA, Daisuke
- [Qemu-devel] [PATCH 02/12 v12] Add API to check whether a physical address is I/O address, (continued)
- [Qemu-devel] [PATCH 02/12 v12] Add API to check whether a physical address is I/O address, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 03/12 v11] implement cpu_get_memory_mapping(), Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 04/12 v11] Add API to check whether paging mode is enabled, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 05/12 v11] Add API to get memory mapping, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 06/12 v11] Add API to get memory mapping without do paging, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 07/12 v11] target-i386: Add API to write elf notes to core file, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 08/12 v11] target-i386: Add API to write cpu status to core file, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 09/12 v11] target-i386: add API to get dump info, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 10/12 v11] make gdb_id() generally avialable and rename it to cpu_index(), Wen Congyang, 2012/03/26
- Re: [Qemu-devel] [PATCH 10/12 v11] make gdb_id() generally avialable and rename it to cpu_index(),
HATAYAMA Daisuke <=
- [Qemu-devel] [PATCH 11/12 v11] QError: Introduce new error for the dump-guest-memory command, Wen Congyang, 2012/03/26
- [Qemu-devel] [PATCH 12/12 v11] introduce a new monitor command 'dump-guest-memory' to dump guest's memory, Wen Congyang, 2012/03/26
- Re: [Qemu-devel] [PATCH 00/12 v11] introducing a new, dedicated guest memory dump mechanism, Wen Congyang, 2012/03/28