From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mJ4-0001BE-VG for qemu-devel@nongnu.org; Wed, 29 Aug 2012 13:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6mJ4-0008NZ-4U for qemu-devel@nongnu.org; Wed, 29 Aug 2012 13:43:58 -0400 Received: from smtp6-g21.free.fr ([212.27.42.6]:53583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6mJ3-0008NS-HQ for qemu-devel@nongnu.org; Wed, 29 Aug 2012 13:43:58 -0400 Message-ID: <503E54D5.1070201@free.fr> Date: Wed, 29 Aug 2012 19:43:49 +0200 From: =?UTF-8?B?RnJhbsOnb2lzIFJldm9s?= MIME-Version: 1.0 References: <503DF6F9.8090007@free.fr> <8B4B40DA-1F9B-4B38-8D59-1A421B11B98E@suse.de> In-Reply-To: <8B4B40DA-1F9B-4B38-8D59-1A421B11B98E@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] [RFC] PPC: dump DCRs from monitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel Developers On 29/08/2012 16:53, Alexander Graf wrote: >=20 >=20 > On 29.08.2012, at 04:03, Fran=C3=A7ois Revol wrote: >=20 >> Hi, >> I noticed the DCRs weren't shown with the registers or another command= , >> and tried to add one to dump them to help debugging my sam460ex target= . >> This first version doesn't list the names since they aren't registered >> as such. >> I tried adding a name arg to ppc_dcr_register, and a #define to get it >> from the index, but it seems some code uses a loop to register them, s= o >> it gives a dump like: >> DCR[SDRAM0_CFGDATA 11] 00000000 >> DCR[dcr_base + i c0] 00000000 >> DCR[dcr_base + i c1] 00000000 >> Any suggestion? >> BTW, they aren't saved in state dumps, are they? >=20 > Are they accessible through the monitor's p command? Would be good to i= mplement there too if not. I don't think so, which syntax would you use anyway? $dcr[n] ? Fran=C3=A7ois.