From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [PATCH, V850] Add support for V850E2 and V850E2V3
Date: Mon, 13 Dec 2010 16:47:00 -0000 [thread overview]
Message-ID: <20101213094749.711396b0@mesquite.lan> (raw)
In-Reply-To: <371569CBCFB2E745B891DBB88B2DFDDD19E7B32E2D@KCINPUNHJCMS01.kpit.com>
Hi Rathish,
Thanks for making the changes that I requested.
Your changes to gdb/v850-tdep.c are approved.
I have one comment (see below) for the sim portion of the patch. The
rest of the patch looks reasonable to me. (It's unclear to me whether or
not I can approve sim patches...)
Kevin
On Fri, 10 Dec 2010 20:19:24 +0530
Rathish C <Rathish.C@kpitcummins.com> wrote:
> diff -upNr gdb-7.2.50-original/sim/v850/sim-main.h gdb-7.2.50-modified/sim/v850/sim-main.h
> --- gdb-7.2.50-original/sim/v850/sim-main.h 2002-11-30 23:31:30.000000000 +0530
> +++ gdb-7.2.50-modified/sim/v850/sim-main.h 2010-12-08 14:52:40.000000000 +0530
[...]
> @@ -61,6 +65,7 @@ struct sim_state {
> #define STATE_CPU(sd,n) (&(sd)->cpu[n])
> #else
> #define STATE_CPU(sd,n) (&(sd)->cpu[0])
> +#define CPU (STATE_CPU (sd, 0))
> #endif
Do you really need to define CPU here? It appears to me that a
suitable definition for CPU is placed in support.h by igen at build
time. If it turns out that you do need this definition, you should
make sure that the WITH_SMP case is handled too.
next prev parent reply other threads:[~2010-12-13 16:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-10 14:49 Rathish C
2010-12-13 16:47 ` Kevin Buettner [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-01-19 14:59 Rathish C
2012-03-22 20:26 ` Kevin Buettner
2012-03-28 10:49 ` Rathish C
2012-03-28 12:01 ` Kevin Buettner
2012-03-28 14:45 ` Joel Brobecker
2012-03-29 1:07 ` Kevin Buettner
2012-03-29 1:06 ` Kevin Buettner
2011-01-12 13:25 Rathish C
2011-01-15 7:39 ` Kevin Buettner
2010-09-21 19:55 Rathish C
2010-09-21 22:49 ` Kevin Buettner
2010-09-21 22:49 ` Kevin Buettner
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=20101213094749.711396b0@mesquite.lan \
--to=kevinb@redhat.com \
--cc=gdb-patches@sourceware.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