This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Getting hold of a bfd in _initialize_<target>_tdep
"J.T. Conklin" wrote:
>
> >>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> writes:
> Andrew> A clean solution to this is an open problem. Among the many things,
> Andrew> there needs to be a standardized way of specifying the ISA for a memory
> Andrew> region.
>
> Perhaps add ISA as an attribute for the soon-to-be-ready memory region
> attribute code?
Yes, good point, the memory attribute code should be able to influence
the dissassembler selection. However, programs like binutils's objdump
need to be able to make a reasonable stab at the task without any help
from GDB. That suggests that the object file needs to contain
additional information [this issue keeps being debated and never
resolved :-(]
Andrew