[PATCH] RTEMS: Use strict DWARF-2 on ARM, PowerPC, SPARC
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jun 18 12:24:18 UTC 2013
On 06/18/2013 02:10 PM, Ralf Corsepius wrote:
> On 06/18/2013 01:58 PM, Sebastian Huber wrote:
>> Some debuggers do not cope with the new DWARF3/4 debug format introduced
>> with GCC 4.8. Default to strict DWARF-2 on ARM, PowerPC and SPARC for
>> now.
>>
>> This patch should be committed to GCC 4.8 and 4.9.
>
> I am opposed to this patch, because
>
> * GNU software should not care about the limitations of commerical stuff and
> should only care about gdb.
Actually GCC cares about commercial stuff, e.g. the VxWorks and Darwin ports
use exactly the same mechanism.
The SPARC version of GDB seems to have problems here also:
http://www.rtems.org/pipermail/rtems-devel/2013-May/003188.html
>
> * We should stay with the GCC's defaults and not diverge from these.
In general this is true.
> * Users, who are facing issues with commerical stuff can always manually pass
> appropriate options to CC if they need it.
This approach is not possible for the multilibs.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list