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 reply 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
parent Iain Buclaw <ibuclaw gdcproject.org> writes:
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.
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.
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.
Jan 05 2014
prev sibling parent Andrej Mitrovic via Digitalmars-d <digitalmars-d puremagic.com> writes:
On 1/3/14, Iain Buclaw <ibuclaw ubuntu.com> wrote:
 snip

 https://github.com/ibuclaw/gdb/
Iain, is there a nice feature list somewhere to tell what's new in your fork? I saw the changelog but it's not very informative from a user's point of view: https://github.com/ibuclaw/gdb/blob/dlang/gdb/ChangeLog e.g.: --- * d-lang.h (d_main_name): Add declaration. * d-lang.c (d_main_name): New function. ---
Feb 05 2015