This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20758] 32-bit gdb on 64-bit kernel
- From: "pangbw at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 01 Nov 2016 21:33:48 +0000
- Subject: [Bug gdb/20758] 32-bit gdb on 64-bit kernel
- Auto-submitted: auto-generated
- References: <bug-20758-4717@http.sourceware.org/bugzilla/>
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.