Jump to page: 1 2
Thread overview
D Now in DWARF3 Standard!
Jul 25, 2005
John Demme
Jul 25, 2005
Factory
Jul 25, 2005
Ben Hinkle
Jul 25, 2005
Charles
Jul 30, 2005
Walter
Jul 30, 2005
pragma
Aug 02, 2005
Piotr Fusik
Jul 31, 2005
John Demme
Jul 31, 2005
Walter
Jul 31, 2005
John Demme
Jul 31, 2005
Walter
Jul 31, 2005
John Demme
Aug 02, 2005
Walter
Jul 31, 2005
J C Calvarese
Jul 31, 2005
John Demme
Jul 31, 2005
Walter
July 25, 2005
According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed

D has been added to the latest DWARF standard draft.  This means that D
has it's own language code.  According to
http://dwarf.freestandards.org/Dwarf3.doc (page 148)
D's been assigned 0x0013.

For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for C. This confuses the hell out of GDB.

Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?  Pretty please?)

With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.

-John Demme

July 25, 2005
In article <1122266146.3983.12.camel@localhost>, me@teqdruid.com says...
> With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.

  Hmm I wouldn't mind a good debugger for D.

  - Factory
July 25, 2005
"John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
>
> D has been added to the latest DWARF standard draft.  This means that D
> has it's own language code.  According to
> http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> D's been assigned 0x0013.
>
> For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for C. This confuses the hell out of GDB.
>
> Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?  Pretty please?)
>
> With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.

Very cool! I think this would help a great deal.


July 25, 2005
Thanks for doing this John , like you said D might not be bursting on to the scene ( yet ) , but its slowly and consistently getting more and more exposure :).

Charlie

"John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
>
> D has been added to the latest DWARF standard draft.  This means that D
> has it's own language code.  According to
> http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> D's been assigned 0x0013.
>
> For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for C. This confuses the hell out of GDB.
>
> Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?  Pretty please?)
>
> With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.
>
> -John Demme
>


July 30, 2005
"John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
>
> D has been added to the latest DWARF standard draft.  This means that D
> has it's own language code.  According to
> http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> D's been assigned 0x0013.

Thanks, I'll make this change. Just to be sure, though, the first url shows it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it. Perhaps freestandards should use an open standard like html instead? <g>

> For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for C. This confuses the hell out of GDB.
>
> Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?  Pretty please?)
>
> With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.
>
> -John Demme
>


July 30, 2005
In article <dch2bu$1nto$1@digitaldaemon.com>, Walter says...
>
>
>"John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
>> According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
>>
>> D has been added to the latest DWARF standard draft.  This means that D
>> has it's own language code.  According to
>> http://dwarf.freestandards.org/Dwarf3.doc (page 148)
>> D's been assigned 0x0013.
>
>Thanks, I'll make this change. Just to be sure, though, the first url shows it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it.

Walter, I could load the document just fine under Word/Office 2000.  Here's a cut-and-paste of the language constants in the spec:

DW_LANG_Pascal83	0x0009
DW_LANG_Modula2	0x000a
DW_LANG_Java ‡	0x000b
DW_LANG_C99 ‡	0x000c
DW_LANG_Ada95 †‡	0x000d
DW_LANG_Fortran95DW_LANG_Fortran95DW_LANG_Fortran95 ‡	0x000e
DW_LANG_PLI †‡	0x000f
DW_LANG_ObjC ‡	0x0010
DW_LANG_ObjC_plus_plus ‡	0x0011
DW_LANG_Upc	0x0012
DW_LANG_D	0x0013
DW_LANG_lo_user	0x8000
DW_LANG_hi_user	0xffff

Looks like we're lucky number 13.

>Perhaps freestandards should use an open
>standard like html instead? <g>

Sad but true.  Especially since the DWARF spec has such a strong affinity with Unix/Linux.

- EricAnderton at yahoo
July 31, 2005
Right, so the first link is to my proposal.  I requested 0x001d, since 0x000d was taken.  They decided to go in order, and gave us the next available one, 0x0013.

I think they're using Word since they want to be able to track changes. This is only a draft, and once it's properly edited for grammer, spelling, ect, they'll release a copy in PDF- still not great, but better.

John

On Sat, 2005-07-30 at 16:26 -0700, Walter wrote:
> "John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> > According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
> >
> > D has been added to the latest DWARF standard draft.  This means that D
> > has it's own language code.  According to
> > http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> > D's been assigned 0x0013.
> 
> Thanks, I'll make this change. Just to be sure, though, the first url shows it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it. Perhaps freestandards should use an open standard like html instead? <g>
> 
> > For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for C. This confuses the hell out of GDB.
> >
> > Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?  Pretty please?)
> >
> > With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.
> >
> > -John Demme
> >
> 
> 

