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

Andrew Cagney
Thu Apr 22 14:57:00 GMT 2004

> I messed around with it, and I couldn't find a good place either.  How
> about creating a new file, elf-tdep.c, putting the code there, and
> having add elf-tdep.o to the link?

It really isn't OSABI specific so *-tdep.c would be wrong (-tdep is a 
misleading suffix).  Something like solib-mem.c comes to mind but that 
is still a hack.


More information about the Gdb mailing list