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

Re: New ARI warning Wed May 23 01:55:03 UTC 2012


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."


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