Missing test cases for jit-reader interface
Andy Wingo
wingo@igalia.com
Thu Feb 26 09:02:00 GMT 2015
On Wed 25 Feb 2015 23:38, Yao Qi <qiyaoltc@gmail.com> writes:
>>>> >> +if { ![isnative] } {
>>>> >> + return -1
>>>> >> +}
>>> >
>>> > and remove it too.
>> Does it not need to be this way? If you are debugging from a big-endian
>> host, you will read the addresses wrong from the inferior, as the
>> jit-reader .so reads the values directly. (Seems to me anyway.)
>>
>
> My understanding is that jitreader accesses inferior through GDB, no?
Yes, but it does so through a straw, so to speak -- the only interface
it has is "read these bytes of memory", nothing about pointer sizes,
endianness, etc. And as an exception, the symfile itself is pre-copied
into the address space of the .so, but without any kind of conversion.
Andy
More information about the Gdb-patches
mailing list