PATCH: PR gdb/13969: GDBserver doesn't check unsupported binary

H.J. Lu hjl.tools@gmail.com
Thu Apr 12 16:38:00 GMT 2012


On Thu, Apr 12, 2012 at 8:57 AM, Pedro Alves <palves@redhat.com> wrote:
> On 04/12/2012 04:37 PM, H.J. Lu wrote:
>
>> It doesn't work since x32 is a 32-bit process.  Although x32
>> GDBserver can get registers of 64-bit process,  it can't handle 64-bit address
>
>> in 64b-bit process, like setting break points.
>
> Oh yeah...  PowerPC has PPC_PTRACE_PEEKDATA_3264/PPC_PTRACE_POKEDATA_3264
> for that, but well, it's PowerPC specific.
>

Also x32 siginfo is different from 64bit signfo. X32 ptrace can't get 64bit
siginfo due to address fields in siginfo.

-- 
H.J.



More information about the Gdb-patches mailing list