[Lldb-commits] [PATCH] D24236: gdb-remote: Add jModulesInfo packet

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 6 09:56:04 PDT 2016


clayborg added a comment.

Just take a look and see if there is anything worth re-using. If there is too much mac specific stuff in there, then just use the one created, but be sure to make it your new format completely agnostic to any platform so it can work for anything. It is OK to include platform specific keys that might be needed if the format, just place them in an appropriate dictionary, like

"macos" : { "cputype" : 123, "cpusubtype" : 234 }

If you need info on all shared libraries though, why not just use the XML version that already exists?

  Error ProcessGDBRemote::GetLoadedModuleList (LoadedModuleInfoList & list);

This uses the "libraries-svr4" packet that gets XML for all shared libraries. Is there information missing in that format that you require?


https://reviews.llvm.org/D24236





More information about the lldb-commits mailing list