From: Michael Trimarchi <trimarchi@gandalf.sssup.it>
To: linux-sh@vger.kernel.org
Subject: Re: gdbserver on sh4
Date: Tue, 31 Mar 2009 08:23:18 +0000 [thread overview]
Message-ID: <49D1D2F6.1000206@gandalf.sssup.it> (raw)
Hi,
binom wrote:
> Dear michael ,
> In your reply message it's written that "I fix this problem".
> Can you pl explain what was the problem and and which is the components to
> be updated for incorporating this fix?
> Below given is the details of the host side GDB and target side gdbserver.
> sh4-linux-gdb --version
> GNU gdb STMicroelectronics/Linux Base 6.5-33 [build Jul 30 2008]
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu --target=sh4-linux".
>
The problem is kernel side and not gdb side. I send a patch to the linux-sh
mailing list. They save the dsp register on the stack before the
processor cpu register
but the offset of the struct is wrong calculated and if the linux kernel
is compiled
with the dsp option the PEEKUSR return the wrong register value.
Michael
next reply other threads:[~2009-03-31 8:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 8:23 Michael Trimarchi [this message]
2009-03-31 8:52 ` gdbserver on sh4 Paul Mundt
2009-03-31 9:02 ` Michael Trimarchi
2009-03-31 9:03 ` Paul Mundt
2009-03-31 9:08 ` Michael Trimarchi
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=49D1D2F6.1000206@gandalf.sssup.it \
--to=trimarchi@gandalf.sssup.it \
--cc=linux-sh@vger.kernel.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