This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]