[PATCH] gdb, configure: Add disable-formats option for configure

Tom Tromey tom@tromey.com
Fri Sep 27 18:01:15 GMT 2024


>>>>> "Guinevere" == Guinevere Larsen <guinevere@redhat.com> writes:

>>> +enable-formats=[FORMAT,]...

>> I think this option name is too generic.

Guinevere> Eli suggested objfile-format and binary-file-format. I was planning on
Guinevere> using the former, unless you still think is too generic, or have a
Guinevere> better suggestion :)

I don't believe naming things is really my strong suit.
I tend to rush through it.

"objfile" though seems like gdb internals terminology.
Maybe something like "--enable-gdb-file-formats"?
Having "gdb" in there explicitly may make it more clear that this isn't
affecting BFD.

Guinevere> I guess the real problem is a confusing name (and
Guinevere> overlap). All_target_formats is all the formats that have to be
Guinevere> compiled in if the user requested --enable-targets=all. This list
Guinevere> doesn't have Mach-O and dbx.

dbx I understand, since a.out is largely dead, but surely Mach-O is
needed by --enable-targets=all in order to target macOS?

Tom


More information about the Gdb-patches mailing list