From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14971 invoked by alias); 24 Sep 2010 14:05:24 -0000 Received: (qmail 14963 invoked by uid 22791); 24 Sep 2010 14:05:23 -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 mtagate1.de.ibm.com (HELO mtagate1.de.ibm.com) (195.212.17.161) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Sep 2010 14:05:18 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.13.1/8.13.1) with ESMTP id o8OE5FYP002604 for ; Fri, 24 Sep 2010 14:05:15 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 o8OE5FXj4083936 for ; Fri, 24 Sep 2010 16:05:15 +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 o8OE5CU1026466 for ; Fri, 24 Sep 2010 16:05:15 +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 o8OE5BMx026432; Fri, 24 Sep 2010 16:05:11 +0200 Message-Id: <201009241405.o8OE5BMx026432@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 24 Sep 2010 16:05:11 +0200 Subject: Re: gdbserver 7.1 unable to read registers To: pedro@codesourcery.com (Pedro Alves) Date: Fri, 24 Sep 2010 14:05:00 -0000 From: "Ulrich Weigand" Cc: gdb@sourceware.org, will_wagner@carallon.com (William Wagner) In-Reply-To: <201009241436.00567.pedro@codesourcery.com> from "Pedro Alves" at Sep 24, 2010 02:36:00 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-09/txt/msg00132.txt.bz2 Pedro Alves wrote: > On Friday 24 September 2010 13:58:08, Ulrich Weigand wrote: > > > Usually, gdbserver will inform GDB via the remote protocol about the > > set of registers supported on the platform, and GDB is supposed to > > automatically take that information into account. > > > > However, this requires that GDB is built to include XML support to > > parse this configuration information; if the expat libraries were > > not available when you built GDB, the configure process might have > > decided to build GDB without XML support instead ... > > Can you try rebuilding with the --with-expat configure option? > > This will cause the build to fail if XML support is not available. > > Note that GDB issues a warning at connect time in that case: > > "Can not parse XML target description; XML support was disabled at compile time" 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 ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com