From: Stafford Horne <shorne@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org, franck.jullien@gmail.com,
openrisc@lists.librecores.org
Subject: Re: [PATCH v5 1/4] gdb: Add OpenRISC or1k and or1knd target support
Date: Fri, 17 Mar 2017 10:03:00 -0000 [thread overview]
Message-ID: <20170317100337.GP2418@lianli.shorne-pla.net> (raw)
In-Reply-To: <83fuicz1nk.fsf@gnu.org>
On Fri, Mar 17, 2017 at 11:35:27AM +0200, Eli Zaretskii wrote:
> > Date: Fri, 17 Mar 2017 18:32:47 +0900
> > From: Stafford Horne <shorne@gmail.com>
> > Cc: gdb-patches@sourceware.org, franck.jullien@gmail.com,
> > openrisc@lists.librecores.org
> >
> > > > +The OpenRISC 1000 architecture has evolved since the first port for
> > > > +@value{GDBN}. In particular the structure of the Unit Present register has
> > > > +changed and the CPU Configuration register has been added. The port of
> > > > +@value{GDBN} version @value{GDBVN} uses the @emph{current}
> > > > +specification of the OpenRISC 1000.
> > >
> > > I'm not sure what this text conveys. Can you tell why it is important
> > > to have this information in the manual? I might then suggest a change
> > > in wording.
> >
> > Its saying that if you are using an old version of the CPU it might not
> > run as expected with this version of GDB. Ill change to explain that
> > without talking about previous ports of GDB.
> >
> > Something like:
> >
> > Earlier version of the OpenRISC architecture did not include the UPR
> > (unit present) or CPUCFGR (CPU configuration) registers. This version
> > of @value{GDBN} expects these to be present.
>
> That's okay, but we should also tell the reader what to do if the
> expected registers are not present. Is there anything they could do
> except upgrade to a newer version of OpenRISC?
Actually, sorry, I was going off the text above. When I checked the
code it seems I removed the code that depended on these registers after
earlier reviews.
The XML target description includes all of these registers and more. I
may either remove this or change to explain about the target description
architecture dependency. But the target description is not a hard
dependency.
Thanks for the quick feedback.
-Stafford
next prev parent reply other threads:[~2017-03-17 10:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 5:43 [PATCH v5 0/4] OpenRISC gdb port Stafford Horne
2017-03-17 5:43 ` [PATCH v5 4/4] Add gdb for or1k build Stafford Horne
2017-04-04 21:32 ` Yao Qi
2017-03-17 5:43 ` [PATCH v5 3/4] gdb: testsuite: Add or1k l.nop inscruction Stafford Horne
2017-04-04 21:30 ` Yao Qi
2017-03-17 5:43 ` [PATCH v5 1/4] gdb: Add OpenRISC or1k and or1knd target support Stafford Horne
2017-03-17 8:49 ` Eli Zaretskii
2017-03-17 9:32 ` Stafford Horne
2017-03-17 9:36 ` Eli Zaretskii
2017-03-17 10:03 ` Stafford Horne [this message]
2017-04-04 21:17 ` Yao Qi
2017-04-08 9:36 ` Stafford Horne
2017-03-17 5:44 ` [PATCH v5 2/4] gdb: provide openrisc target description XML files Stafford Horne
2017-04-04 21:25 ` Yao Qi
2017-04-08 9:38 ` Stafford Horne
2017-03-21 9:14 ` [PATCH v5 0/4] OpenRISC gdb port Yao Qi
2017-03-21 14:17 ` Stafford Horne
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=20170317100337.GP2418@lianli.shorne-pla.net \
--to=shorne@gmail.com \
--cc=eliz@gnu.org \
--cc=franck.jullien@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=openrisc@lists.librecores.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