public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15684] New: info mem command for 32 bits host/64 bits target truncates addresses
@ 2013-06-26 16:39 ktlnu at yahoo dot com
  2014-12-15 14:52 ` [Bug gdb/15684] " cvs-commit at gcc dot gnu.org
  2023-12-31 16:26 ` ssbssa at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ktlnu at yahoo dot com @ 2013-06-26 16:39 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15684

            Bug ID: 15684
           Summary: info mem command for 32 bits host/64 bits target
                    truncates addresses
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: ktlnu at yahoo dot com

When running gdb on 32 bits host for 64 bits target architecture, “info mem”
command truncates the target address to 32 bits, like in the example below:

    (gdb) set architecture powerpc:common64
    The target architecture is assumed to be powerpc:common64
    (gdb) mem 0x100000000 0x200000000 rw
    (gdb) info mem
    Using user-defined memory regions.
    Num Enb Low Addr           High Addr          Attrs
    1   y   0x0000000000000000 0x0000000000000000 rw nocache

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-13910-listarch-gdb-prs=sources.redhat.com@sourceware.org Wed Jun 26 16:41:23 2013
Return-Path: <gdb-prs-return-13910-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 1620 invoked by alias); 26 Jun 2013 16:41:23 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 1598 invoked by uid 48); 26 Jun 2013 16:41:23 -0000
From: "ktlnu at yahoo dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/15684] info mem command for 32 bits host/64 bits target
 truncates addresses
Date: Wed, 26 Jun 2013 16:41:00 -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: ktlnu at yahoo dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-15684-4717-UhDFbH3ncT@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15684-4717@http.sourceware.org/bugzilla/>
References: <bug-15684-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00499.txt.bz2
Content-length: 375

http://sourceware.org/bugzilla/show_bug.cgi?id\x15684

CU <ktlnu at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktlnu at yahoo dot com

--
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/15684] info mem command for 32 bits host/64 bits target truncates addresses
  2013-06-26 16:39 [Bug gdb/15684] New: info mem command for 32 bits host/64 bits target truncates addresses ktlnu at yahoo dot com
@ 2014-12-15 14:52 ` cvs-commit at gcc dot gnu.org
  2023-12-31 16:26 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-12-15 14:52 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15684

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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".

The branch, master has been updated
       via  aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c (commit)
      from  184d64776bc16fcba7b00e5784e27f52854cc8dd (commit)

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.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c

commit aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c
Author: Catalin Udma <catalin.udma@freescale.com>
Date:   Mon Dec 15 16:41:29 2014 +0200

    Fix info mem command for 32 bits host/64 bits target

    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

    gdb/ChangeLog:

            PR gdb/15684
            * memattr.c (mem_info_command): Remove "unsigned long" casts.

    Signed-off-by: Catalin Udma <catalin.udma@freescale.com>

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog |    5 +++++
 gdb/memattr.c |    8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/15684] info mem command for 32 bits host/64 bits target truncates addresses
  2013-06-26 16:39 [Bug gdb/15684] New: info mem command for 32 bits host/64 bits target truncates addresses ktlnu at yahoo dot com
  2014-12-15 14:52 ` [Bug gdb/15684] " cvs-commit at gcc dot gnu.org
@ 2023-12-31 16:26 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-31 16:26 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15684

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |ssbssa at sourceware dot org
   Target Milestone|---                         |7.9
             Status|NEW                         |RESOLVED

--- Comment #2 from Hannes Domani <ssbssa at sourceware dot org> ---
(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".
> 
> The branch, master has been updated
>        via  aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c (commit)
>       from  184d64776bc16fcba7b00e5784e27f52854cc8dd (commit)
> 
> 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.
> 
> - Log -----------------------------------------------------------------
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c
> 
> commit aacd3e8c4f5ac00f1ee41c082c2f10eb7457d04c
> Author: Catalin Udma <catalin.udma@freescale.com>
> Date:   Mon Dec 15 16:41:29 2014 +0200
> 
>     Fix info mem command for 32 bits host/64 bits target
>     
>     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
>     
>     gdb/ChangeLog:
>     
>             PR gdb/15684
>             * memattr.c (mem_info_command): Remove "unsigned long" casts.
>     
>     Signed-off-by: Catalin Udma <catalin.udma@freescale.com>
> 
> -----------------------------------------------------------------------
> 
> Summary of changes:
>  gdb/ChangeLog |    5 +++++
>  gdb/memattr.c |    8 ++++----
>  2 files changed, 9 insertions(+), 4 deletions(-)

Was fixed with this commit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-31 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 16:39 [Bug gdb/15684] New: info mem command for 32 bits host/64 bits target truncates addresses ktlnu at yahoo dot com
2014-12-15 14:52 ` [Bug gdb/15684] " cvs-commit at gcc dot gnu.org
2023-12-31 16:26 ` ssbssa at sourceware dot org

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).