www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GDB Improved D support

reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
Here's the patch against GDB for anyone who wants to review.

https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d43

If no one sees anything that seems wrong, I'll submit this to GDB 
this afternoon for inclusion.

Regards
Iain.
Jan 03 2014
next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On 3 January 2014 14:26, Iain Buclaw <ibuclaw ubuntu.com> wrote:
 Here's the patch against GDB for anyone who wants to review.

 https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d43

 If no one sees anything that seems wrong, I'll submit this to GDB this
 afternoon for inclusion.

Of course, after posting, I thought of a few more tests to throw into the testsuite, and realised that I completely neglected demangling __vector types... Whoops! Changes now in this commit: https://github.com/ibuclaw/gdb/commit/fe0bc7e69fbda37f89b804cb7d2a842b8b2e9a5f Regards Iain
Jan 03 2014
prev sibling next sibling parent "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Friday, January 03, 2014 14:26:07 Iain Buclaw wrote:
 Here's the patch against GDB for anyone who wants to review.
 
 https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d
 43
 
 If no one sees anything that seems wrong, I'll submit this to GDB
 this afternoon for inclusion.

Any improvements to gdb's D support is much appreciated. :) - Jonathan M Davis
Jan 03 2014
prev sibling next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On 3 January 2014 22:35, Jonathan M Davis <jmdavisProg gmx.com> wrote:
 On Friday, January 03, 2014 14:26:07 Iain Buclaw wrote:
 Here's the patch against GDB for anyone who wants to review.

 https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d
 43

 If no one sees anything that seems wrong, I'll submit this to GDB
 this afternoon for inclusion.

Any improvements to gdb's D support is much appreciated. :)

I've been toying around with an expression parser. Soon you'll be able to run small D expressions in gdb just as you can with C/C++. :o)
Jan 03 2014
prev sibling next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On 3 January 2014 15:37, Iain Buclaw <ibuclaw gdcproject.org> wrote:
 On 3 January 2014 14:26, Iain Buclaw <ibuclaw ubuntu.com> wrote:
 Here's the patch against GDB for anyone who wants to review.

 https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d43

 If no one sees anything that seems wrong, I'll submit this to GDB this
 afternoon for inclusion.

Of course, after posting, I thought of a few more tests to throw into the testsuite, and realised that I completely neglected demangling __vector types... Whoops! Changes now in this commit: https://github.com/ibuclaw/gdb/commit/fe0bc7e69fbda37f89b804cb7d2a842b8b2e9a5f Regards Iain

Too late for early bird review, it's now been submitted on the gdb ML.
Jan 04 2014
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 1/3/2014 6:26 AM, Iain Buclaw wrote:
 Here's the patch against GDB for anyone who wants to review.

 https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3ba2a09942b52ad238397d43

 If no one sees anything that seems wrong, I'll submit this to GDB this
afternoon
 for inclusion.

This is a nice new year's surprise! Thanks for doing this.
Jan 04 2014
prev sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
--047d7bd6a8d4fb128f04ef366ba9
Content-Type: text/plain; charset=ISO-8859-1

On 5 Jan 2014 02:35, "Walter Bright" <newshound2 digitalmars.com> wrote:
 On 1/3/2014 6:26 AM, Iain Buclaw wrote:
 Here's the patch against GDB for anyone who wants to review.


 If no one sees anything that seems wrong, I'll submit this to GDB this


 for inclusion.

This is a nice new year's surprise! Thanks for doing this.

It's still half done, and all changes planned requires nothing to be altered from the D compiler side. There's still things that need to be fixed from the dmd dwarf support side of things, but at least when its complete, you are guaranteed that gdb is now going to be doing things in the right way - rather than trying to get it working for a half broken debugging environment. --047d7bd6a8d4fb128f04ef366ba9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">On 5 Jan 2014 02:35, &quot;Walter Bright&quot; &lt;<a href= =3D"mailto:newshound2 digitalmars.com">newshound2 digitalmars.com</a>&gt; w= rote:<br> &gt;<br> &gt; On 1/3/2014 6:26 AM, Iain Buclaw wrote:<br> &gt;&gt;<br> &gt;&gt; Here&#39;s the patch against GDB for anyone who wants to review.<b= r> &gt;&gt;<br> &gt;&gt; <a href=3D"https://github.com/ibuclaw/gdb/commit/6c187f7250c21a1b3= ba2a09942b52ad238397d43">https://github.com/ibuclaw/gdb/commit/6c187f7250c2= 1a1b3ba2a09942b52ad238397d43</a><br> &gt;&gt;<br> &gt;&gt; If no one sees anything that seems wrong, I&#39;ll submit this to = GDB this afternoon<br> &gt;&gt; for inclusion.<br> &gt;<br> &gt;<br> &gt; This is a nice new year&#39;s surprise! Thanks for doing this.<br> &gt;</p> <p dir=3D"ltr">It&#39;s still half done, and all changes planned requires n= othing to be altered from the D compiler side.</p> <p dir=3D"ltr">There&#39;s still things that need to be fixed from the dmd = dwarf support side of things, but at least when its complete, you are guara= nteed that gdb is now going to be doing things in the right way - rather th= an trying to get it working for a half broken debugging environment.<br> </p> --047d7bd6a8d4fb128f04ef366ba9--
Jan 05 2014