gdb doesn't get argc right

Andrew Pinski pinskia@gmail.com
Mon Apr 17 05:18:00 GMT 2017


On Sun, Apr 16, 2017 at 7:55 PM, Don Viszneki <don@codebad.com> wrote:
> Hi all,
>
> I'm using standard Ubuntu releases of gcc (5.4.0) and gdb (7.11.1) and I
> have a very simple to reproduce issue on x86-64.
>
> I think I've included all the necessary information in this paste:
>
> https://gist.github.com/hdon/3f96a8a6b67e078e0213660ec6245677
>
> Please let me know if there more information is needed to complete this bug
> report.

Why are you using -gstabs+ ?  Stabs debugging format is not well
supported any more and produces much worse than the default dwarf2.

Thanks,
Andrew

>
> Thanks



More information about the Gcc-help mailing list