From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16833 invoked by alias); 9 May 2008 16:59:08 -0000 Received: (qmail 16825 invoked by uid 22791); 9 May 2008 16:59:07 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 16:58:48 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 42E78983F2; Fri, 9 May 2008 16:58:46 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 26D07983F1; Fri, 9 May 2008 16:58:46 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JuVvh-0002Ii-8B; Fri, 09 May 2008 12:58:45 -0400 Date: Fri, 09 May 2008 16:59:00 -0000 From: Daniel Jacobowitz To: "Anmol P. Paralkar" Cc: gdb@sourceware.org Subject: Re: Question on 'set tdesc filename '. Message-ID: <20080509165845.GA8827@caradoc.them.org> Mail-Followup-To: "Anmol P. Paralkar" , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes 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/msg00078.txt.bz2 On Fri, May 09, 2008 at 11:50:27AM -0500, Anmol P. Paralkar wrote: > 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? Yes: if a deployed target does not support supplying the description automatically. One possible reason might be space constraints on the target system. Another might be that the target stub is simply old. It's also useful for testing. > 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). They are provided as reference, but also built-in to both GDB and gdbserver for internal use. -- Daniel Jacobowitz CodeSourcery