This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Cast to uintptr_t when calling ptrace32 on aix
- From: Tom Tromey <tromey at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: Yao Qi <yao at codesourcery dot com>, GDB Patches <gdb-patches at sourceware dot org>, Joel Brobecker <brobecker at adacore dot com>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Mon, 06 Jan 2014 09:48:41 -0700
- Subject: Re: [PATCH] Cast to uintptr_t when calling ptrace32 on aix
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnykbAX1aY+qeXT0GR6rBevK6ao2Us9nt4UmwUvtdzkbK1A at mail dot gmail dot com> <52CA02FE dot 6060804 at codesourcery dot com> <CAGWvny=aCO=myEqvYJV4LmyPArdzSBRZYc7RExS7Ga4uL-hx_A at mail dot gmail dot com>
>>>>> "David" == David Edelsohn <dje.gcc@gmail.com> writes:
David> I meant it would be nice to encapsulate this in one file instead of
David> defining ptrace32, ptrace64, ptracex, etc. multiple times in multiple
David> files. It appears that you are performing the same cast as Joel, so it
David> should be correct. It would be nice to use a consistent syntax. But it
David> would be even nicer to do this only once.
Yeah, I agree. IIRC we've run into this in another spot as well.
Tom