From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11061 invoked by alias); 9 May 2008 16:50:50 -0000 Received: (qmail 11050 invoked by uid 22791); 9 May 2008 16:50:49 -0000 X-Spam-Check-By: sourceware.org Received: from de01egw01.freescale.net (HELO de01egw01.freescale.net) (192.88.165.102) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 16:50:32 +0000 Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by de01egw01.freescale.net (8.12.11/az33egw01) with ESMTP id m49GoSrS005130 for ; Fri, 9 May 2008 09:50:28 -0700 (MST) Received: from ld0159-tx32 (ld0159-tx32.am.freescale.net [10.82.19.109]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id m49GoRmx000136 for ; Fri, 9 May 2008 11:50:27 -0500 (CDT) Date: Fri, 09 May 2008 16:50:00 -0000 From: "Anmol P. Paralkar" To: gdb@sourceware.org Subject: Question on 'set tdesc filename '. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: 2008-05/txt/msg00077.txt.bz2 Hello, Is there actually a scenario when the user would ask that the target description be read from / (locally, host-side) rather then relying on the default behaviour to have GDB read the description from the target? What is the rationale for 'set tdesc filename '? I would imagine that since ultimately, the target (stub) defines the order in which it will send back the register values in response to a g-packet, the target description should /always/ come from the target side - as is the default behaviour. (So my understanding is that the XML descriptions provided in the GDB sources are purely as reference for bare-metal application writers to use in their remote-stub implementations). But, perhaps I am missing something here; please could somebody tell me? Thanks, Anmol.