From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A09FF3858D20; Sun, 31 Dec 2023 16:26:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A09FF3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704040009; bh=hgukCj3eGFO6C4PZwlAnm/z5Nq0QrbEkgCiEvoMBomg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gFmunWy1VsnkiNS/HVz7pCWAV768ARYOVgUyd5YrOjuNPCOdn8GxybKT0Su/0MWSf ShTsg6ocCBg4G3lkrMIz+P6kSY1J5oVs6t8WhGIrndgXaEHSX4hBRfYouExg1RZESO f1C3hLS+TQAG+4oTxeG2FiNaSAX/SPKfANlCwH7U= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/15684] info mem command for 32 bits host/64 bits target truncates addresses Date: Sun, 31 Dec 2023 16:26:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.9 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc target_milestone bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D15684 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |ssbssa at sourceware dot o= rg Target Milestone|--- |7.9 Status|NEW |RESOLVED --- Comment #2 from Hannes Domani --- (In reply to Sourceware Commits from comment #1) > This is an automated email from the git hooks/post-receive script. It was > generated because a ref change was pushed to the repository containing > the project "gdb and binutils". >=20 > The branch, master has been updated > via aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c (commit) > from 184d64776bc16fcba7b00e5784e27f52854cc8dd (commit) >=20 > Those revisions listed above that are new to this repository have > not appeared on any other notification email; so we list those > revisions in full, below. >=20 > - Log ----------------------------------------------------------------- > https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git; > h=3Daacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c >=20 > commit aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c > Author: Catalin Udma > Date: Mon Dec 15 16:41:29 2014 +0200 >=20 > Fix info mem command for 32 bits host/64 bits target >=20=20=20=20=20 > When running gdb on 32 bits host for 64 bits target, info mem command > truncates the target address to 32 bits, like in the example below > (gdb) set architecture powerpc:common64 > (gdb) mem 0x100000000 0x200000000 rw > (gdb) info mem > 1 y 0x0000000000000000 0x0000000000000000 rw nocache >=20=20=20=20=20 > gdb/ChangeLog: >=20=20=20=20=20 > PR gdb/15684 > * memattr.c (mem_info_command): Remove "unsigned long" casts. >=20=20=20=20=20 > Signed-off-by: Catalin Udma >=20 > ----------------------------------------------------------------------- >=20 > Summary of changes: > gdb/ChangeLog | 5 +++++ > gdb/memattr.c | 8 ++++---- > 2 files changed, 9 insertions(+), 4 deletions(-) Was fixed with this commit. --=20 You are receiving this mail because: You are on the CC list for the bug.=