<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 4:53 AM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="HOEnZb"><div class="h5">On Sat, Apr 23, 2016 at 2:46 PM, RISHABH GUPTA <<a href="mailto:rishabh9511@gmail.com">rishabh9511@gmail.com</a>> wrote:<br>
><br>
><br>
> On Sat, Apr 23, 2016 at 10:53 AM, Aetf <<a href="mailto:7437103@gmail.com">7437103@gmail.com</a>> wrote:<br>
>><br>
>> Hi Rishabh,<br>
><br>
> Hi<br>
>><br>
>> I'm not sure about others, but at least my proposal for the LLDB support<br>
>> was accepted for the GSoC.<br>
>><br>
>> It seems to me that you are trying to write the whole plugin from scratch,<br>
><br>
> No<br>
>><br>
>> while I'm going to work on the existing code base.<br>
><br>
><br>
> Same.  According to my findings it's mostly the same plugin so most of the<br>
> GDB's code will be reused.<br>
><br>
>> I'm not sure which one is better but I think we can work in parallel and<br>
>> discuss all the designs/implementations about the debugger plugin. I believe<br>
>> we can both write better code in this way. :)<br>
>><br>
>> This is my first time for GSoC, so I don't know if there's any<br>
>> policy/restrictions about this but I've seen somewhere mentioned that there<br>
>> can be multiple efforts towards the same project. So this should not be a<br>
>> problem.<br>
>><br>
>> Unfortunately, I have to prepare for my exams for the following week so I<br>
>> don't have time to look deeper into the code shortly, but anyway here is my<br>
>> proposal [1], any thoughts, questions, suggestions are more than welcomed.<br>
>> And it would be really helpful if you can post yours so we can learn from<br>
>> each other.<br>
><br>
><br>
> I too have practicals and exams coming up.My exams are scheduled from 10th<br>
> to  24th may so right now I can't do much .<br>
><br>
> My idea  was to make  Gdb's code generic so that both lldb and gdb can use<br>
> it .i.e to have a single debugger module from which both gdb and lldb can be<br>
> launched,this allows us to make use of most of the existing code.For example<br>
> classes like CppDebuggerPlugin, DebugJob, DebugSession are not debugger<br>
> specific and hence can be used generically .The only class I have<br>
> encountered till now  and is debugger specific is the launcher class.We need<br>
> to have two launcher classes(GdbLauncher and LldbLauncher) to provide users<br>
> the option to select from lldb and gdb .<br>
><br>
> I am reusing the code but I am not implementing all the functions right<br>
> now.Only those which are needed at present are being implemented.<br>
><br>
><br>
> I have started implementing my idea .Here is the code<br>
> <a href="https://github.com/rish9511/kdevelop/tree/lldb/debuggers" rel="noreferrer" target="_blank">https://github.com/rish9511/kdevelop/tree/lldb/debuggers</a><br>
><br>
> What this code does:<br>
><br>
> 1.User gets the option to choose from lldb and gdb .<br>
><br>
> 2.If user selects gdb to debug the program:<br>
>   a) the output will be displayed in the debug area(with no breakpoints)<br>
><br>
>   b) if user selects lldb ,the output won't be displayed .To make this work<br>
> we need to implement the parser class.<br>
><br>
><br>
> Regarding your proposal:<br>
> The classes like  Debugsession ,DebugJob that you have listed as Lldb<br>
> specific ,according to me can be used by both gdb and lldb.<br>
><br>
><br>
> Please ask if you have any doubts or provide suggestions :)<br>
><br>
><br>
> Cheers,<br>
> Rishabh<br>
>><br>
>> [1]:<br>
>> <a href="https://github.com/Aetf/GSoC2016Proposals/blob/master/KDevelop-LLDB.md" rel="noreferrer" target="_blank">https://github.com/Aetf/GSoC2016Proposals/blob/master/KDevelop-LLDB.md</a><br>
>><br>
>> Cheers,<br>
>><br>
>> Aetf<br>
>><br>
>> On Fri, Apr 22, 2016, 23:21 RISHABH GUPTA <<a href="mailto:rishabh9511@gmail.com">rishabh9511@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>> My proposal for LLDB support was not accepted for GSoc project .I want to<br>
>>> know whether I can still work on it with the guy who has been selected for<br>
>>> the project?<br>
>>><br>
>>> My plan was to work on the project in any case (i.e outside gsoc or as a<br>
>>> gsoc) but didn't know there was some other guy applying for the same<br>
>>> project.<br>
>>><br>
>>> Since I have already done some work on it and know about the project ,It<br>
>>> would be good If I  could also work on it .<br>
>>><br>
>>> Thank you:)<br>
>>> Rishabh<br>
<br>
</div></div>Hi Rishab,<br>
First of all, your commitment to collaborate with us is deeply<br>
appreciated. Thanks!<br>
</div><br></blockquote><div><br>Thank you. <br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd love to take on your offer, but considering that Aetf will be<br>
working on it, have you considered to look into something else? For<br>
example we really need some help with improving the clang integration<br>
(as well as in other areas).<br></blockquote><br>Sounds interesting.I'll try hacking on it after my exams.<br></div><div class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
Please, consider it.<br>
<br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Happy hacking!<br>
<span class="HOEnZb"><font color="#888888">Aleix<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">Thanks,<br></div><div class="gmail_extra">rishabh<br></div></div>