July 31, 2005
Ok. I'll add it in, with a -gc switch for the old way, as it will take years before all the gdb changes percolate through.

"John Demme" <me@teqdruid.com> wrote in message news:1122770369.12363.3.camel@localhost...
> Right, so the first link is to my proposal.  I requested 0x001d, since 0x000d was taken.  They decided to go in order, and gave us the next available one, 0x0013.
>
> I think they're using Word since they want to be able to track changes. This is only a draft, and once it's properly edited for grammer, spelling, ect, they'll release a copy in PDF- still not great, but better.
>
> John
>
> On Sat, 2005-07-30 at 16:26 -0700, Walter wrote:
> > "John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> > > According to
> > >
http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
> > >
> > > D has been added to the latest DWARF standard draft.  This means that
D
> > > has it's own language code.  According to
> > > http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> > > D's been assigned 0x0013.
> >
> > Thanks, I'll make this change. Just to be sure, though, the first url
shows
> > it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it. Perhaps freestandards should use an
open
> > standard like html instead? <g>
> >
> > > For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for
C.
> > > This confuses the hell out of GDB.
> > >
> > > Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?
Pretty
> > > please?)
> > >
> > > With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.
> > >
> > > -John Demme
> > >
> >
> >
>


July 31, 2005
Not to keep harking on it to be an annoyance, but is there any chance you'll fix the DWARF line numbering bug while you're in there?  (It'd be real nice)

On Sat, 2005-07-30 at 18:31 -0700, Walter wrote:
> Ok. I'll add it in, with a -gc switch for the old way, as it will take years before all the gdb changes percolate through.
> 
> "John Demme" <me@teqdruid.com> wrote in message news:1122770369.12363.3.camel@localhost...
> > Right, so the first link is to my proposal.  I requested 0x001d, since 0x000d was taken.  They decided to go in order, and gave us the next available one, 0x0013.
> >
> > I think they're using Word since they want to be able to track changes. This is only a draft, and once it's properly edited for grammer, spelling, ect, they'll release a copy in PDF- still not great, but better.
> >
> > John
> >
> > On Sat, 2005-07-30 at 16:26 -0700, Walter wrote:
> > > "John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
> > > > According to
> > > >
> http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
> > > >
> > > > D has been added to the latest DWARF standard draft.  This means that
> D
> > > > has it's own language code.  According to
> > > > http://dwarf.freestandards.org/Dwarf3.doc (page 148)
> > > > D's been assigned 0x0013.
> > >
> > > Thanks, I'll make this change. Just to be sure, though, the first url
> shows
> > > it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it. Perhaps freestandards should use an
> open
> > > standard like html instead? <g>
> > >
> > > > For those of you who don't know, DWARF is the standard for debugging information for the ELF executable format... basically the debugging standard on Linux.  Currently, Walter cheats and outputs the code for
> C.
> > > > This confuses the hell out of GDB.
> > > >
> > > > Once Walter changes dmd to output D's new code (as he told me he would once I got us assigned a code) I'll update my GDB patch to add this code.  Currently the D symbol demangling in my GDB patch only works if you don't compile the D source with -debug.  Hopefully while Walter is mucking around with the DWARF debugging output, he'll fix the line numbering to be somewhat close to working ;).  (Please, Walter?
> Pretty
> > > > please?)
> > > >
> > > > With this new code, and if Walter fixes DMD, I'll make an attempt at getting my GDB patch into the main GDB source tree :)  Then D would really get some credibility!  Things may be going slowly, but at least they're moving.
> > > >
> > > > -John Demme
> > > >
> > >
> > >
> >
> 
> 

July 31, 2005
In article <dch2bu$1nto$1@digitaldaemon.com>, Walter says...
>
>
>"John Demme" <me@teqdruid.com> wrote in message news:1122266146.3983.12.camel@localhost...
>> According to http://dwarf.freestandards.org/ShowIssue.php?issue=050408.1&type=closed
>>
>> D has been added to the latest DWARF standard draft.  This means that D
>> has it's own language code.  According to
>> http://dwarf.freestandards.org/Dwarf3.doc (page 148)
>> D's been assigned 0x0013.
>
>Thanks, I'll make this change. Just to be sure, though, the first url shows it to be 0x001d, but you say it's 0x001d. I can't look at dwarf3.doc, my machine crashes trying to load it. Perhaps freestandards should use an open standard like html instead? <g>

FWIW, I was able to view the .doc with OpenOffice 1.1.4 (open source and free, http://www.openoffice.org/). But it wasn't on page 148 for me, it was on page 132. I found it by searching for "DW_LANG_D".

jcc7
« First   ‹ Prev
1 2