This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/21946] Python API search_memory remote targets bug


https://sourceware.org/bugzilla/show_bug.cgi?id=21946

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
> I am not aware what does this option introduce, but it seems it is a good
workaround.

That option disables the "qSearch:memory" remote serial protocol packet.  I.e.,
when the option is on, GDB sends the pattern to GDBserver, GDBserver does the
searching, and returns back the result to GDB.  When the option is off, GDB
falls back to search memory itself, by reading memory blocks out of the remote
target's memory.  The latter is much slower.  "qSearch:memory" is thus an
optimization.

Look for qSearch:memory at:
  https://sourceware.org/gdb/onlinedocs/gdb/General-Query-Packets.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]