GDB for multiple targets
Ulrich Weigand
uweigand@de.ibm.com
Tue Dec 9 18:44:00 GMT 2008
Marc Khouzam wrote:
> > From: Ulrich Weigand [mailto:uweigand@de.ibm.com]=20
> > Sent: Tuesday, December 09, 2008 1:11 PM
> >
> > Except for the target architecture (which is already provided as
> > part of the target description) and the osabi, the only remaining
> > feature that falls back to a compile-time default is the target
> > byte order (as far as I can see). Now, the byte order fallback
> > is only used if the endianness cannot be determined from the
> > executable file being debugged, so this should be a rare case.
> > However, it would certainly make sense to allow the target to
> > provide byte order information in the target description as well.
>
> When using the 'attach' command to debug a process, GDB is able to=20
> find the executable automatically. So, I don't actually use the 'file'
> command in those cases. Would GDB still be able to determine the
> endianness in those cases?
Yes, it would.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gdb
mailing list