2012-03-26 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Mon, 26 Mar 2012 13:54:57 +0000 (13:54 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 26 Mar 2012 13:54:57 +0000 (13:54 +0000)
* server.c (handle_qxfer_libraries): Don't bail early if
the_target->qxfer_libraries_svr4 is not NULL.

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

index 1069b5d9c0882fe5bec77a5a143cdfcac898762a..c99505fba7eae8a47df32d6d988ccd6c35506342 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-26  Pedro Alves  <palves@redhat.com>
+
+       * server.c (handle_qxfer_libraries): Don't bail early if
+       the_target->qxfer_libraries_svr4 is not NULL.
+
 2012-03-26  Pedro Alves  <palves@redhat.com>
 
        * linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment.
index a4e9e57fc304302d7f211d881239f67376bd0c45..9c7159f3d529b1b27da77d2d126057f91186e08e 100644 (file)
@@ -1015,10 +1015,6 @@ handle_qxfer_libraries (const char *annex,
   if (annex[0] != '\0' || !target_running ())
     return -1;
 
-  /* Do not confuse this packet with qXfer:libraries-svr4:read.  */
-  if (the_target->qxfer_libraries_svr4 != NULL)
-    return 0;
-
   /* Over-estimate the necessary memory.  Assume that every character
      in the library name must be escaped.  */
   total_len = 64;