aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-03-26 13:54:57 +0000
committerPedro Alves <palves@redhat.com>2012-03-26 13:54:57 +0000
commit63c88e131232677961af202d4ff33d4037cf2504 (patch)
treec4cf2183aefa8f72ddf5b8bf60500efb30ed0bf4 /gdb/gdbserver
parent1d6d1a2c054afee27c7f0c9a6e3f2d29498cb5b9 (diff)
downloadgdb-63c88e131232677961af202d4ff33d4037cf2504.zip
gdb-63c88e131232677961af202d4ff33d4037cf2504.tar.gz
gdb-63c88e131232677961af202d4ff33d4037cf2504.tar.bz2
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')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/server.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 1069b5d..c99505f 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
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.
2012-03-23 Pedro Alves <palves@redhat.com>
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index a4e9e57..9c7159f 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;