From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9tf-0007Kz-Gl for qemu-devel@nongnu.org; Mon, 06 Oct 2014 11:08:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb9tZ-00073m-D6 for qemu-devel@nongnu.org; Mon, 06 Oct 2014 11:08:23 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:56219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb9tZ-00072d-4v for qemu-devel@nongnu.org; Mon, 06 Oct 2014 11:08:17 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 6 Oct 2014 16:08:15 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 6871A17D8067 for ; Mon, 6 Oct 2014 16:10:25 +0100 (BST) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s96F8CZS55050488 for ; Mon, 6 Oct 2014 15:08:12 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s96F8Bpi006423 for ; Mon, 6 Oct 2014 09:08:12 -0600 Date: Mon, 6 Oct 2014 17:08:07 +0200 From: Cornelia Huck Message-ID: <20141006170807.4f48fcf8.cornelia.huck@de.ibm.com> In-Reply-To: <1412090627-18709-2-git-send-email-jfrei@linux.vnet.ibm.com> References: <1412090627-18709-1-git-send-email-jfrei@linux.vnet.ibm.com> <1412090627-18709-2-git-send-email-jfrei@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] gdb: provide the name of the architecture in the target.xml List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jens Freimann Cc: Peter Maydell , Christian Borntraeger , Alexander Graf , qemu-devel@nongnu.org, David Hildenbrand , "Vassili Karpov (malc)" , Edgar Iglesias , Richard Henderson On Tue, 30 Sep 2014 17:23:47 +0200 Jens Freimann wrote: > From: David Hildenbrand >=20 > This patch provides the name of the architecture in the target.xml if ava= ilable. >=20 > This allows the remote gdb to detect the target architecture on its own -= so > there is no need to specify it manually (e.g. if gdb is started without a > binary) using "set arch *arch_name*". >=20 > The name of the architecture has been added to all archs that provide a > target.xml (by supplying a gdb_core_xml_file) and have a unique architect= ure > name in gdb's feature xml files. >=20 > Signed-off-by: David Hildenbrand > Acked-by: Cornelia Huck > Acked-by: Christian Borntraeger > Signed-off-by: Jens Freimann > Reviewed-by: Andreas F=C3=A4rber > Cc: Andrzej Zaborowski > Cc: Peter Maydell > Cc: Vassili Karpov (malc) > CC: Edgar Iglesias > CC: Richard Henderson > --- > gdbstub.c | 19 ++++++++++++------- > include/qom/cpu.h | 2 ++ > target-arm/cpu64.c | 1 + > target-ppc/translate_init.c | 2 ++ > target-s390x/cpu.c | 1 + > 5 files changed, 18 insertions(+), 7 deletions(-) >=20 I will send this with the next pile of s390x updates, unless someone on cc: has any objections.