This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on 'set tdesc filename <path>'.


On Fri, May 09, 2008 at 12:18:21PM -0500, Anmol P. Paralkar wrote:
>  Oh, OK. So in these cases, the register ordering in the description
>  had better match-up what the remote-stub (implements and) sends - I
>  mean, since in the case where the remote side sends the
>  description, this is automatically ensured as GDB parses in the
>  XML.  I follow why the command is needed, thanks.

Right.

>> They are provided as reference, but also built-in to both GDB and
>> gdbserver for internal use.
>
>  So, in the case of PowerPC, the [pu]trace interface would only provide the standard 71
>  registers; what if we want to contribute back a description that defines more than those?
>  Is it OK for a description to have more than what the [pu]trace interface provides, since
>  you say that this gets built-in to GDB & gdbserver?

Specific descriptions are built in when GDB or gdbserver needs them.
Not every description is.  If you have new components to describe,
they won't go in the same descriptions that gdbserver is currently using.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]