summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2012-03-26 13:54:57 +0000
committerPedro Alves <pedro@codesourcery.com>2012-03-26 13:54:57 +0000
commitb0e5cb87d66e1c74613ba923664bef9547b96172 (patch)
treec8aac38831ea51fcfa1497e31d9e675718bf1ff7 /gdb/gdbserver/server.c
parenta5cb0e3d12758e08a1ccc7f6f73529bc102a6d31 (diff)
downloadgdb-b0e5cb87d66e1c74613ba923664bef9547b96172.tar.gz
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.
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r--gdb/gdbserver/server.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index a4e9e57fc30..9c7159f3d52 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -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;