Thread overview
[Issue 11530] New: need gdb dwarf test suite
Nov 16, 2013
Martin Nowak
Nov 30, 2013
Martin Nowak
Feb 14, 2014
Iain Buclaw
Feb 14, 2014
Martin Nowak
November 16, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11530

           Summary: need gdb dwarf test suite
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: code@dawg.eu


--- Comment #0 from Martin Nowak <code@dawg.eu> 2013-11-16 10:36:39 PST ---
I'm about to overhaul dmd's DWARF information and will try to fix the
outstanding issues. It seems (subjective) that the current state is worse than
a year ago.
So in any case we'll need a test suite to avoid regressions.
In the best case we find/write a tool that verifies correct debug information.
Otherwise we could try to automate gdb sessions but this is probably a very
slow test.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 30, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11530



--- Comment #1 from Martin Nowak <code@dawg.eu> 2013-11-30 13:29:33 PST ---
A simple solution would be to process the output of readelf or dwarfdump.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 11, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11530



--- Comment #2 from Andrei Alexandrescu <andrei@erdani.com> 2014-01-10 17:32:11 PST ---
$50 bounty placed

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 14, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11530


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@ubuntu.com


--- Comment #3 from Iain Buclaw <ibuclaw@ubuntu.com> 2014-02-14 02:41:31 PST ---
Martin, wouldn't that be very DMD-specific?


Only ask because currently I'm in the process of writing a lot of tests for the GDB testsuite to ensure that GDB behaves correctly for both gdb sessions and evaluating expressions sent to GDB.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 14, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11530



--- Comment #4 from Martin Nowak <code@dawg.eu> 2014-02-14 03:03:12 PST ---
Yeah, that could easily turn into somethin DMD specific.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------