From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18533 invoked by alias); 7 Oct 2010 17:16:24 -0000 Received: (qmail 18520 invoked by uid 22791); 7 Oct 2010 17:16:22 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.17.165) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Oct 2010 17:16:15 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.1/8.13.1) with ESMTP id o97HGCHa005579 for ; Thu, 7 Oct 2010 17:16:12 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o97HGCL14071482 for ; Thu, 7 Oct 2010 19:16:12 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o97HGB3I009658 for ; Thu, 7 Oct 2010 19:16:12 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id o97HGANJ009653; Thu, 7 Oct 2010 19:16:10 +0200 Message-Id: <201010071716.o97HGANJ009653@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 07 Oct 2010 19:16:10 +0200 Subject: Re: gdbserver 7.1 unable to read registers To: pedro@codesourcery.com (Pedro Alves) Date: Thu, 07 Oct 2010 17:16:00 -0000 From: "Ulrich Weigand" Cc: gdb@sourceware.org, will_wagner@carallon.com (William Wagner) In-Reply-To: <201009241539.35561.pedro@codesourcery.com> from "Pedro Alves" at Sep 24, 2010 03:39:35 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00017.txt.bz2 Pedro Alves wrote: > On Friday 24 September 2010 15:05:11, Ulrich Weigand wrote: > > As we have more and more platforms where gdbserver simply will not work > > correctly without XML support, maybe we should make --with-expat the > > default mode at some point in time? Users would still be able to > > build with --without-expat if they really want to ... > > I guess. Most native targets don't need it though. OK, I see. > On the other hand, there's scope for improvement in those warnings. > It's not surprising that users don't know the consequences of not > being able to parse a "XML target description" are. Making > those clearer in terms of consequences would probably already go a long way > in avoiding surprises. Something along the lines of: > > "Can not parse XML target description; XML support was disabled at compile time. " > "GDB may not be able to read registers correctly." This would certainly be helpful. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com