[PATCH][gdb/testsuite] Fix gdb.ada/literals.exp with aarch64

Joel Brobecker brobecker@adacore.com
Thu Jul 28 16:28:24 GMT 2022


Hi Tom,

> > We're really outside of the Ada language. Would you mind checking
> > what the C language does? I think it would make sense to do the same,
> > here. E.g., on x86_64-linux, I get:
> > 
> >      (gdb) p 0xffffffffffffffff
> >      $1 = 18446744073709551615
> 
> Ack, that's what the C language does.
> 
> This patch changes gdb to print 18446744073709551615 for ada as well.
> 
> So, pick your favorite patch ;)

:-) Thanks! Let us evaluate this patch within AdaCore, just to double-
check I haven't missed anything. We'll get back to you on it.

-- 
Joel


More information about the Gdb-patches mailing list