emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]