aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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;