This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/4] ari, btrace: avoid unsigned long long
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 08 Jul 2015 14:40:37 +0100
- Subject: Re: [PATCH 3/4] ari, btrace: avoid unsigned long long
- Authentication-results: sourceware.org; auth=none
- References: <1436360074-8625-1-git-send-email-markus dot t dot metzger at intel dot com> <1436360074-8625-3-git-send-email-markus dot t dot metzger at intel dot com>
On 07/08/2015 01:54 PM, Markus Metzger wrote:
> Fix the ARI warning about the use of unsigned long long. We can't use ULONGEST
> as this is defined unsigned long on 32-bit systems.
Hmm, it is?
I'm looking at common/common-types.h and not seeing it.
> Use unsigned long to hold
> the buffer size inside GDB and __u64 when interfacing the kernel.
>
Thanks,
Pedro Alves