From: Ulrich Weigand Date: Fri, 4 Apr 2008 19:19:11 +0000 (+0000) Subject: * server.c (handle_query): Never return "unsupported" for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4536995d8b201aa1f9846f0c7c7be7df6dbcf4bf;p=binutils-gdb.git * server.c (handle_query): Never return "unsupported" for qXfer:features:read queries. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index af733d90669..1a8689520a2 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2008-04-04 Ulrich Weigand + + * server.c (handle_query): Never return "unsupported" for + qXfer:features:read queries. + 2008-03-27 Ulrich Weigand * server.c (get_features_xml): Fix inverted condition. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 8f74711c223..852a0bd565f 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) {