This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Bug 20936 - provide sparc and sparcv9 target description XML files
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Ivo Raisr <ivo dot raisr at oracle dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 9 Jan 2017 17:35:15 +0000
- Subject: Re: [PATCH] Bug 20936 - provide sparc and sparcv9 target description XML files
- Authentication-results: sourceware.org; auth=none
- References: <46200a1e-29f7-8e20-c0b5-3f6f25c82d45@oracle.com> <20161206152616.GC28789@E107787-LIN> <af1a22bb-15c5-4963-8371-4eb5d22378db@oracle.com> <83d4c58d-0834-4fc2-6194-72408510aa8a@oracle.com> <20161212125331.GB25542@E107787-LIN> <082f9ac8-3e46-42cd-198d-91866d83ebb8@oracle.com> <20170105143109.GA21293@E107787-LIN> <e6065f2e-f76d-0190-dc34-d04da1a33e84@oracle.com>
On 17-01-06 16:12:09, Ivo Raisr wrote:
>
> I think I see the line now as well. Please find patch #1 together
> with a ChangeLog entry.
> The patch was successfully built and tested on Solaris sparc.
> After you find it ok, I will prepare patch #2.
> I.
> ChangeLog entry:
> 2017-01-06 Ivo Raisr <ivo.raisr@oracle.com>
>
> Split real and pseudo registers in preparation for registers provided
> by a target. Registers provided by target description can have more real
> registers and pseudo registers need to be positioned after them.
We don't document "changes" in this way. If you think it is important
to mention them, put them in the commit log.
> @@ -57,6 +63,12 @@ struct gdbarch_tdep
> int pc_regnum;
> int npc_regnum;
>
> + /* Register names specific for architecture (sparc32 vs. sparc64) */
> + const char **fpu_register_names;
> + size_t fpu_registers_num;
> + const char **cp0_register_names;
> + size_t cp0_registers_num;
> +
These four fields are added, but not used at all, so could you move
them to patch #2?
--
Yao (齐尧)