From: Jan Kiszka <jan.kiszka@web.de>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH] x86_64 debug registers for gdb
Date: Sat, 21 Apr 2007 00:15:53 +0200 [thread overview]
Message-ID: <46293B99.8000909@web.de> (raw)
In-Reply-To: <200704201355.14379.paul@codesourcery.com>
[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]
Paul Brook wrote:
> On Thursday 19 April 2007 22:30, Jan Kiszka wrote:
>> + registers[_GP_REGS+2] = env->segs[R_CS].selector;
>> + registers[_GP_REGS+3] = env->segs[R_SS].selector;
>> + registers[_GP_REGS+4] = env->segs[R_DS].selector;
>> + registers[_GP_REGS+5] = env->segs[R_ES].selector;
>> + registers[_GP_REGS+6] = env->segs[R_FS].selector;
>> + registers[_GP_REGS+7] = env->segs[R_GS].selector;
>>
>> + registers[_FPCTL_OFS] = env->fpuc;
>> + registers[_FPCTL_OFS+1] = fpus;
>> + registers[_FPCTL_OFS+2] = 0; /* XXX: convert tags */
>> + registers[_FPCTL_OFS+3] = 0; /* fiseg */
>> + registers[_FPCTL_OFS+4] = 0; /* fioff */
>> + registers[_FPCTL_OFS+5] = 0; /* foseg */
>> + registers[_FPCTL_OFS+6] = 0; /* fooff */
>> + registers[_FPCTL_OFS+7] = 0; /* fop */
>> + for (i = _FPCTL_OFS; i < _FPCTL_OFS+8; i++)
>> tswapls(®isters[i]);
>
> These are all wrong on x86-64.
>
Then what about pointing me to the correct information to fix this, hmm?
I browsed gdb code and docs but found no obvious packet format
description. Constructive help is welcome, likely I'm just blind.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2007-04-20 22:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 20:51 [Qemu-devel] [PATCH] x86_64 debug registers for gdb Jason Wessel
2007-04-18 20:53 ` [Qemu-devel] " Jan Kiszka
2007-04-19 15:11 ` Paul Brook
2007-04-19 21:30 ` Jan Kiszka
2007-04-20 12:55 ` Paul Brook
2007-04-20 22:15 ` Jan Kiszka [this message]
2007-04-20 23:13 ` Paul Brook
2007-04-21 17:45 ` Jan Kiszka
2007-04-23 9:13 ` Jan Kiszka
2007-04-23 15:47 ` Jan Kiszka
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=46293B99.8000909@web.de \
--to=jan.kiszka@web.de \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.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 NNTP newsgroup(s).