[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defending GCC considered futile
From: |
Helmut Eller |
Subject: |
Re: Defending GCC considered futile |
Date: |
Tue, 10 Feb 2015 09:47:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
On Tue, Feb 10 2015, Daniel Colascione wrote:
> On 02/09/2015 07:37 PM, Eli Zaretskii wrote:
>> Parsing source-code expression is a very small part of what GDB does.
>> So this is a red herring.
>
> It's also one of the most frustrating parts of GDB. Subtle problems in
> parsing C++ (who can blame GDB for that?) often make it difficult to
> produce certain expressions in that language, especially in programs
> with complicated templates. If GDB were able to reuse a common parsing
> system, AST library, and completion engine, it would be both smaller and
> more robust.
Recent GDB versions (can) use a GCC plugin to parse source-code; I think
completion is still done by GDB itself.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/gcc-c-fe.def;hb=HEAD
Helmut
- Re: Defending GCC considered futile, (continued)
- Re: Defending GCC considered futile, Richard Stallman, 2015/02/08
- Re: Defending GCC considered futile, Stefan Monnier, 2015/02/08
- Re: Defending GCC considered futile, Stephen J. Turnbull, 2015/02/09
- Re: Defending GCC considered futile, Richard Stallman, 2015/02/09
- Re: Defending GCC considered futile, Perry E. Metzger, 2015/02/09
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/09
- Re: Defending GCC considered futile, Daniel Colascione, 2015/02/10
- Re: Defending GCC considered futile,
Helmut Eller <=
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/10
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/10
- Re: Defending GCC considered futile, Daniel Colascione, 2015/02/10
- Re: Defending GCC considered futile, David Kastrup, 2015/02/10
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/10
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/10
- Re: Defending GCC considered futile, David Kastrup, 2015/02/10
- Re: Defending GCC considered futile, Stefan Monnier, 2015/02/10
- Re: Defending GCC considered futile, Eli Zaretskii, 2015/02/10
- Re: Defending GCC considered futile, Richard Stallman, 2015/02/11