From: Joel Brobecker via Gdb-patches <gdb-patches@sourceware.org>
To: Tom de Vries <tdevries@suse.de>
Cc: Tom Tromey <tom@tromey.com>,
gdb-patches@sourceware.org,
Joel Brobecker <brobecker@adacore.com>
Subject: Re: [PATCH][gdb/testsuite] Fix gdb.ada/literals.exp with aarch64
Date: Thu, 28 Jul 2022 09:28:24 -0700 [thread overview]
Message-ID: <YuK5KG0BLBRfIO7V@adacore.com> (raw)
In-Reply-To: <c8e37b4e-c8cd-94c4-cec3-931d937d563c@suse.de>
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
next prev parent reply other threads:[~2022-07-28 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 10:34 Tom de Vries via Gdb-patches
2022-07-27 13:31 ` Luis Machado via Gdb-patches
2022-07-27 17:06 ` Joel Brobecker via Gdb-patches
2022-07-27 21:03 ` Tom de Vries via Gdb-patches
2022-07-28 13:10 ` Joel Brobecker via Gdb-patches
2022-07-28 14:21 ` Tom de Vries via Gdb-patches
2022-07-28 16:28 ` Joel Brobecker via Gdb-patches [this message]
2022-07-29 22:24 ` Joel Brobecker via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YuK5KG0BLBRfIO7V@adacore.com \
--to=gdb-patches@sourceware.org \
--cc=brobecker@adacore.com \
--cc=tdevries@suse.de \
--cc=tom@tromey.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox