Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "The Westlakers" <westlakers@gmail.com>
To: "The Westlakers" <westlakers@gmail.com>, gdb@sourceware.org
Subject: Re: question about GDB message
Date: Tue, 25 Sep 2007 16:03:00 -0000	[thread overview]
Message-ID: <6b14b5b00709250857n5e89f833i5058e77cb7cb1534@mail.gmail.com> (raw)
In-Reply-To: <20070925123516.GA1733@caradoc.them.org>

On 9/25/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Tue, Sep 25, 2007 at 05:27:13AM -0700, The Westlakers wrote:
> > So I did this:
> >
> > ./configure --target=sparc64-elf, is this right? the resulting GDB
> > becomes 32-bit app
> > and it can talk to the target in 32-mode, but not 64-bit.
> >
> > Maybe you could help to make sure I configured it right.
>
> That's right.  It shouldn't matter that the GDB is 32-bit.  What goes
> wrong talking to a 64-bit target?

when GDB issues 'g' packet to the target, the target returns all reg
values in 64-bit,
but the GDB interprets it as 32-bit, so 'info reg' will not show
correct register values.
if the target returns in 32-bit values, then info reg can display all
values correctly.

do not know what is wrong.

thanks
>
> --
> Daniel Jacobowitz
> CodeSourcery
>


  reply	other threads:[~2007-09-25 15:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6b14b5b00709242126n5321100m2aad74fd7c7ea58d@mail.gmail.com>
2007-09-25 11:05 ` The Westlakers
2007-09-25 11:41   ` Daniel Jacobowitz
2007-09-25 11:48     ` The Westlakers
2007-09-25 12:27       ` Daniel Jacobowitz
2007-09-25 12:35         ` The Westlakers
2007-09-25 14:10           ` Daniel Jacobowitz
2007-09-25 16:03             ` The Westlakers [this message]
2007-09-25 16:31               ` Daniel Jacobowitz
2007-09-25 16:38                 ` The Westlakers
2007-09-25 16:45                   ` Daniel Jacobowitz
2007-09-25 16:54                     ` The Westlakers
2007-09-25 17:22                       ` Daniel Jacobowitz

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=6b14b5b00709250857n5e89f833i5058e77cb7cb1534@mail.gmail.com \
    --to=westlakers@gmail.com \
    --cc=gdb@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