This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]