This is the mail archive of the gdb-prs@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]

[Bug gdb/20758] 32-bit gdb on 64-bit kernel


https://sourceware.org/bugzilla/show_bug.cgi?id=20758

--- Comment #2 from Baoshan <pangbw at gmail dot com> ---
What I saw is the kernel is not providing a 32-bit syscall, the call below got
an input/output error when regaddr is 4:
>> l = ptrace (PTRACE_PEEKUSER, tid, (PTRACE_TYPE_ARG3) regaddr, 0);

The same call would work if regaddr is 8 which is the result of sizeof(long)
when compiled in 64-bit mode.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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