* server.c (handle_query): Never return "unsupported" for
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 4 Apr 2008 19:19:11 +0000 (19:19 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 4 Apr 2008 19:19:11 +0000 (19:19 +0000)
qXfer:features:read queries.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index af733d90669aa4ed9069e48f6abea79ebc3833ef..1a8689520a20fb91257d2d3349b4aeae9de5c502 100644 (file)
@@ -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.
index 8f74711c22350b491812f6b934086912d9377709..852a0bd565f1ba3f6cf2d8de28c76930c28ac745 100644 (file)
@@ -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)
        {