[PATCH v4 05/10] Commonise tdesc types

Simon Marchi simon.marchi@ericsson.com
Fri Mar 23 20:12:00 GMT 2018


On 2018-03-22 04:44 AM, alan.hayward@arm.com wrote:
> From: Alan Hayward <alan.hayward@arm.com>
> 
> This patch moves all the various tdesc types to common code.
> 
> It also commonises all the tdesc_ functions that are stubbed
> out in gdbserver.
> 
> This is a lot of code to move across, but it is the simplest
> way of getting gdbserver to retain the target description
> information.
> 
> With this patch, gdb and gdbserver will now parse a target
> description in the same way.
> 
> Identical to V3 version.
> 
> Alan.

Just a nit, some functions in common/tdesc.c have the

  /* See common/tdesc.h.  */

comment, and some don't.

Simon



More information about the Gdb-patches mailing list