Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: "The Puzzlemaker" <tpzker@thepuzzlemaker.info>
Cc: gdb-patches@sourceware.org
Subject: Re: [FIXED] [PATCH 1/1] rust-parse: Infer some integer constants as u64
Date: Fri, 24 Nov 2023 20:41:17 -0700	[thread overview]
Message-ID: <87h6laxzxe.fsf@tromey.com> (raw)
In-Reply-To: <47-655f8d80-3-52811600@102229502> (The Puzzlemaker's message of "Thu, 23 Nov 2023 11:36:23 -0600")

>>>>> The Puzzlemaker <tpzker@thepuzzlemaker.info> writes:

> This is a bit hacky, I admit. This commit causes integers in the range
> `2^63-1 <= x <= 2^64 - 1` to be inferred as `u64` instead of as `i128`.
> This helps solve an issue where these integers would not be able to be
> used as addresses, helpful when e.g. debugging higher-half kernels.

Thanks for the patch.

I sent a different one for the same problem, that fixes it more
generically in value_cast.

> Sorry about the last email, my email client was not set up right for plaintext.
> See #31082, https://sourceware.org/bugzilla/show_bug.cgi?id=31082

> Let me know if there's anything I missed here.

If you stick "Bug: ... url of bug" as a git trailer, the eventual commit
will be mentioned in bugzilla.  We're trying to get this to happen for
patch submissions as well.

thanks,
Tom

      reply	other threads:[~2023-11-25  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23 17:36 The Puzzlemaker
2023-11-25  3:41 ` Tom Tromey [this message]

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=87h6laxzxe.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tpzker@thepuzzlemaker.info \
    /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