View mode: basic / threaded / horizontal-split · Log in · Help
November 22, 2011
Discussion on D support in gdb
Maybe someone knowledgeable could chime in:

http://sourceware.org/ml/gdb/2011-11/msg00066.html



Andrei
November 22, 2011
Re: Discussion on D support in gdb
It's basically about this:  
http://d.puremagic.com/issues/show_bug.cgi?id=4180
November 22, 2011
Re: Discussion on D support in gdb
A noob question from my side: What is DWARF?

By the way I never touched the sources of gdb. I'm just a friendly user
of it.
November 22, 2011
Re: Discussion on D support in gdb
On 2011-11-22 13:13, mta`chrono wrote:
> A noob question from my side: What is DWARF?
>
> By the way I never touched the sources of gdb. I'm just a friendly user
> of it.

It's a standardized debugging data format.
http://en.wikipedia.org/wiki/DWARF

-- 
/Jacob Carlborg
November 22, 2011
Re: Discussion on D support in gdb
22.11.2011 15:13, mta`chrono пишет:
> A noob question from my side: What is DWARF?
>
> By the way I never touched the sources of gdb. I'm just a friendly user
> of it.

http://lmgtfy.com/?q=gdb+DWARF&l=1
November 22, 2011
Re: Discussion on D support in gdb
On Tue, 22 Nov 2011 04:18:47 +0100, Andrei Alexandrescu  
<SeeWebsiteForEmail@erdani.org> wrote:

> Maybe someone knowledgeable could chime in:
>
> http://sourceware.org/ml/gdb/2011-11/msg00066.html
>
>
>
> Andrei

I think we should follow Tom Tromney's proposal to add the extensions
under the GNU vendor space, i.e. prefix them with 0x41xx.
Numbers hopefully don't fall under licensing issues.

It should be fairly straightforward to improve gdb debugging support given  
that
changes are accepted on either side. The GDB codebase is a slightly  
unfriendly
environment but getting rid of 'p ((char*[2])str)[1]' would be great.

I would volunteer to do the implementation but it would be great if  
someone helped with
clarifying the following issues.

 - Can we slowly start to acquire DWARF-3/4?

 - Why were extensions chosen over say representing an array as two field  
struct?

 - There is this request by Robert Clipsham  
http://dwarfstd.org/ShowIssue.php?issue=100504.1.
   What's the state of this, it wouldn't be needed any longer.

 - We should contact http://www.zero-bugs.com, it is said to support the
   dwarf extensions and would need to be changed.

 - Find out who else is affected by changing the current extensions.

 - Fixing the D-ABI specification.

 - Are there other DWARF debuggers that we should take into account?

 - Adding a page to GNU wiki describing the D extensions.

 - We could probably use DW_TAG_GNU_template_parameter_pack for variadic  
template arguments.
   http://wiki.dwarfstd.org/index.php?title=C%2B%2B0x:_Variadic_templates

martin
November 22, 2011
Re: Discussion on D support in gdb
On 2011-11-22 16:19, Martin Nowak wrote:
> - Are there other DWARF debuggers that we should take into account?

The LLBD debugger: http://lldb.llvm.org/

-- 
/Jacob Carlborg
November 22, 2011
Re: Discussion on D support in gdb
mta`chrono wrote:

> A noob question from my side: What is DWARF?

http://dwarfstd.org/
November 22, 2011
Re: Discussion on D support in gdb
On 11/22/2011 04:19 PM, Martin Nowak wrote:
> On Tue, 22 Nov 2011 04:18:47 +0100, Andrei Alexandrescu
> <SeeWebsiteForEmail@erdani.org> wrote:
>
>> Maybe someone knowledgeable could chime in:
>>
>> http://sourceware.org/ml/gdb/2011-11/msg00066.html
>>
>>
>>
>> Andrei
>
> I think we should follow Tom Tromney's proposal to add the extensions
> under the GNU vendor space, i.e. prefix them with 0x41xx.
> Numbers hopefully don't fall under licensing issues.
>

Practically everything you can licence is a number.
November 22, 2011
Re: Discussion on D support in gdb
Le mardi 22 novembre 2011 à 16:27 +0100, Jacob Carlborg a écrit :
> On 2011-11-22 16:19, Martin Nowak wrote:
> > - Are there other DWARF debuggers that we should take into account?
> 
> The LLBD debugger: http://lldb.llvm.org/
> 

LLDB seem to be great but is OSX only ;'(
« First   ‹ Prev
1 2
Top | Discussion index | About this forum | D home