Bug 174307

Summary: Adding dwarf2 option for devel/avr-gcc
Product: Ports & Packages Reporter: Jerome Lebel <lebel.jerome>
Component: Individual Port(s)Assignee: Joerg Wunsch <joerg>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jerome Lebel 2012-12-09 23:10:00 UTC
For arduino users, it's useful to add dwarf2 in avr-gcc. So it would nice to have an option in make config to add it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-10 01:13:27 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-10 01:13:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->joerg

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Joerg Wunsch freebsd_committer freebsd_triage 2012-12-10 05:46:52 UTC
State Changed
From-To: open->feedback

What exactly is your concern?  DWARF-x (with x between 2 and 
5) *is* already supported, and DWARF-2 has been supported for 
many years. 

Just use -gdwarf-2 ... -gdwarf-5 on the commandline. 

Or would you like to have the default -g option changed from 
-gstabs to -gdwarf-2?  If so, why not the highest possible 
-gdwarf-5 then?  GDB could handle it.
Comment 4 Joerg Wunsch freebsd_committer freebsd_triage 2012-12-10 09:52:44 UTC
State Changed
From-To: feedback->closed

Originator agreed (in private email) the PR has been misfiled, 
and needs some more investigation/rework.