aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 10:51:36 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 10:51:36 +0000
commit0b8a988c5d34c73815136bb41b10f67009b42a1c (patch)
tree295b98cbb0a0f84b3954722849369611badb2c97 /gdbstub.c
parentb4950060238871b754b331253ae504a21d8e67bc (diff)
downloadqemu-0b8a988c5d34c73815136bb41b10f67009b42a1c.zip
qemu-0b8a988c5d34c73815136bb41b10f67009b42a1c.tar.gz
qemu-0b8a988c5d34c73815136bb41b10f67009b42a1c.tar.bz2
Fix BSD user
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6734 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 27e887e..d549766 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1808,7 +1808,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
}
break;
}
-#ifdef CONFIG_LINUX_USER
+#ifdef CONFIG_USER_ONLY
else if (strncmp(p, "Offsets", 7) == 0) {
TaskState *ts = s->c_cpu->opaque;
@@ -1821,7 +1821,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
put_packet(s, buf);
break;
}
-#else /* !CONFIG_LINUX_USER */
+#else /* !CONFIG_USER_ONLY */
else if (strncmp(p, "Rcmd,", 5) == 0) {
int len = strlen(p + 5);
@@ -1836,7 +1836,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
put_packet(s, "OK");
break;
}
-#endif /* !CONFIG_LINUX_USER */
+#endif /* !CONFIG_USER_ONLY */
if (strncmp(p, "Supported", 9) == 0) {
snprintf(buf, sizeof(buf), "PacketSize=%x", MAX_PACKET_LENGTH);
#ifdef GDB_CORE_XML