This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed May 23 01:55:03 UTC 2012
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 23 May 2012 09:10:06 +0200
- Subject: Re: New ARI warning Wed May 23 01:55:03 UTC 2012
- References: <20120523015503.GA25312@sourceware.org> <m3r4ubo7j0.fsf@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com> writes:
> @@ -311,9 +311,9 @@ int dwarf_block_to_sp_offset (struct gdbarch *gdbarch, const gdb_byte *buf,
>
> static inline const gdb_byte *
> gdb_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end,
> - unsigned long long *r)
> + ULONGEST *r)
> {
> - size_t bytes_read = read_uleb128_to_ull (buf, buf_end, r);
> + size_t bytes_read = read_uleb128_to_ull (buf, buf_end, (unsigned long long *) r);
That cannot work.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."