add-symbol-file-from-memory patch breaks non-elf targets?

Roland McGrath
Wed Apr 21 18:42:00 GMT 2004

> > In gdb, I could not find, and still cannot find, a reasonable way to
> > conditionalize something at compile time on "will there be ELF".  
> can we add an autoconf check for this?

I had that thought, but I am really not sure off hand if it will work right.
That is, gdb/configure needs to do a check by linking against libbfd.
libbfd is built in the same tree, not installed on the system.

More information about the Gdb mailing list