This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Question on 'set tdesc filename <path>'.
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Anmol P. Paralkar" <b07584 at freescale dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 9 May 2008 12:58:45 -0400
- Subject: Re: Question on 'set tdesc filename <path>'.
- References: <Pine.LNX.4.64.0805091124340.22847@ld0159-tx32>
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 /<path> (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