[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defending GCC considered futile
From: |
Eli Zaretskii |
Subject: |
Re: Defending GCC considered futile |
Date: |
Tue, 10 Feb 2015 17:58:58 +0200 |
> From: Helmut Eller <address@hidden>
> CC: Daniel Colascione <address@hidden>, Eli Zaretskii <address@hidden>
> Date: Tue, 10 Feb 2015 09:47:21 +0100
>
> Recent GDB versions (can) use a GCC plugin to parse source-code;
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/gcc-c-fe.def;hb=HEAD
This is used for a different feature: to be able to inject code into a
program being debugged. See gdb/compile/ in the GDB repository (and
the corresponding docs in the manual, gdb/doc/gdb.texinfo).
And I don't think this is implemented as a GCC plugin. AFAIU, GDB
dynamically loads libcc1.so to invoke the compiler functions.
> I think completion is still done by GDB itself.
That's correct, GDB completes on symbols using its own code.
File-name completion uses Readline functions.
- 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, 2015/02/10
- Re: Defending GCC considered futile,
Eli Zaretskii <=
- 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
- Re: Defending GCC considered futile, Richard Stallman, 2015/02/10