public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "dajiang0055 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug rust/31082] rust-parse infers `0xffffffd00000009a` and other addresses as i128, preventing `as *mut _` coercions in `print`
Date: Fri, 01 Nov 2024 07:36:16 +0000 [thread overview]
Message-ID: <bug-31082-4717-mixSolKDp9@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31082-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=31082
dajiang0055 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dajiang0055 at gmail dot com
--- Comment #5 from dajiang0055 at gmail dot com ---
(In reply to Tom Tromey from comment #4)
> Fixed.
Hi, this fix will break mips target. For mips target, the address 0x80ffffac
will
sign extended to 0xffffffff80ffffac
see also https://sourceware.org/pipermail/binutils/2002-September/021970.html
Breakpoint 1, main () at gdb/testsuite/gdb.base/advance.c:43
43 c = 5;
(gdb) watch -l b
warning: value truncated
Hardware watchpoint 3: -location b
(gdb) p/x &b
$1 = 0x80ffffac
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2024-11-01 7:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-23 17:26 [Bug rust/31082] New: " tpzker at thepuzzlemaker dot info
2023-11-23 17:37 ` [Bug rust/31082] " tpzker at thepuzzlemaker dot info
2023-11-24 16:37 ` tromey at sourceware dot org
2023-11-24 16:56 ` tromey at sourceware dot org
2023-11-25 2:26 ` tromey at sourceware dot org
2023-12-08 15:39 ` cvs-commit at gcc dot gnu.org
2023-12-08 15:39 ` tromey at sourceware dot org
2024-11-01 7:36 ` dajiang0055 at gmail dot com [this message]
2024-11-01 23:34 ` tromey at sourceware dot org
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=bug-31082-4717-mixSolKDp9@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=gdb-prs@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).