This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gdb doesn't get argc right
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Don Viszneki <don at codebad dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sun, 16 Apr 2017 22:17:56 -0700
- Subject: Re: gdb doesn't get argc right
- Authentication-results: sourceware.org; auth=none
- References: <20170417025520.GA5401@codebad.com>
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