This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: add-symbol-file-from-memory patch breaks non-elf targets?
- From: Roland McGrath <roland at redhat dot com>
- To: Randolph Chung <randolph at tausq dot org>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 21 Apr 2004 11:33:00 -0700
- Subject: Re: add-symbol-file-from-memory patch breaks non-elf targets?
> > 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.