================ @@ -71,28 +124,62 @@ def qXferRead(self, obj, annex, offset, length): if obj == "libraries": xml = ( '<library-list><library name="%s"><section address="%d"/></library></library-list>' - % (self._module_name, load_address) + % (self._module_name, LOAD_ADDRESS) ) return xml, False else: return None, False def readMemory(self, addr, length): - if addr < load_address: + if self._memory and self._memory.contains(addr): + chunk = self._memory.get_bytes(addr, length) + return chunk.hex() ---------------- JDevlieghere wrote:
Porbably? Do we actually run the test suite on a big endian platform? Not trying to say it's not important, but I don't have a platform to try on and I don't remember seeing other gdb_remote_client support that. https://github.com/llvm/llvm-project/pull/151056 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits