aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-04-04 19:19:11 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-04-04 19:19:11 +0000
commit4536995d8b201aa1f9846f0c7c7be7df6dbcf4bf (patch)
treedc469c825c20d5826465dfd258ecbae52e73d427 /gdb/gdbserver
parent86925eef33811b6ca76006e539314a7de652b5c8 (diff)
downloadgdb-4536995d8b201aa1f9846f0c7c7be7df6dbcf4bf.zip
gdb-4536995d8b201aa1f9846f0c7c7be7df6dbcf4bf.tar.gz
gdb-4536995d8b201aa1f9846f0c7c7be7df6dbcf4bf.tar.bz2
* server.c (handle_query): Never return "unsupported" for
qXfer:features:read queries.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index af733d9..1a86895 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-04 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * server.c (handle_query): Never return "unsupported" for
+ qXfer:features:read queries.
+
2008-03-27 Ulrich Weigand <uweigand@de.ibm.com>
* server.c (get_features_xml): Fix inverted condition.
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 8f74711..852a0bd 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -497,14 +497,6 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p)
require_running (own_buf);
- /* Check for support. */
- document = get_features_xml ("target.xml");
- if (document == NULL)
- {
- own_buf[0] = '\0';
- return;
- }
-
/* Grab the annex, offset, and length. */
if (decode_xfer_read (own_buf + 20, &annex, &ofs, &len) < 0)
{