From: "Jan Hoogerbrugge" <hoogerbrugge@hotmail.com>
To: ac131313@redhat.com
Cc: gdb@sources.redhat.com
Subject: Re: Endianness and remote debugging
Date: Tue, 22 Apr 2003 10:51:00 -0000 [thread overview]
Message-ID: <Law9-F103M9Y17VVZxM0000a316@hotmail.com> (raw)
>>My target runs in little endian and my host in big endian. On the line
>>between the stub and gdb I see that data is communicated in little endian.
>>That seems to work fine. However, queries dealing with thread stuff seem
>>to assume big endian. For example, I see the mode field of the P query in
>>big endian. Is this a bug or am I missing something?
>
>You mean the P (write register) packet? According to the documentation
>(http://sources.redhat.com/gdb/, follow documentation), the register value
>is in target byte order.
The problem has been solved after that I discovered that register values are
sent in target order while other values are sent in big endian order.
BWT, I was refering to the 'qPmodethreadid' query of section D.4.
Thanks,
Jan
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
next reply other threads:[~2003-04-22 10:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-22 10:51 Jan Hoogerbrugge [this message]
2003-04-22 17:06 ` Andrew Cagney
-- strict thread matches above, loose matches on Subject: below --
2003-04-17 14:42 Jan Hoogerbrugge
2003-04-21 14:05 ` Andrew Cagney
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=Law9-F103M9Y17VVZxM0000a316@hotmail.com \
--to=hoogerbrugge@hotmail.com \
--cc=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
/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).