Brussels / 31 January & 1 February 2015


Porting LLDB to a new Target

At Mentor Embedded/CodeSourcery, we have recently ported LLDB to debug programs for a very specialized processor. This port required a lot of customization in LLDB. We introduced a new connection mechanism to the target and handled new object file and symbols formats.

In this talk, I will describe our experience of porting LLDB. I will explain how to make use of the Plugin architecture of LLDB to customize its behaviour. Finally, I will discuss in details how to write the following plugins.

i) Process plugin to add a new way to connect to target

ii) ObjectFile plugin to handle a new object file format


Photo of Hafiz Abid Qadeer Hafiz Abid Qadeer