This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Enable x86 XML target descriptions
On Mon, Feb 22, 2010 at 07:34:01AM -0800, H.J. Lu wrote:
> I just need to know if the inferior is 32bit or 64bit. Why shouldn't
> target_gdbarch be used? At this point, target_gdbarch should have
> the correct bfd cpu info. Is that correct?
Not if, for instance, we did not find the executable.
If you are just guessing based on the gdbarch, what value does this
function add?
--
Daniel Jacobowitz
CodeSourcery