Re: [PATCH 2/2] Exclude debuginfo files from "outside of ELF segments" warning

Keith Seitz via Gdb-patches
2020-11-12T22:18:51Z

On 11/12/20 1:45 PM, Tom Tromey wrote:
> I didn't know about is_debuginfo_file, so I took a quick look, and it
> says:
>
> /* Determine if a bfd is a debuginfo file. Unfortunately there
> is no defined method for detecting such files, so we have to
> use heuristics instead. */
>
> I wonder if gdb should just use its own idea here, though -- like if the
> objfile has a backlink, it is a separate debug file.

Yeah, I debated that, too, but ultimately, I thought it best to do what
BFD does. Camaraderie? :-)

> I'm ok with this patch though.

I'll wait a day or two and see if anyone else chimes in.

I appreciate the speedy review!

Keith