diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2025-02-13 13:32:25 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2025-03-26 11:15:47 -0300 |
commit | 62c95db2a187a01bbafc6c29a81af53424bce0a3 (patch) | |
tree | 3404ca53ba383ac17b0269bf232f55e11fc6409d /libctf/ctf-open.c | |
parent | ad172865ca67ee66f9a7a2f87f62564c8fda3538 (diff) | |
download | binutils-62c95db2a187a01bbafc6c29a81af53424bce0a3.zip binutils-62c95db2a187a01bbafc6c29a81af53424bce0a3.tar.gz binutils-62c95db2a187a01bbafc6c29a81af53424bce0a3.tar.bz2 |
gdb: Remove compile-related attributes from struct language
The following patch will add a configure option to disable the compile
subsystem at compilation time. To do that, nearly all code that
interfaces with compile should be confined to the compile sub-folder.
This commit is the first step, removing the compile-related method from
the language struct and adding 2 new functions to compile.c that do the
same job in a slightly different way. Adding things to the language
struct is a more extendable way to add support for languages, but
considering compile is quite bit-rotted and questionably supported, I
don't think it will be extended any time soon, and using ifdefs to
handle disabling compile with configure felt like a messier solution.
There should be no visible changes after this commit.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions