From 63c88e131232677961af202d4ff33d4037cf2504 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 26 Mar 2012 13:54:57 +0000 Subject: [PATCH] 2012-03-26 Pedro Alves * server.c (handle_qxfer_libraries): Don't bail early if the_target->qxfer_libraries_svr4 is not NULL. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/server.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 1069b5d9c08..c99505fba7e 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-03-26 Pedro Alves + + * server.c (handle_qxfer_libraries): Don't bail early if + the_target->qxfer_libraries_svr4 is not NULL. + 2012-03-26 Pedro Alves * linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment. 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; -- 2.30.2