summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-07-29 10:54:46 +0300
committerAvi Kivity <avi@redhat.com>2009-07-29 10:54:46 +0300
commitcefbe2c306a851c67ed0f89348aedf28f9e47e1a (patch)
treebd8ff0463ae5e538b9091e316e82581eb31de3f3 /gdbstub.c
parentMerge commit '5647eb7475d0278e1a2a9198d7e146936b9d84b1' into upstream-merge (diff)
parentrename USE_NPTL to CONFIG_USE_NPTL (diff)
downloadqemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.tar.gz
qemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.tar.bz2
qemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.zip
Merge commit '2f7bb8780af4a007e90045b4cc97f558e956adf9' into upstream-merge
* commit '2f7bb8780af4a007e90045b4cc97f558e956adf9': rename USE_NPTL to CONFIG_USE_NPTL rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH define ENOTSUP the same that the other errors Conflicts: create_config Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c
index dc6d39871..622b2cc5b 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1593,7 +1593,7 @@ static void gdb_set_cpu_pc(GDBState *s, target_ulong pc)
static inline int gdb_id(CPUState *env)
{
-#if defined(CONFIG_USER_ONLY) && defined(USE_NPTL)
+#if defined(CONFIG_USER_ONLY) && defined(CONFIG_USE_NPTL)
return env->host_tid;
#else
return env->cpu_index + 1;