Re: endianness handling inside gdb

<[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> On Oct 22, 2015, at 3:01 PM, Ashutosh <[email protected]> wrote:
> 
> Hi Experts,
> 
> Does gdb handles the case where endianness of the ELF file is
> different from the endianness of the target processor? 

That doesn't make any sense.  The executable file (I assume that's what you're talking about) is built for the byte order being used.  A processor can only execute code that matches the byte order it's using.  Either because that's the way the processor is configured, or because it has selectable order and this particular process has selected that order.  But a mismatch between processor and executable file byte order doesn't make any more sense than, say, trying to debug on an x86 processor using a MIPS binary.

	paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.