Comment 9 for bug 1248981

Revision history for this message
Niall Parker (stuff-pender) wrote : Re: [Bug 1248981] Re: arm-none-eabi-gdb crashes with segfault:11

On 13-11-13 08:41 PM, Terry Guo wrote:
> Hi Kirill,
>
> I now can confirm that the issue is caused by a known gdb bug which is
> already fixed in recent gdb. The gdb 7.4.1.20130913 in this release has
> some problem to decode DWARF debug information generated by -g3 option.
> For the time being, please recompile your project with -g or -g2 to work
> around this issue.
>
> Hi Niall,
>
> You might also need to recompile your project with -g or -g2.
That seems to work, using the eclipse plugin I also played with
toolchain format vs. gdb but in the end just switching to -g was enough
to avoid the segfault on symbol loading.

Thanks !
                     ... Niall
>
> ** Changed in: gcc-arm-embedded
> Status: New => Fix Committed
>
> ** Changed in: gcc-arm-embedded
> Importance: Undecided => Critical
>
> ** Changed in: gcc-arm-embedded
> Milestone: None => 4.7-2014-q1-update
>