[Dwarf-Discuss] DWARF on systems where memory is not byte addressable

Tom Tromey tromey at redhat.com
Thu Jul 26 13:57:01 PDT 2012


>>>>> "Michael" == Michael Eager <eager at eagercon.com> writes:

Michael> Gdb has the definition TARGET_CHAR_BIT which defines the number of
Michael> bits in a char (aka byte) on the target architecture.  It may not
Michael> be taking this into account with address arithmetic or memory access.

My impression is that TARGET_CHAR_BIT was one of those projects that was
started in gdb and never really finished.  There are certainly many
places remaining that assume 8 bit bytes.

Tom



More information about the Dwarf-Discuss mailing list